@Immutable public class GribCoverageDataset extends java.lang.Object implements CoverageReader, CoordAxisReader
Constructor and Description |
---|
GribCoverageDataset(GribCollectionImmutable gribCollection,
GribCollectionImmutable.Dataset ds,
GribCollectionImmutable.GroupGC group) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
CoverageCollection |
createCoverageCollection() |
java.lang.String |
getLocation() |
static Optional<FeatureDatasetCoverage> |
open(java.lang.String endpoint) |
double[] |
readCoordValues(CoverageCoordAxis coordAxis) |
GeoReferencedArray |
readData(Coverage coverage,
SubsetParams params,
boolean canonicalOrder) |
public GribCoverageDataset(GribCollectionImmutable gribCollection, GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group)
public static Optional<FeatureDatasetCoverage> open(java.lang.String endpoint) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public java.lang.String getLocation()
getLocation
in interface CoverageReader
public CoverageCollection createCoverageCollection()
public double[] readCoordValues(CoverageCoordAxis coordAxis) throws java.io.IOException
readCoordValues
in interface CoordAxisReader
java.io.IOException
public GeoReferencedArray readData(Coverage coverage, SubsetParams params, boolean canonicalOrder) throws java.io.IOException, InvalidRangeException
readData
in interface CoverageReader
java.io.IOException
InvalidRangeException