Package org.esa.snap.core.gpf.common
Class MosaicOp
- java.lang.Object
-
- org.esa.snap.core.gpf.Operator
-
- org.esa.snap.core.gpf.common.MosaicOp
-
@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
Creates a mosaic out of a set of source products.- Since:
- BEAM 4.7
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMosaicOp.Conditionstatic classMosaicOp.Spistatic classMosaicOp.Variable
-
Constructor Summary
Constructors Constructor Description MosaicOp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Map<String,Object>getOperatorParameters(Product product)voidinitialize()Initializes this operator and sets the one and only target product.-
Methods inherited from class org.esa.snap.core.gpf.Operator
canComputeTile, canComputeTileStack, checkForCancellation, computeTile, computeTileStack, 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, update
-
-
-
-
Method Detail
-
initialize
public void initialize() throws OperatorExceptionDescription copied from class:OperatorInitializes this operator and sets the one and only target product.The target product can be either defined by a field of type
Productannotated with theTargetProductannotation or by callingOperator.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 anOperatorinstance. If not already done, calling theOperator.getTargetProduct()will always trigger a call to theinitialize()method.Any client code that must be performed before computation of tile data should be placed here.
- Specified by:
initializein classOperator- Throws:
OperatorException- If an error occurs during operator initialisation.- See Also:
Operator.getTargetProduct()
-
getOperatorParameters
public static Map<String,Object> getOperatorParameters(Product product) throws OperatorException
- Throws:
OperatorException
-
-