ModisTiePointGeoCoding extends AbstractGeoCoding { static boolean isHighResolution(int sceneHeight, int tpRasterHeight) { return sceneHeight / tpRasterHeight == 2; } ModisTiePointGeoCoding(TiePointGrid latGrid, TiePointGrid lonGrid);  ModisTiePointGeoCoding(TiePointGrid latGrid, TiePointGrid lonGrid, final Datum datum); 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);  }
@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)); }