test_class.file: vortex-api/src/test/java/mil/army/usace/hec/vortex/geo/ZonalStatisticsCalculatorTest.java
test_class.identifier: ZonalStatisticsCalculatorTest
test_case.body: @Test
      void CreateGridCellsCreatesGridCells(){
          double x = -180;
          double y = 90;
          double dx = 0.5;
          double dy = -0.5;
          int nx = 3;
          int ny = 3;
          List<GridCell> gridCells = Grid.builder()
                  .originX(x)
                  .originY(y)
                  .dx(dx)
                  .dy(dy)
                  .nx(nx)
                  .ny(ny)
                  .build()
                  .getGridCells();
  
          Point2D point = new Point2D.Double(-179.75, 89.75);
          GridCell gridCell = gridCells.get(0);
          boolean isContained = gridCell.contains(point);
          assertTrue(isContained);
          assertEquals(9, gridCells.size());
      }
test_case.class_method_signature: ZonalStatisticsCalculatorTest.CreateGridCellsCreatesGridCells()
test_case.full_signature: @Test void CreateGridCellsCreatesGridCells()
test_case.identifier: CreateGridCellsCreatesGridCells
test_case.invocations: getGridCells build ny nx dy dx originY originX builder get contains assertTrue assertEquals size
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void CreateGridCellsCreatesGridCells()
focal_class.declarator: grid
focal_class.modifier: private
focal_class.original_string: private VortexGrid grid;
focal_class.type: VortexGrid
focal_class.var_name: grid
focal_class.declarator: zoneMasks
focal_class.modifier: private
focal_class.original_string: private Map<String, Integer[]> zoneMasks;
focal_class.type: Map<String, Integer[]>
focal_class.var_name: zoneMasks
focal_class.file: vortex-api/src/main/java/mil/army/usace/hec/vortex/geo/ZonalStatisticsCalculator.java
focal_class.identifier: ZonalStatisticsCalculator
focal_class.class_method_signature: ZonalStatisticsCalculator.ZonalStatisticsCalculator(ZonalStatisticsCalculatorBuilder builder)
focal_class.full_signature: private  ZonalStatisticsCalculator(ZonalStatisticsCalculatorBuilder builder)
focal_class.identifier: ZonalStatisticsCalculator
focal_class.modifiers: private
focal_class.parameters: (ZonalStatisticsCalculatorBuilder builder)
focal_class.signature:  ZonalStatisticsCalculator(ZonalStatisticsCalculatorBuilder builder)
focal_class.class_method_signature: ZonalStatisticsCalculator.builder()
focal_class.full_signature: public static ZonalStatisticsCalculatorBuilder builder()
focal_class.identifier: builder
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: ZonalStatisticsCalculatorBuilder
focal_class.signature: ZonalStatisticsCalculatorBuilder builder()
focal_class.class_method_signature: ZonalStatisticsCalculator.getZonalStatistics()
focal_class.full_signature: public List<ZonalStatistics> getZonalStatistics()
focal_class.identifier: getZonalStatistics
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<ZonalStatistics>
focal_class.signature: List<ZonalStatistics> getZonalStatistics()
focal_class.class_method_signature: ZonalStatisticsCalculator.createZoneMasks(Path pathToZoneDataset, String field, VortexGrid grid)
focal_class.full_signature: public static Map<String, Integer[]> createZoneMasks(Path pathToZoneDataset, String field, VortexGrid grid)
focal_class.identifier: createZoneMasks
focal_class.modifiers: public static
focal_class.parameters: (Path pathToZoneDataset, String field, VortexGrid grid)
focal_class.return: Map<String, Integer[]>
focal_class.signature: Map<String, Integer[]> createZoneMasks(Path pathToZoneDataset, String field, VortexGrid grid)
focal_class.class_method_signature: ZonalStatisticsCalculator.computeZonalStatistics(String id, Integer[] mask, float[] data)
focal_class.full_signature: private ZonalStatistics computeZonalStatistics(String id, Integer[] mask, float[] data)
focal_class.identifier: computeZonalStatistics
focal_class.modifiers: private
focal_class.parameters: (String id, Integer[] mask, float[] data)
focal_class.return: ZonalStatistics
focal_class.signature: ZonalStatistics computeZonalStatistics(String id, Integer[] mask, float[] data)
focal_method.body: public static ZonalStatisticsCalculatorBuilder builder(){ return new ZonalStatisticsCalculatorBuilder(); }
focal_method.class_method_signature: ZonalStatisticsCalculator.builder()
focal_method.full_signature: public static ZonalStatisticsCalculatorBuilder builder()
focal_method.identifier: builder
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: ZonalStatisticsCalculatorBuilder
focal_method.signature: ZonalStatisticsCalculatorBuilder builder()