Issue #1356 add javadoc to subgrid changes.

Former-commit-id: 618c8a0accbfde0e95d47b76659f3804b32a7652
This commit is contained in:
Ben Steffensmeier 2012-12-11 17:40:28 -06:00
parent 9f9c32fc4e
commit 6da5ac2873

View file

@ -390,6 +390,17 @@ public class GribSpatialCache {
}
}
/**
* Final step of subgrid generation, based off the two Coordinates generate
* a subgrid coverage, insert it into the db and add it to caches.
*
* @param modelName
* @param coverage
* @param lowerLeft
* @param upperRight
* @return true on success, false if something went wrong, so no subgrid is
* available. This method will log errors and return false
*/
private boolean trim(String modelName, GridCoverage coverage,
Coordinate lowerLeft, Coordinate upperRight) {
SubGrid subGrid = new SubGrid();