Class GribCoverageDataset

  • All Implemented Interfaces:
    Closeable, AutoCloseable, ucar.nc2.ft2.coverage.CoordAxisReader, ucar.nc2.ft2.coverage.CoverageReader

    @Immutable
    public class GribCoverageDataset
    extends Object
    implements ucar.nc2.ft2.coverage.CoverageReader, ucar.nc2.ft2.coverage.CoordAxisReader
    Create a FeatureDatasetCoverage from a GribCollection file. Called from InvDatasetFcGrib and (by reflection) from CoverageDatasetFactory LOOK might want to switch to Builder pattern
    Since:
    8/1/2015
    • Method Detail

      • open

        public static ucar.nc2.util.Optional<ucar.nc2.ft2.coverage.FeatureDatasetCoverage> open​(String endpoint)
                                                                                         throws IOException
        Throws:
        IOException
      • getLocation

        public String getLocation()
        Specified by:
        getLocation in interface ucar.nc2.ft2.coverage.CoverageReader
      • createCoverageCollection

        public ucar.nc2.ft2.coverage.CoverageCollection createCoverageCollection()
      • readCoordValues

        public double[] readCoordValues​(ucar.nc2.ft2.coverage.CoverageCoordAxis coordAxis)
                                 throws IOException
        Specified by:
        readCoordValues in interface ucar.nc2.ft2.coverage.CoordAxisReader
        Throws:
        IOException
      • readData

        public ucar.nc2.ft2.coverage.GeoReferencedArray readData​(ucar.nc2.ft2.coverage.Coverage coverage,
                                                                 ucar.nc2.ft2.coverage.SubsetParams params,
                                                                 boolean canonicalOrder)
                                                          throws IOException,
                                                                 ucar.ma2.InvalidRangeException
        Specified by:
        readData in interface ucar.nc2.ft2.coverage.CoverageReader
        Throws:
        IOException
        ucar.ma2.InvalidRangeException