@Immutable public abstract class GribCollectionImmutable extends Object implements Closeable, FileCacheable
| Modifier and Type | Class and Description |
|---|---|
class |
GribCollectionImmutable.Dataset |
class |
GribCollectionImmutable.GroupGC |
static class |
GribCollectionImmutable.Info |
static class |
GribCollectionImmutable.Record |
static class |
GribCollectionImmutable.Type |
class |
GribCollectionImmutable.VariableIndex |
| Modifier and Type | Field and Description |
|---|---|
protected FeatureCollectionConfig |
config |
static int |
countGC |
protected GribTables |
cust |
protected List<GribCollectionImmutable.Dataset> |
datasets |
protected File |
directory |
protected Map<Integer,MFile> |
fileMap |
protected List<GribHorizCoordSystem> |
horizCS |
protected String |
indexFilename |
protected GribCollectionImmutable.Info |
info |
boolean |
isGrib1 |
protected CoordinateRuntime |
masterRuntime |
protected String |
name |
protected FileCacheIF |
objCache |
public static int countGC
protected final String name
protected final File directory
protected final FeatureCollectionConfig config
public final boolean isGrib1
protected final GribCollectionImmutable.Info info
protected final List<GribCollectionImmutable.Dataset> datasets
protected final List<GribHorizCoordSystem> horizCS
protected final CoordinateRuntime masterRuntime
protected final GribTables cust
protected final String indexFilename
protected FileCacheIF objCache
protected GribCollectionImmutable.VariableIndex makeVariableIndex(GribCollectionImmutable.GroupGC group, GribCollectionMutable.VariableIndex mutableVar)
public List<GribCollectionImmutable.Dataset> getDatasets()
public GribCollectionImmutable.Dataset getDataset(int idx)
public GribCollectionImmutable.Dataset getDatasetByTypeName(String name)
public GribCollectionImmutable.Dataset getDatasetCanonical()
public String getName()
public File getDirectory()
public CoordinateRuntime getMasterRuntime()
public int getVersion()
public int getCenter()
public int getSubcenter()
public int getMaster()
public int getLocal()
public int getGenProcessType()
public int getGenProcessId()
public int getBackProcessId()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface FileCacheableIOExceptionpublic void release()
throws IOException
release in interface FileCacheableIOExceptionpublic void reacquire()
throws IOException
reacquire in interface FileCacheableIOExceptionpublic String getLocation()
getLocation in interface FileCacheablepublic long getLastModified()
getLastModified in interface FileCacheablepublic void setFileCache(FileCacheIF fileCache)
setFileCache in interface FileCacheablepublic void showStatus(Formatter f)
public void showIndexFile(Formatter f)
public void showIndex(Formatter f)
public long getIndexFileSize()
public String getFilename(int fileno)
public String getFirstFilename()
public Collection<MFile> getFiles()
public RandomAccessFile getDataRaf(int fileno) throws IOException
IOExceptionpublic abstract NetcdfDataset getNetcdfDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger) throws IOException
IOExceptionpublic abstract GridDataset getGridDataset(GribCollectionImmutable.Dataset ds, GribCollectionImmutable.GroupGC group, String filename, FeatureCollectionConfig gribConfig, Formatter errlog, org.slf4j.Logger logger) throws IOException
IOExceptionCopyright © 1999-2015 UCAR/Unidata. All Rights Reserved.