/** * Creates an instance of the actual product reader class. This method should never return <code>null</code>. * * @return a new reader instance, never <code>null</code> */ @Override public ProductReader createReaderInstance() { return new GenericNetCdfReader(this); }
protected Product readProductNodesImpl() throws IOException { final File fileLocation = new File(getInput().toString()); netcdfFile = NetcdfFileOpener.open(fileLocation.getPath()); if (netcdfFile == null) { String msg = String.format("Not able to read %s. No suitable NetCDF reader found.", getInput()); throw new IOException(msg); return netCdfReader.readProductNodes(getInput(), getSubsetDef());
@Override protected Product readProductNodesImpl() throws IOException { Product product = super.readProductNodesImpl(); addGeocoding(product); return product; }