public class TLcdNetCDFModelDescriptor extends TLcdImageModelDescriptor implements ILcdDataSourceModelDescriptor
NetCDF model descriptor. Every NetCDF decoded model contains information about one coverage variable.
getDisplayName()
method returns description of the coverage variable.
Modifier and Type | Class and Description |
---|---|
static class |
TLcdNetCDFModelDescriptor.GRIBMetadata
This class contains GRIB metadata for GRIB versions 1 and 2.
|
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_NAME
The type name of this model descriptor for NEtCDF files; its value is "NetCDF".
|
static String |
TYPE_NAME_GRIB
The type name of this model descriptor for GRIB files; its value is "Grib".
|
Modifier and Type | Method and Description |
---|---|
ILcdDataSource |
getDataSource()
Returns the data source that this model originates from.
|
List<TLcdNetCDFModelDescriptor.GRIBMetadata> |
getGRIBMetadata()
Returns GRIB-specific metadata.
|
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getSourceName, getTypeName
public static final String TYPE_NAME
public static final String TYPE_NAME_GRIB
public ILcdDataSource getDataSource()
getDataSource
in interface ILcdDataSourceModelDescriptor
ILcdModelDecoder
public List<TLcdNetCDFModelDescriptor.GRIBMetadata> getGRIBMetadata()
Returns GRIB-specific metadata. This metadata is only available when the source data was GRIB. If no metadata is available, this method returns an empty list.
This method returns an array of metadata objects because models returned by TLcdNetCDFModelDecoder
can be multiband models. For example: a model can contain a band that represents the wind speed in the u
direction, and an other band that represents the wind speed in the v direction. In that case, multiple metadata
objects are available. Note that in that case, the getDataSource()
method also returns a
TLcdNetCDFMultiBandDataSource
instance.