@Test public void spotTake5ReaderIsLoaded() { final Iterator iterator = ProductIOPlugInManager.getInstance().getReaderPlugIns(RapidEyeConstants.L1_FORMAT_NAMES[0]); final ProductReaderPlugIn plugIn = (ProductReaderPlugIn) iterator.next(); assertEquals(RapidEyeL1ReaderPlugin.class, plugIn.getClass()); }
@Override protected void createElevationFile( final ElevationFile[][] elevationFiles, final int x, final int y, final File demInstallDir) { final int minLon = x * DEGREE_RES - 180; final int minLat = y * DEGREE_RES - 60; final String fileName = createTileFilename(minLat, minLon); final File localFile = new File(demInstallDir, fileName); elevationFiles[x][NUM_Y_TILES - 1 - y] = new SRTM1HgtFile(this, localFile, productReaderPlugIn.createReaderInstance()); }