@OperatorMetadata(alias="Resample", category="Raster/Geometric", version="2.0", authors="Tonio Fincke", copyright="(c) 2016 by Brockmann Consult", description="Resampling of a multi-size source product to a single-size target product.") public class ResamplingOp extends Operator
| Modifier and Type | Class and Description |
|---|---|
static class |
ResamplingOp.Spi |
| Constructor and Description |
|---|
ResamplingOp() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canBeApplied(Product product) |
void |
initialize()
Initializes this operator and sets the one and only target product.
|
canComputeTile, canComputeTileStack, checkForCancellation, computeTile, computeTileStack, deactivateComputeTileMethod, dispose, doExecute, ensureSceneGeoCoding, ensureSingleRasterSize, ensureSingleRasterSize, execute, finalize, getId, getLogger, getParameter, getParameter, getProductManager, getSourceProduct, getSourceProduct, getSourceProductId, getSourceProducts, getSourceTile, getSourceTile, getSpi, getTargetProduct, getTargetProperty, setLogger, setParameter, setParameterDefaultValues, setRequiresAllBands, setSourceProduct, setSourceProduct, setSourceProducts, setSpi, setTargetProduct, stopTileComputationObservation, updatepublic void initialize()
throws OperatorException
OperatorThe target product can be either defined by a field of type Product annotated with the
TargetProduct annotation or
by calling Operator.setTargetProduct(org.esa.snap.core.datamodel.Product) method.
This method shall never be called directly. The framework calls this method after it has created
an instance of this Operator. This will occur
only once durting the lifetime of an Operator instance.
If not already done, calling the Operator.getTargetProduct() will always trigger
a call to the initialize() method.
Any client code that must be performed before computation of tile data
should be placed here.
initialize in class OperatorOperatorException - If an error occurs during operator initialisation.Operator.getTargetProduct()public static boolean canBeApplied(Product product)
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.