Package ucar.nc2.grib.collection
Class Grib1Partition
- java.lang.Object
-
- ucar.nc2.grib.collection.GribCollectionImmutable
-
- ucar.nc2.grib.collection.PartitionCollectionImmutable
-
- ucar.nc2.grib.collection.Grib1Partition
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,FileCacheable
public class Grib1Partition extends PartitionCollectionImmutable
PartitionCollection for Grib1.- Since:
- 2/21/14
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ucar.nc2.grib.collection.PartitionCollectionImmutable
PartitionCollectionImmutable.Partition, PartitionCollectionImmutable.VariableIndexPartitioned
-
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.PartitionCollectionImmutable
countPC
-
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 config, Formatter errlog, org.slf4j.Logger logger)
GridDataset
getGridDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig config, Formatter errlog, org.slf4j.Logger logger)
NetcdfDataset
getNetcdfDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig config, Formatter errlog, org.slf4j.Logger logger)
String
makeVariableId(GribCollectionImmutable.VariableIndex v)
-
Methods inherited from class ucar.nc2.grib.collection.PartitionCollectionImmutable
getFilename, getLatestGribCollection, getPartitionByName, getPartitions, getPartitionSize, getPartitionsSorted, isPartitionOfPartitions, makeVariableIndex, showIndex
-
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, reacquire, release, setFileCache, showStatus, showStatusSummary, toString
-
-
-
-
Method Detail
-
getNetcdfDataset
public NetcdfDataset getNetcdfDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig config, Formatter errlog, org.slf4j.Logger logger) throws IOException
- Specified by:
getNetcdfDataset
in classGribCollectionImmutable
- Throws:
IOException
-
getGridDataset
public GridDataset getGridDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig config, Formatter errlog, org.slf4j.Logger logger) throws IOException
- Specified by:
getGridDataset
in classGribCollectionImmutable
- Throws:
IOException
-
getGridCoverage
public CoverageCollection getGridCoverage(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig config, Formatter errlog, org.slf4j.Logger logger)
- Specified by:
getGridCoverage
in classGribCollectionImmutable
-
addGlobalAttributes
public void addGlobalAttributes(AttributeContainer result)
- Specified by:
addGlobalAttributes
in classGribCollectionImmutable
-
addVariableAttributes
public void addVariableAttributes(AttributeContainer v, GribCollectionImmutable.VariableIndex vindex)
- Specified by:
addVariableAttributes
in classGribCollectionImmutable
-
makeVariableId
public String makeVariableId(GribCollectionImmutable.VariableIndex v)
- Specified by:
makeVariableId
in classGribCollectionImmutable
-
-