Package org.esa.snap.core.datamodel
The Product
class plays a central role in SNAP this package and is used
throughout the SNAP software in order represent data products of many different types.
Many of the classes in this package are superclasses of the ProductNode
,
which acts as a base class for all data and metadata items contained in a product.
The inheritance hierarchy of the abstract ProductNode
is as follows:
Product
instances are composed as follows:
- Always one
MetadataElement
named "metadata" - Zero or more
TiePointGrid
s - Zero or more
Band
s - Zero or more
Mask
s - Zero or more
SampleCoding
s - Zero or more
VectorDataNode
s - Zero or one scene
GeoCoding
s
MetadataElement
instances are composed as follows:
- Zero or more
MetadataElement
s - Zero or more
MetadataAttribute
s
Product
s and RasterDataNode
s can have an associated GeoCoding
allowing them to geo-locate raster pixel positions with geographic positions and vice versa. There are various
possible GeoCoding
implementations which all derive from AbstractGeoCoding
:
TiePointGeoCoding
- geo-coding based on latitude/longitudeTiePointGrid
s-
invalid reference
org.esa.snap.core.datamodel.PixelGeoCoding
Band
s -
invalid reference
org.esa.snap.core.datamodel.PixelGeoCoding2
Band
s (current default) CrsGeoCoding
- geo-coding for reprojected products, i.e. products having raster data rectified w.r.t. geodetic coordinate reference system (CRS)GcpGeoCoding
- geo-coding based on ground control pointPlacemark
sFXYGeoCoding
- geo-coding based on X,Y-functions
There are various places in the SNAP API that provide utility functions that deal the above mentioned classes and interfaces.
ProductUtils
- Static utilities methods around theProduct
and its componentsFeatureUtils
- Static utilities methods around theSimpleFeature
andGeometry
used in conjunction withVectorDataNode
A strongly related packages are org.esa.snap.core.dataio
which provides the data product I/O framework
and org.esa.snap.core.gpf
which is graph processing framework GPF used for developing and executing
raster data operators and graphs of such operators.
-
ClassDescriptionThe
AbstractBand
class provides a set of pixel access methods but does not provide an implementation of the actual reading and writing of pixel data from or into a raster.AbstractGeoCoding
is the base class of all geo-coding implementation.The base class forPlacemarkDescriptor
implementations.A band contains the data for geophysical parameter in remote sensing data products.Deprecated.Configuration which contains many key parameters with defaults and labels for the color manipulation toolTheColorPaletteDef
class represents a curve that is used to transform the sample values of a geo-physical band into color palette indexes.Contains all info for a color schemeA geo-coding based on a combination ofGeoCodings
.Time coding which returns a constant value.A band that obtains its input data from an underlying source band and filters the raster data using aKernel
.A geo-coding that is based on a well-known coordinate reference system (CRS) and affine transformation used to locate a product's scene image within the CRS.ADataNode
is the base class for all nodes within a data product which carry data.Creates an Densityplot from two given bands.Represents a band that generates its data by using another band as input and performs some kind of operation on this input.Provides the information required to decode integer sample values that are combined of single flags (bit indexes).A geo-coding based on equations.Ground control point (GCP) geo-coding.Class representing the approximation methods used for the GCP geo-coding.A band that obtains its input data from an underlying source raster and filters its data using a predefinedoperation type
.Predefined operation types.Caution! This PersistenceConverter does not support historical dimap variations of GeneralFilterBand.Used as a fallback for the case that we can't find any suitablePlacemarkDescriptor
for a given SimpleFeatureType.Approximates the x(lat, lon) and y(lat, lon) functions.TheGeoCoding
interface provides geo-spatial latitude and longitude information for a given X/Y position of any (two-dimensional) raster.APlacemarkDescriptor
that is used to create placemarks that are actually plain geometries.TheGeoPos
class represents a geographical position measured in longitudes and latitudes.A geometric representation of a geographical grid measured in longitudes and latitudes.Utility class for the cumulative calculation of histograms from image data.This class contains information about how a product's raster data node is displayed as an image.Enumerates the possible histogram matching modes.Enumerates the possible histogram matching modes.TheImageLegend
class is used to generate an image legend from a
instance.ImageInfo
Provides the information required to decode integer sample values that represent index values (e.g.TheKernel
class defines a matrix that describes how a specified pixel and its surrounding pixels affect the value computed for the pixel's position in the output image of a filtering operation.A time-coding based on an Array of modified julian days as double values.Deprecated.AMask
is used to mask image pixels of other raster data nodes.A mask image type which is based on band math.Specifies a factory for thesource image
used by aMask
.A mask image type which is based on vector data.AMetadataAttribute
is part of a
and represents a key/value pair.MetadataElement
AMetadataElement
is a data node used to store metadata.APixelPos
represents a position or point in a pixel coordinate system.A class for estimating the pixel position for a given geo-location.Placemarks are displayed as symbols at the image's pixel position corresponding to their geographical position.Placemark descriptors are used to describe and createPlacemark
s.The interfacePointing
wraps aGeoCoding
and optionally provides more geometry information such as sun direction, satellite (view) direction and elevation at a given pixel position.A factory which creates instances of aPointing
for a given raster data node.Product
instances are an in-memory representation of a remote sensing data product.Deprecated.The abstractProductData
class represents a generic data buffer used to hold the actual data values stored in remote sensing data products.TheProductData.ASCII
class is aProductData.Byte
specialisation representing textual values.TheByte
class is aProductData
specialisation for signed 8-bit integer fields.TheProductData.Float
class is aProductData
specialisation for 64-bit floating point fields.TheProductData.Float
class is aProductData
specialisation for 32-bit floating point fields.TheInt
class is aProductData
specialisation for signed 32-bit integer fields.TheLong
class is aProductData
specialisation for signed 64-bit integer fields.TheShort
class is aProductData
specialisation for signed 16-bit integer fields.TheUByte
class is aProductData
specialisation for unsigned 8-bit integer fields.TheUInt
class is aProductData
specialisation for unsigned 32-bit integer fields.TheUShort
class is aProductData
specialisation for unsigned 16-bit integer fields.TheProductData.UTC
class is aProductData.UInt
specialisation for UTC date/time values.A filter for products.A type-safe container for elements of the typeProduct
.An event object passed into theProductManager.Listener
methods.A listener for the product manager.TheProductNode
is the base class for all nodes within a remote sensing data product and even the data product itself.A product node event informs a product change listener about the source of the notification.ProductNodeFilter<T extends ProductNode>A filter for abstract product nodes.ProductNodeGroup<T extends ProductNode>A type-safe container for elements of the typeProductNode
.ProductNodeList<T extends ProductNode>A type-safe list for elements of the typeProductNode
.A listener which listens to internal data product changes.A listener adapter which listens to product internal changes.A visitor for a product and all other product nodes.A default implementation of theProductVisitor
interface.TheProgressListener
interface represents a listener for the observation of possibly time consuming processes.A utility class for clients interested in the progress made while reading, writing or somehow processing data products.TheRasterDataNode
class ist the abstract base class for all objects in the product package that contain rasterized data.A raster data processor which is called for a set of raster lines to be processed.Class for approximating a function of two variables with a rational function.An interface for classes that resample a multi-size product to a single-size product.A profile used for the creation of RGB images.A profile used for the creation of RGB images.Class for rotating geographical positions.Provides the information required to decode integer sample values that are combined of single flags (bit indexes).The scaling method used for geophysical value transformation in aBand
.Represents a geo-coded scene.This class is not public API yet.Provides various transformations from localRasterDataNode
coordinate reference systems to aProduct
's scene coordinate reference systems.Provides statistic information for a raster data node at a given image resolution level.The factory forStx
instances.Utility class for calculating minimum, maximum, mean and standard deviation.Deprecated.since SNAP 8.0.0, Better useComponentGeoCoding
withTiePointInverse
and one ofTiePointInverse
,TiePointBilinearForward
andTiePointSplineForward
A tie-point grid contains the data for geophysical parameter in remote sensing data products.APointing
which uses tie-point grids to compute the geometry for a given pixel position.TheTimeCoding
interface allows to convert pixel coordinates to time values and vice versa (if possible).Placemark descriptor implementation for handling track data.A container for data which fully describes a transect profile.Builder for instances ofTransectProfileData
.A container which allows to store vector data in the BEAM product model.A band contains the data for geophysical parameter in remote sensing data products.
CrsGeoCoding
instead.