GCTileFile { static GeoPos createGeoPos(String lonString, String latString) { float lon = dgmToDec(lonString); float lat = dgmToDec(latString); return new GeoPos(lat, lon); } GCTileFile(File ncfile); String getFilePath(); int getWidth(); int getHeight(); ProductData.UTC getStartDate(); ProductData.UTC getEndDate(); GeoPos getUpperLeftCorner(); Array readData(String variableName,
                          int offsetX, int offsetY,
                          int width, int height,
                          int stepX, int stepY); List<BandDescriptor> getBandDescriptorList(); boolean isAnnualFile(); void readMetadata(MetadataElement metadataRoot); @Override String toString(); void close();  }
@Test public void testCreateGeoPos() { GeoPos geoPos; geoPos = GCTileFile.createGeoPos("012034059.567", "50012019.00000"); assertEquals(12.583213, geoPos.getLon(), 1.0e-6); assertEquals(50.205280, geoPos.getLat(), 1.0e-6); geoPos = GCTileFile.createGeoPos("1005000.0", "0059059.99900"); assertEquals(1.083333, geoPos.getLon(), 1.0e-6); assertEquals(0.999999, geoPos.getLat(), 1.0e-6); geoPos = GCTileFile.createGeoPos("5.00000", "2007.00000"); assertEquals(0.001389, geoPos.getLon(), 1.0e-6); assertEquals(0.035278, geoPos.getLat(), 1.0e-6); geoPos = GCTileFile.createGeoPos("012034059.567", "-50012019.00000"); assertEquals(12.583213, geoPos.getLon(), 1.0e-6); assertEquals(-50.205280, geoPos.getLat(), 1.0e-6); }