Package ucar.nc2.grib.collection
Class Grib2Partition
- java.lang.Object
-
- ucar.nc2.grib.collection.GribCollectionImmutable
-
- ucar.nc2.grib.collection.PartitionCollectionImmutable
-
- ucar.nc2.grib.collection.Grib2Partition
-
- All Implemented Interfaces:
Closeable,AutoCloseable,ucar.nc2.util.cache.FileCacheable
public class Grib2Partition extends PartitionCollectionImmutable implements Closeable
PartitionCollection for Grib2.- Since:
- 12/7/13
-
-
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 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 config, Formatter errlog, org.slf4j.Logger logger)ucar.nc2.dt.grid.GridDatasetgetGridDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, thredds.featurecollection.FeatureCollectionConfig config, Formatter errlog, org.slf4j.Logger logger)ucar.nc2.dataset.NetcdfDatasetgetNetcdfDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, thredds.featurecollection.FeatureCollectionConfig config, Formatter errlog, org.slf4j.Logger logger)protected StringmakeVariableId(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
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 ucar.nc2.dataset.NetcdfDataset getNetcdfDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, thredds.featurecollection.FeatureCollectionConfig config, Formatter errlog, org.slf4j.Logger logger) throws IOException
- Specified by:
getNetcdfDatasetin classGribCollectionImmutable- Throws:
IOException
-
getGridDataset
public ucar.nc2.dt.grid.GridDataset getGridDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, thredds.featurecollection.FeatureCollectionConfig config, Formatter errlog, org.slf4j.Logger logger) throws IOException
- Specified by:
getGridDatasetin classGribCollectionImmutable- Throws:
IOException
-
getGridCoverage
public ucar.nc2.ft2.coverage.CoverageCollection getGridCoverage(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, thredds.featurecollection.FeatureCollectionConfig config, Formatter errlog, org.slf4j.Logger logger)
- Specified by:
getGridCoveragein classGribCollectionImmutable
-
addGlobalAttributes
public void addGlobalAttributes(ucar.nc2.AttributeContainer result)
- Specified by:
addGlobalAttributesin classGribCollectionImmutable
-
addVariableAttributes
public void addVariableAttributes(ucar.nc2.AttributeContainer v, GribCollectionImmutable.VariableIndex vindex)- Specified by:
addVariableAttributesin classGribCollectionImmutable
-
makeVariableId
protected String makeVariableId(GribCollectionImmutable.VariableIndex v)
- Specified by:
makeVariableIdin classGribCollectionImmutable
-
-