/** * Creates an instance of {@link ProfilePartReader} responsible for reading * {@link org.esa.beam.framework.datamodel.Product#setStartTime(org.esa.beam.framework.datamodel.ProductData.UTC)} and * {@link org.esa.beam.framework.datamodel.Product#setEndTime(org.esa.beam.framework.datamodel.ProductData.UTC)}. * * @return the {@link ProfilePartReader} for time information */ public ProfilePartReader createTimePartReader() { return new NullProfilePartReader(); }
public void configureProfile(NetCdfWriteProfile profile, AbstractNetCdfWriterPlugIn plugIn) throws IOException { profile.setInitialisationPartWriter(plugIn.createInitialisationPartWriter()); profile.addProfilePartWriter(plugIn.createMetadataPartWriter()); profile.addProfilePartWriter(plugIn.createBandPartWriter()); profile.addProfilePartWriter(plugIn.createTiePointGridPartWriter()); profile.addProfilePartWriter(plugIn.createFlagCodingPartWriter()); profile.addProfilePartWriter(plugIn.createGeoCodingPartWriter()); profile.addProfilePartWriter(plugIn.createImageInfoPartWriter()); profile.addProfilePartWriter(plugIn.createIndexCodingPartWriter()); profile.addProfilePartWriter(plugIn.createMaskPartWriter()); profile.addProfilePartWriter(plugIn.createStxPartWriter()); profile.addProfilePartWriter(plugIn.createTimePartWriter()); profile.addProfilePartWriter(plugIn.createDescriptionPartWriter()); }
/** * Creates an instance of {@link org.esa.beam.dataio.netcdf.metadata.ProfilePartWriter} responsible for writing * {@link org.esa.beam.framework.datamodel.Product#getMetadataRoot() metadata}. * * @return the {@link org.esa.beam.dataio.netcdf.metadata.ProfilePartWriter} for metadata */ public ProfilePartWriter createMetadataPartWriter() { return new NullProfilePartWriter(); }
private void configureProfile(AbstractNetCdfReaderPlugIn plugIn, NetCdfReadProfile profile) { profile.setInitialisationPartReader(plugIn.createInitialisationPartReader()); profile.addProfilePartReader(plugIn.createMetadataPartReader()); profile.addProfilePartReader(plugIn.createBandPartReader()); profile.addProfilePartReader(plugIn.createTiePointGridPartReader()); profile.addProfilePartReader(plugIn.createFlagCodingPartReader()); profile.addProfilePartReader(plugIn.createGeoCodingPartReader()); profile.addProfilePartReader(plugIn.createImageInfoPartReader()); profile.addProfilePartReader(plugIn.createIndexCodingPartReader()); profile.addProfilePartReader(plugIn.createMaskPartReader()); profile.addProfilePartReader(plugIn.createStxPartReader()); profile.addProfilePartReader(plugIn.createTimePartReader()); profile.addProfilePartReader(plugIn.createDescriptionPartReader()); }
private boolean getYFlippedProperty(ProfileWriteContext ctx) { Object yFlippedProperty = ctx.getProperty(Constants.Y_FLIPPED_PROPERTY_NAME); if (yFlippedProperty instanceof Boolean) { return (Boolean) yFlippedProperty; } return false; }
/** * Creates an instance of {@link ProfilePartReader} responsible for reading * {@link org.esa.beam.framework.datamodel.IndexCoding index coding}. * * @return the {@link ProfilePartReader} for index coding */ public ProfilePartReader createIndexCodingPartReader() { return new NullProfilePartReader(); }
/** * Creates an instance of {@link org.esa.beam.dataio.netcdf.metadata.ProfilePartWriter} responsible for writing * {@link org.esa.beam.framework.datamodel.Band bands}. * * @return the {@link org.esa.beam.dataio.netcdf.metadata.ProfilePartWriter} for bands */ public ProfilePartWriter createBandPartWriter() { return new NullProfilePartWriter(); }
/** * Creates an instance of {@link ProfilePartReader} responsible for reading * {@link org.esa.beam.framework.datamodel.Stx statistics}. * * @return the {@link ProfilePartReader} for statistics */ public ProfilePartReader createStxPartReader() { return new NullProfilePartReader(); }
/** * Creates an instance of {@link org.esa.beam.dataio.netcdf.metadata.ProfilePartWriter} responsible for writing * {@link org.esa.beam.framework.datamodel.TiePointGrid tie-point grids}. * * @return the {@link org.esa.beam.dataio.netcdf.metadata.ProfilePartWriter} for tie-point grids */ public ProfilePartWriter createTiePointGridPartWriter() { return new NullProfilePartWriter(); }
/** * Creates an instance of {@link ProfilePartReader} responsible for reading * {@link org.esa.beam.framework.datamodel.FlagCoding flag coding}. * * @return the {@link ProfilePartReader} for flag coding */ public ProfilePartReader createFlagCodingPartReader() { return new NullProfilePartReader(); }
/** * Creates an instance of {@link ProfilePartWriter} responsible for writing * {@link org.esa.beam.framework.datamodel.GeoCoding geo-coding}. * * @return the {@link ProfilePartWriter} for geo-coding */ public ProfilePartWriter createGeoCodingPartWriter() { return new NullProfilePartWriter(); }
/** * Creates an instance of {@link ProfilePartReader} responsible for reading * {@link org.esa.beam.framework.datamodel.ImageInfo image info}. * * @return the {@link ProfilePartReader} for image-info */ public ProfilePartReader createImageInfoPartReader() { return new NullProfilePartReader(); }
/** * Creates an instance of {@link org.esa.beam.dataio.netcdf.metadata.ProfilePartWriter} responsible for writing * {@link org.esa.beam.framework.datamodel.IndexCoding index coding}. * * @return the {@link org.esa.beam.dataio.netcdf.metadata.ProfilePartWriter} for index coding */ public ProfilePartWriter createIndexCodingPartWriter() { return new NullProfilePartWriter(); } /**
/** * Creates an instance of {@link ProfilePartReader} responsible for reading * {@link org.esa.beam.framework.datamodel.Band bands}. * * @return the {@link ProfilePartReader} for bands */ public ProfilePartReader createBandPartReader() { return new NullProfilePartReader(); }
/** * Creates an instance of {@link ProfilePartWriter} responsible for writing * {@link org.esa.beam.framework.datamodel.Stx statistics}. * * @return the {@link ProfilePartWriter} for statistics */ public ProfilePartWriter createStxPartWriter() { return new NullProfilePartWriter(); }
/** * Creates an instance of {@link ProfilePartReader} responsible for reading * {@link org.esa.beam.framework.datamodel.Mask masks}. * * @return the {@link ProfilePartReader} for masks */ public ProfilePartReader createMaskPartReader() { return new NullProfilePartReader(); }
/** * Creates an instance of {@link org.esa.beam.dataio.netcdf.metadata.ProfilePartWriter} responsible for writing * {@link org.esa.beam.framework.datamodel.Product#getDescription()}. * * @return the {@link org.esa.beam.dataio.netcdf.metadata.ProfilePartWriter} for description */ public ProfilePartWriter createDescriptionPartWriter() { return new NullProfilePartWriter(); } }
/** * Creates an instance of {@link ProfilePartReader} responsible for reading * {@link org.esa.beam.framework.datamodel.Product#getMetadataRoot() metadata}. * * @return the {@link ProfilePartReader} for metadata */ public ProfilePartReader createMetadataPartReader() { return new NullProfilePartReader(); }
/** * Creates an instance of {@link org.esa.beam.dataio.netcdf.metadata.ProfilePartWriter} responsible for writing * {@link org.esa.beam.framework.datamodel.Mask masks}. * * @return the {@link org.esa.beam.dataio.netcdf.metadata.ProfilePartWriter} for masks */ public ProfilePartWriter createMaskPartWriter() { return new NullProfilePartWriter(); }
/** * Creates an instance of {@link ProfilePartReader} responsible for reading * {@link org.esa.beam.framework.datamodel.TiePointGrid tie-point grids}. * * @return the {@link ProfilePartReader} for tie-point grids */ public ProfilePartReader createTiePointGridPartReader() { return new NullProfilePartReader(); }