public class TLcdNetCDFMultiBandDataSource extends Object implements ILcdDataSource
A data source to create NetCDF images with multiple bands. It is composed of multiple
TLcdNetCDFDataSource
instances, which can be retrieved from the
model decoder.
Note that the data sources in this TLcdNetCDFMultiBandDataSource
should be compatible. If not, the
model decoder will throw an exception when trying to decode the data source. Compatible in this case means
that the different data sources should represent data with the same bounds, dimensions (x/y/vertical/time),
resolution, etc...
Multi-band images are useful for visualizing data as an icon grid. For example: wind data can be represented by an
image with 2 bands, one for the x-direction and one for the y-direction. This image can then be painted using
ILcdParameterizedIcon
objects like
TLcdEarthWindIcon
, which converts the values in the
x-direction and y-direction to a wind-barb on the screen.
Constructor and Description |
---|
TLcdNetCDFMultiBandDataSource(List<TLcdNetCDFDataSource> aDataSources)
Creates a new multi band data source from the given data sources.
|
TLcdNetCDFMultiBandDataSource(List<TLcdNetCDFDataSource> aDataSources,
String aDescription)
Deprecated.
Use
TLcdNetCDFMultiBandDataSource(List) instead. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object aObject) |
List<TLcdNetCDFDataSource> |
getDataSources()
Returns the data sources of which this multi band data source is composed.
|
String |
getDescription()
Returns the description of this data source.
|
int |
hashCode() |
String |
toString() |
public TLcdNetCDFMultiBandDataSource(List<TLcdNetCDFDataSource> aDataSources)
aDataSources
- a list of TLcdNetCDFDataSource
objects.public TLcdNetCDFMultiBandDataSource(List<TLcdNetCDFDataSource> aDataSources, String aDescription)
TLcdNetCDFMultiBandDataSource(List)
instead.aDataSources
- a list of TLcdNetCDFDataSource
objects.aDescription
- this parameter is ignored, the description is generated from the data sources in all cases.public List<TLcdNetCDFDataSource> getDataSources()
public String getDescription()
getDescription
in interface ILcdDataSource
null
.