Uses of Class
org.esa.snap.core.gpf.OperatorException
-
Packages that use OperatorException Package Description org.esa.snap.core.gpf SNAP's Graph Processing Framework GPF used for developing and executing raster data operators and graphs of such operators.org.esa.snap.core.gpf.common org.esa.snap.core.gpf.common.reproject org.esa.snap.core.gpf.common.resample org.esa.snap.core.gpf.descriptor org.esa.snap.core.gpf.graph org.esa.snap.core.gpf.operators.tooladapter org.esa.snap.core.gpf.pointop Provides special support for raster data operations that transforms each source pixel into a corresponding target pixel at the same position. -
-
Uses of OperatorException in org.esa.snap.core.gpf
Subclasses of OperatorException in org.esa.snap.core.gpf Modifier and Type Class Description class
OperatorCancelException
Methods in org.esa.snap.core.gpf that throw OperatorException Modifier and Type Method Description protected void
Operator. checkForCancellation()
Checks for cancellation of the current processing request.void
Operator. computeTile(Band targetBand, Tile targetTile, ProgressMonitor pm)
Called by the framework in order to compute a tile for the given target band.void
Operator. computeTileStack(Map<Band,Tile> targetTiles, Rectangle targetRectangle, ProgressMonitor pm)
Called by the framework in order to compute the stack of tiles for the given target bands.Operator
OperatorSpi. createOperator()
Creates an operator instance with no arguments.Operator
OperatorSpi. createOperator(Map<String,Object> parameters, Map<String,Product> sourceProducts)
Creates an operator instance for the given source products and processing parameters.Operator
OperatorSpi. createOperator(Map<String,Object> parameters, Map<String,Product> sourceProducts, RenderingHints renderingHints)
Creates an operator instance for the given source products and processing parameters.static Product
GPF. createProduct(String operatorName, Map<String,Object> parameters)
Creates a product by using the operator specified by the given name.static Product
GPF. createProduct(String operatorName, Map<String,Object> parameters, RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.static Product
GPF. createProduct(String operatorName, Map<String,Object> parameters, Map<String,Product> sourceProducts)
Creates a product by using the operator specified by the given name.static Product
GPF. createProduct(String operatorName, Map<String,Object> parameters, Map<String,Product> sourceProducts, RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.static Product
GPF. createProduct(String operatorName, Map<String,Object> parameters, Product sourceProduct)
Creates a product by using the operator specified by the given name.static Product
GPF. createProduct(String operatorName, Map<String,Object> parameters, Product... sourceProducts)
Creates a product by using the operator specified by the given name.static Product
GPF. createProduct(String operatorName, Map<String,Object> parameters, Product[] sourceProducts, RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.static Product
GPF. createProduct(String operatorName, Map<String,Object> parameters, Product sourceProduct, RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.void
Operator. doExecute(ProgressMonitor pm)
Executes the operator.protected void
Operator. ensureSceneGeoCoding(Product... products)
Ensures that the given source products all have a scene geo-coding.protected Dimension
Operator. ensureSingleRasterSize(Product... products)
Ensures that the given source products only contain raster data nodes having the same size in pixels and that all products have the same scene raster size.protected Dimension
Operator. ensureSingleRasterSize(RasterDataNode... rasterDataNodes)
Ensures that the given raster data nodes only contain raster data nodes having the same size in pixels.Tile
Operator. getSourceTile(RasterDataNode rasterDataNode, Rectangle region)
Gets aTile
for a given band and image region.Tile
Operator. getSourceTile(RasterDataNode rasterDataNode, Rectangle region, javax.media.jai.BorderExtender borderExtender)
Gets aTile
for a given band and image region.Product
Operator. getTargetProduct()
Gets the target product for the operator.Object
Operator. getTargetProperty(String name)
Gets a target property of the operator.abstract void
Operator. initialize()
Initializes this operator and sets the one and only target product. -
Uses of OperatorException in org.esa.snap.core.gpf.common
Methods in org.esa.snap.core.gpf.common that throw OperatorException Modifier and Type Method Description void
BandMathsOp. computeTile(Band band, Tile targetTile, ProgressMonitor pm)
void
JaiOp. computeTile(Band targetBand, Tile targetTile, ProgressMonitor pm)
void
MergeOp. computeTile(Band band, Tile targetTile, ProgressMonitor pm)
void
ReadOp. computeTile(Band band, Tile targetTile, ProgressMonitor pm)
void
SubsetOp. computeTile(Band band, Tile targetTile, ProgressMonitor pm)
void
WriteOp. computeTile(Band targetBand, Tile targetTile, ProgressMonitor pm)
void
WriteRGBOp. computeTile(Band band, Tile targetTile, ProgressMonitor pm)
void
WriteOp. computeTileStack(Map<Band,Tile> targetTiles, Rectangle targetRectangle, ProgressMonitor pm)
void
WriteRGBOp. doExecute(ProgressMonitor pm)
static Map<String,Object>
MosaicOp. getOperatorParameters(Product product)
void
BandMathsOp. initialize()
void
ImportVectorOp. initialize()
void
JaiOp. initialize()
void
MergeOp. initialize()
void
MosaicOp. initialize()
void
PassThroughOp. initialize()
void
ProductSetReaderOp. initialize()
Initializes this operator and sets the one and only target product.void
ReadOp. initialize()
void
SubsetOp. initialize()
void
WriteOp. initialize()
void
WriteRGBOp. initialize()
-
Uses of OperatorException in org.esa.snap.core.gpf.common.reproject
Methods in org.esa.snap.core.gpf.common.reproject that throw OperatorException Modifier and Type Method Description void
ReprojectionOp. initialize()
-
Uses of OperatorException in org.esa.snap.core.gpf.common.resample
Methods in org.esa.snap.core.gpf.common.resample that throw OperatorException Modifier and Type Method Description void
ResamplingOp. initialize()
-
Uses of OperatorException in org.esa.snap.core.gpf.descriptor
Methods in org.esa.snap.core.gpf.descriptor that throw OperatorException Modifier and Type Method Description static DefaultOperatorDescriptor
DefaultOperatorDescriptor. fromXml(File file, ClassLoader classLoader)
Loads an operator descriptor from an XML document.static DefaultOperatorDescriptor
DefaultOperatorDescriptor. fromXml(Reader reader, String resourceName, ClassLoader classLoader)
Loads an operator descriptor from an XML document.static ToolAdapterOperatorDescriptor
ToolAdapterOperatorDescriptor. fromXml(File file, ClassLoader classLoader)
Loads an operator descriptor from an XML document.static ToolAdapterOperatorDescriptor
ToolAdapterOperatorDescriptor. fromXml(Reader reader, String resourceName, ClassLoader classLoader)
Loads an operator descriptor from an XML document. -
Uses of OperatorException in org.esa.snap.core.gpf.graph
Methods in org.esa.snap.core.gpf.graph that throw OperatorException Modifier and Type Method Description void
GraphOp. initialize()
-
Uses of OperatorException in org.esa.snap.core.gpf.operators.tooladapter
Methods in org.esa.snap.core.gpf.operators.tooladapter that throw OperatorException Modifier and Type Method Description static ToolAdapterOpSpi
ToolAdapterIO. createOperatorSpi(Path operatorFolder)
Constructs an OperatorSpi from a given folder.void
ToolAdapterOp. initialize()
Initialise and run the defined tool.static ToolAdapterOpSpi
ToolAdapterIO. registerAdapter(File adapterFolder)
static ToolAdapterOpSpi
ToolAdapterIO. registerAdapter(Path adapterFolder)
Register a tool adapter as an operator. -
Uses of OperatorException in org.esa.snap.core.gpf.pointop
Methods in org.esa.snap.core.gpf.pointop that throw OperatorException Modifier and Type Method Description protected void
PointOperator. checkRasterSize()
Checks if all source products share the same raster size, otherwise throws an exception.void
SampleOperator. computeTile(Band targetBand, Tile targetTile, ProgressMonitor pm)
Overridden to call thecomputeSample
method for every pixel in the given tile's rectangle.void
PixelOperator. computeTileStack(Map<Band,Tile> targetTileStack, Rectangle targetRectangle, ProgressMonitor pm)
protected abstract void
PointOperator. configureSourceSamples(SourceSampleConfigurer sampleConfigurer)
Configures all source samples that this operator requires for the computation of target samples.protected abstract void
PointOperator. configureTargetSamples(TargetSampleConfigurer sampleConfigurer)
Configures all target samples computed by this operator.protected Product
PointOperator. createTargetProduct()
Creates the target product instance.void
PointOperator. initialize()
Configures thisPointOperator
by performing a number of initialisation steps in the given order:PointOperator.prepareInputs()
PointOperator.createTargetProduct()
PointOperator.configureTargetProduct(ProductConfigurer)
PointOperator.configureSourceSamples(SourceSampleConfigurer)
PointOperator.configureTargetSamples(TargetSampleConfigurer)
This method cannot be overridden by intention (template method).protected void
PointOperator. prepareInputs()
Prepares the inputs for this operator.
-