@Test public void testIfModisProductIsHighResolutionProduct() { Assert.assertTrue(ModisTiePointGeoCoding.isHighResolution(120, 60)); Assert.assertTrue(ModisTiePointGeoCoding.isHighResolution(3072, 1536)); Assert.assertFalse(ModisTiePointGeoCoding.isHighResolution(120, 24)); Assert.assertFalse(ModisTiePointGeoCoding.isHighResolution(2072, 208)); }
static boolean isHighResolution(int sceneHeight, int tpGridHeight) { return sceneHeight / tpGridHeight == 2; }
ModisTiePointGeoCoding extends AbstractGeoCoding { static boolean isHighResolution(int sceneHeight, int tpGridHeight) { return sceneHeight / tpGridHeight == 2; } }
ModisTiePointGeoCoding extends AbstractGeoCoding { static boolean isHighResolution(int sceneHeight, int tpGridHeight) { return sceneHeight / tpGridHeight == 2; } ModisTiePointGeoCoding(TiePointGrid latGrid, TiePointGrid lonGrid); }
ModisTiePointGeoCoding extends AbstractGeoCoding { static boolean isHighResolution(int sceneHeight, int tpGridHeight) { return sceneHeight / tpGridHeight == 2; } ModisTiePointGeoCoding(TiePointGrid latGrid, TiePointGrid lonGrid); boolean canGetPixelPos(); boolean canGetGeoPos(); PixelPos getPixelPos(GeoPos geoPos, PixelPos pixelPos); GeoPos getGeoPos(PixelPos pixelPos, GeoPos geoPos); Datum getDatum(); @Override boolean equals(Object o); @Override int hashCode(); @Override void dispose(); boolean isCrossingMeridianAt180(); @Override boolean transferGeoCoding(final Scene srcScene, final Scene destScene, final ProductSubsetDef subsetDef); }
ModisTiePointGeoCoding extends AbstractGeoCoding { static boolean isHighResolution(int sceneHeight, int tpGridHeight) { return sceneHeight / tpGridHeight == 2; } ModisTiePointGeoCoding(TiePointGrid latGrid, TiePointGrid lonGrid); boolean canGetPixelPos(); boolean canGetGeoPos(); PixelPos getPixelPos(GeoPos geoPos, PixelPos pixelPos); GeoPos getGeoPos(PixelPos pixelPos, GeoPos geoPos); Datum getDatum(); @Override boolean equals(Object o); @Override int hashCode(); @Override void dispose(); boolean isCrossingMeridianAt180(); @Override boolean transferGeoCoding(final Scene srcScene, final Scene destScene, final ProductSubsetDef subsetDef);  }