Package ucar.nc2.ft2.coverage.adapter
Class DtCoverageAdapter
- java.lang.Object
-
- ucar.nc2.ft2.coverage.adapter.DtCoverageAdapter
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,CoordAxisReader
,CoverageReader
public class DtCoverageAdapter extends Object implements CoverageReader, CoordAxisReader
Adapt a DtCoverageDataset to a ucar.nc2.ft2.coverage.CoverageCollection This is how we read non-GRIB files into a Coverage, using the NetcdfDataset/CoordinateSystem. Forked from ucar.nc2.dt.GeoGridDataset.- Since:
- 5/1/2015
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static FeatureDatasetCoverage
factory(DtCoverageDataset proxy, Formatter errlog)
String
getLocation()
double[]
readCoordValues(CoverageCoordAxis coordAxis)
GeoReferencedArray
readData(Coverage coverage, SubsetParams params, boolean canonicalOrder)
-
-
-
Method Detail
-
factory
public static FeatureDatasetCoverage factory(DtCoverageDataset proxy, Formatter errlog)
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getLocation
public String getLocation()
- Specified by:
getLocation
in interfaceCoverageReader
-
readData
public GeoReferencedArray readData(Coverage coverage, SubsetParams params, boolean canonicalOrder) throws IOException, InvalidRangeException
- Specified by:
readData
in interfaceCoverageReader
- Throws:
IOException
InvalidRangeException
-
readCoordValues
public double[] readCoordValues(CoverageCoordAxis coordAxis) throws IOException
- Specified by:
readCoordValues
in interfaceCoordAxisReader
- Throws:
IOException
-
-