bcdev / snap-idepix

Collection of IdePix pixel classification modules for various sensors
GNU General Public License v3.0
4 stars 1 forks source link

Optionally copy (pass through) all raster data nodes from source to target #38

Open heptaflar opened 3 years ago

heptaflar commented 3 years ago

The issue originated because IdePix for OLCI copies all raster data nodes from the source product to the target product, except altitude, longitude and latitude (longitude and latitude are copied though, if the source product was read with pixel geo-coding activated).

A general option to copy all raster data nodes from source to target without duplicating the underlying data, i.e.

ProductUtils.copyBand(bandName, getSourceProduct(), getTargetProduct(), true);

makes the use of IdePix (any sensor) in a processing chain much simpler.