Package ucar.nc2.grib.collection
Class Grib2Collection
- java.lang.Object
-
- ucar.nc2.grib.collection.GribCollectionImmutable
-
- ucar.nc2.grib.collection.Grib2Collection
-
- All Implemented Interfaces:
Closeable,AutoCloseable,ucar.nc2.util.cache.FileCacheable
public class Grib2Collection extends GribCollectionImmutable
Grib2 specific subclass of GribCollection.- Since:
- 9/5/11
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ucar.nc2.grib.collection.GribCollectionImmutable
GribCollectionImmutable.Dataset, GribCollectionImmutable.GroupGC, GribCollectionImmutable.Record, GribCollectionImmutable.Type, GribCollectionImmutable.VariableIndex
-
-
Field Summary
-
Fields inherited from class ucar.nc2.grib.collection.GribCollectionImmutable
config, countGC, cust, datasets, dateRange, directory, fileMap, indexFilename, info, isGrib1, masterRuntime, name
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGlobalAttributes(ucar.nc2.AttributeContainer result)voidaddVariableAttributes(ucar.nc2.AttributeContainer v, GribCollectionImmutable.VariableIndex vindex)ucar.nc2.ft2.coverage.CoverageCollectiongetGridCoverage(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, thredds.featurecollection.FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger)ucar.nc2.dt.grid.GridDatasetgetGridDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, thredds.featurecollection.FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger)ucar.nc2.dataset.NetcdfDatasetgetNetcdfDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, thredds.featurecollection.FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger)protected StringmakeVariableId(GribCollectionImmutable.VariableIndex vindex)-
Methods inherited from class ucar.nc2.grib.collection.GribCollectionImmutable
buildNetcdfDataset, close, findMFileByName, getBackProcessId, getCenter, getDataset, getDatasetCanonical, getDatasets, getDirectory, getFile, getFilename, getFiles, getGenProcessId, getGenProcessType, getGlobalAttributes, getIndexFileSize, getLastModified, getLocal, getLocation, getMaster, getMasterFirstDate, getMasterRuntime, getName, getSubcenter, getVersion, makeVariableIndex, reacquire, release, setFileCache, showIndex, showStatus, showStatusSummary, toString
-
-
-
-
Method Detail
-
getNetcdfDataset
@Nullable public ucar.nc2.dataset.NetcdfDataset getNetcdfDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, thredds.featurecollection.FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger) throws IOException
- Specified by:
getNetcdfDatasetin classGribCollectionImmutable- Throws:
IOException
-
getGridDataset
@Nullable public ucar.nc2.dt.grid.GridDataset getGridDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, thredds.featurecollection.FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger) throws IOException
- Specified by:
getGridDatasetin classGribCollectionImmutable- Throws:
IOException
-
getGridCoverage
@Nullable public ucar.nc2.ft2.coverage.CoverageCollection getGridCoverage(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, thredds.featurecollection.FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger) throws IOException
- Specified by:
getGridCoveragein classGribCollectionImmutable- Throws:
IOException
-
addGlobalAttributes
public void addGlobalAttributes(ucar.nc2.AttributeContainer result)
- Specified by:
addGlobalAttributesin classGribCollectionImmutable
-
makeVariableId
protected String makeVariableId(GribCollectionImmutable.VariableIndex vindex)
- Specified by:
makeVariableIdin classGribCollectionImmutable
-
addVariableAttributes
public void addVariableAttributes(ucar.nc2.AttributeContainer v, GribCollectionImmutable.VariableIndex vindex)- Specified by:
addVariableAttributesin classGribCollectionImmutable
-
-