public class GridCoverageAdapter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
cacheFile
cache file
|
| Constructor and Description |
|---|
GridCoverageAdapter(GridCoverageDataSource dataSource,
ucar.nc2.ft2.coverage.Coverage geoGrid,
ucar.nc2.ft2.coverage.SubsetParams params)
Construct a GeoGridAdapter that will take a GeoGrid and return
VisAD Data objects from it.
|
GridCoverageAdapter(GridCoverageDataSource dataSource,
ucar.nc2.ft2.coverage.Coverage geoGrid,
ucar.nc2.ft2.coverage.SubsetParams params,
ucar.nc2.NetcdfFile ncFile)
Construct a GeoGridAdapter that will take a GeoGrid and return
VisAD Data objects from it.
|
GridCoverageAdapter(GridCoverageDataSource dataSource,
ucar.nc2.ft2.coverage.Coverage geoGrid,
ucar.nc2.ft2.coverage.SubsetParams params,
java.lang.String paramName)
Construct a GeoGridAdapter that will take a GeoGrid and return
VisAD Data objects from it.
|
GridCoverageAdapter(GridCoverageDataSource dataSource,
ucar.nc2.ft2.coverage.Coverage geoGrid,
ucar.nc2.ft2.coverage.SubsetParams params,
java.lang.String paramName,
ucar.nc2.NetcdfFile ncFile)
Construct a GeoGridAdapter that will take a GeoGrid and return
VisAD Data objects from it.
|
GridCoverageAdapter(GridCoverageDataSource dataSource,
ucar.nc2.ft2.coverage.Coverage geoGrid,
ucar.nc2.ft2.coverage.SubsetParams params,
java.lang.String paramName,
ucar.nc2.NetcdfFile ncFile,
java.lang.Object extraCacheKey)
Construct a GeoGridAdapter that will take a GeoGrid and return
VisAD Data objects from it.
|
| Modifier and Type | Method and Description |
|---|---|
visad.FieldImpl |
getData()
Get all the data from this GeoGrid.
|
protected ucar.nc2.ft2.coverage.Coverage |
getGeoGrid()
Get the geogrid that this adapter uses
|
protected java.util.List |
getLevels()
Create the list of levels for this grid
|
visad.FieldImpl |
getSequence()
Get a time ordered sequence of 2D flat fields
|
visad.FieldImpl |
getSequence(int[] timeIndices)
Get a time ordered sequence of 2D flat fields
|
visad.FieldImpl |
getSequence(int[] timeIndices,
int[] memberIndices,
java.lang.Object loadId)
Get a time ordered sequence of 2D flat fields
|
visad.FieldImpl |
getSequence(int[] timeIndices,
java.lang.Object loadId)
Get a time ordered sequence of 2D flat fields
|
int |
indexOf(java.lang.Object o,
java.util.List levels) |
static boolean |
isZAxisOk(ucar.nc2.dataset.CoordinateAxis1D zaxis)
Utility to check if we should ignore the given z axis
|
static boolean |
isZUnitOk(visad.Unit zUnit,
ucar.unidata.geoloc.vertical.VerticalTransform vt)
Utility to check if we can handle the vertical transform
|
public GridCoverageAdapter(GridCoverageDataSource dataSource, ucar.nc2.ft2.coverage.Coverage geoGrid, ucar.nc2.ft2.coverage.SubsetParams params) throws visad.VisADException
dataSource - source of this GeoGridgeoGrid - the GeoGrid in questionvisad.VisADException - unable to create one of the VisAD objectspublic GridCoverageAdapter(GridCoverageDataSource dataSource, ucar.nc2.ft2.coverage.Coverage geoGrid, ucar.nc2.ft2.coverage.SubsetParams params, java.lang.String paramName) throws visad.VisADException
dataSource - source of this GeoGridgeoGrid - the GeoGrid in questionparamName - name of the parametervisad.VisADException - unable to create one of the VisAD objectspublic GridCoverageAdapter(GridCoverageDataSource dataSource, ucar.nc2.ft2.coverage.Coverage geoGrid, ucar.nc2.ft2.coverage.SubsetParams params, ucar.nc2.NetcdfFile ncFile) throws visad.VisADException
dataSource - source of this GeoGridgeoGrid - the GeoGrid in questionncFile - file that the GeoGrid data is coming fromvisad.VisADException - unable to create one of the VisAD objectspublic GridCoverageAdapter(GridCoverageDataSource dataSource, ucar.nc2.ft2.coverage.Coverage geoGrid, ucar.nc2.ft2.coverage.SubsetParams params, java.lang.String paramName, ucar.nc2.NetcdfFile ncFile) throws visad.VisADException
dataSource - source of this GeoGridgeoGrid - the GeoGrid in questionparamName - name of the parameterncFile - file that the GeoGrid data is coming fromvisad.VisADException - unable to create one of the VisAD objectspublic GridCoverageAdapter(GridCoverageDataSource dataSource, ucar.nc2.ft2.coverage.Coverage geoGrid, ucar.nc2.ft2.coverage.SubsetParams params, java.lang.String paramName, ucar.nc2.NetcdfFile ncFile, java.lang.Object extraCacheKey) throws visad.VisADException
dataSource - source of this GeoGridgeoGrid - the GeoGrid in questionparamName - name of the parameterncFile - file that the GeoGrid data is coming fromextraCacheKey - Extra key to use when cachingvisad.VisADException - unable to create one of the VisAD objectspublic static boolean isZAxisOk(ucar.nc2.dataset.CoordinateAxis1D zaxis)
zaxis - given z axispublic static boolean isZUnitOk(visad.Unit zUnit,
ucar.unidata.geoloc.vertical.VerticalTransform vt)
zUnit - zUnitvt - vertical transformprotected java.util.List getLevels()
throws visad.VisADException
visad.VisADException - On badnessprotected ucar.nc2.ft2.coverage.Coverage getGeoGrid()
public visad.FieldImpl getSequence()
public visad.FieldImpl getSequence(int[] timeIndices)
timeIndices - indices of times in the datapublic visad.FieldImpl getSequence(int[] timeIndices,
java.lang.Object loadId)
timeIndices - indices of times in the dataloadId - loadIdpublic visad.FieldImpl getSequence(int[] timeIndices,
int[] memberIndices,
java.lang.Object loadId)
timeIndices - indices of times in the datamemberIndices - the member indicesloadId - loadIdpublic visad.FieldImpl getData()
throws visad.VisADException
visad.VisADException - problem creating the gridpublic int indexOf(java.lang.Object o,
java.util.List levels)
throws visad.VisADException
visad.VisADException