Omaha #5217 - Fixed column values to be full hrap columns rather than relative to the subgrid.

(cherry picked from commit 06d906370f484bb470fb6012e47752cfe5ba36b5 [formerly 84b98033630ce6ac446ef637f4d6001065f07916])


Former-commit-id: d79abd1be1b8dd8e7faadac8971dd41db4ad9e26
This commit is contained in:
Mike Duff 2016-03-08 11:21:22 -06:00 committed by Shawn.Hooper
parent 3f017c0d58
commit 6e2fb75837

View file

@ -39,6 +39,8 @@ import com.vividsolutions.jts.geom.Polygon;
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* Dec 18, 2015 5217 mpduff Initial creation
* Mar 08, 2016 5217 mpduff Fixed column values to be full hrap columns rather
* than relative to the subgrid.
*
* </pre>
*
@ -132,6 +134,9 @@ public class HydroGeoProcessor {
}
if (startCol != -1) {
// Make the columns be full HRAP columns, not subgrid columns
startCol += minCol;
endCol += minCol;
binList.addData(rowNum, startCol, endCol);
binList.setNumBins(binCtr);
binList.setNumRows(rowCtr);