public Alos2GeoTiffProductReader(ProductReaderPlugIn readerPlugIn) { super(readerPlugIn); //this.readerPlugIn = readerPlugIn; this.reader = reader; geoTiffReader = ProductIO.getProductReader("GeoTiff"); } @Override
public K5GeoTiff(final ProductReaderPlugIn readerPlugIn, final Kompsat5Reader reader) { this.readerPlugIn = readerPlugIn; this.reader = reader; geoTiffReader = ProductIO.getProductReader("GeoTiff"); }
public RapidEyeL1Reader(ProductReaderPlugIn readerPlugIn, Path colorPaletteFilePath) { super(readerPlugIn); this.gdalReader = ProductIO.getProductReader("GDAL-NITF-READER"); this.colorPaletteFilePath = colorPaletteFilePath; this.readerMap = new HashMap<>(); }
static Product getClimatologiesProduct(String auxDataDir) throws IOException { final File climatologiesFile = new File(auxDataDir, CLIMATOLOGY_FILE_NAME); final ProductReader netCDFReader = ProductIO.getProductReader("NetCDF"); return netCDFReader.readProductNodes(climatologiesFile, null); }
File fakeTileFile = new File(tileFolder, subTileFilename.replace(TILE_TOKEN, SUPER_TILE_TOKEN)); File subTileArchive = new File(tileFolder, fakeTileFile.getName().replace(FILE_EXT, ARCHIVE_EXT)); final ProductReader reader = ProductIO.getProductReader(JAXA_FORMAT); if (!subTileArchive.exists()) { tile = new FileLandCoverTile(this, fakeTileFile, reader, ARCHIVE_EXT);
private void attachNewDimapReaderInstance(Product product, File newFile) throws IOException { DimapProductReader productReader = (DimapProductReader) ProductIO.getProductReader(DimapProductConstants.DIMAP_FORMAT_NAME); productReader.bindProduct(newFile, product); product.setProductReader(productReader); Band[] bands = product.getBands(); for (Band band : bands) { if (band.isSourceImageSet() && band.getSourceImage().getImage(0) instanceof BandOpImage) { band.setSourceImage(null); } } }