@OperatorMetadata(alias="Mosaic", category="Raster/Geometric", version="1.0", authors="Marco Peters, Ralf Quast, Marco Z\u00fchlke", copyright="(c) 2009 by Brockmann Consult", description="Creates a mosaic out of a set of source products.", internal=false) public class MosaicOp extends Operator
Modifier and Type | Class and Description |
---|---|
static class |
MosaicOp.Condition |
static class |
MosaicOp.Spi |
static class |
MosaicOp.Variable |
Constructor and Description |
---|
MosaicOp() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
getOperatorParameters(Product product) |
void |
initialize()
Initializes this operator and sets the one and only target product.
|
checkForCancellation, computeTile, computeTileStack, createMultiSizeException, deactivateComputeTileMethod, dispose, doExecute, execute, finalize, getId, getLogger, getParameter, getParameter, getSourceProduct, getSourceProduct, getSourceProductId, getSourceProducts, getSourceTile, getSourceTile, getSpi, getTargetProduct, getTargetProperty, setLogger, setParameter, setParameterDefaultValues, setRequiresAllBands, setSourceProduct, setSourceProduct, setSourceProducts, setSpi, setTargetProduct, stopTileComputationObservation, update
public void initialize() throws OperatorException
Operator
The 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 Operator
OperatorException
- If an error occurs during operator initialisation.Operator.getTargetProduct()
public static Map<String,Object> getOperatorParameters(Product product) throws OperatorException
OperatorException
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.