Package ucar.nc2.grib.collection
Class Grib1Collection
- java.lang.Object
-
- ucar.nc2.grib.collection.GribCollectionImmutable
-
- ucar.nc2.grib.collection.Grib1Collection
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,FileCacheable
public class Grib1Collection extends GribCollectionImmutable
Grib1-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 void
addGlobalAttributes(AttributeContainer result)
void
addVariableAttributes(AttributeContainer v, GribCollectionImmutable.VariableIndex vindex)
CoverageCollection
getGridCoverage(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger)
GridDataset
getGridDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger)
NetcdfDataset
getNetcdfDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger)
String
makeVariableId(GribCollectionImmutable.VariableIndex v)
-
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 NetcdfDataset getNetcdfDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger) throws IOException
- Specified by:
getNetcdfDataset
in classGribCollectionImmutable
- Throws:
IOException
-
getGridDataset
@Nullable public GridDataset getGridDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger) throws IOException
- Specified by:
getGridDataset
in classGribCollectionImmutable
- Throws:
IOException
-
getGridCoverage
@Nullable public CoverageCollection getGridCoverage(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger) throws IOException
- Specified by:
getGridCoverage
in classGribCollectionImmutable
- Throws:
IOException
-
addGlobalAttributes
public void addGlobalAttributes(AttributeContainer result)
- Specified by:
addGlobalAttributes
in classGribCollectionImmutable
-
makeVariableId
public String makeVariableId(GribCollectionImmutable.VariableIndex v)
- Specified by:
makeVariableId
in classGribCollectionImmutable
-
addVariableAttributes
public void addVariableAttributes(AttributeContainer v, GribCollectionImmutable.VariableIndex vindex)
- Specified by:
addVariableAttributes
in classGribCollectionImmutable
-
-