Methods
| Modifier and Type |
Method and Description |
void |
addHorizCoordSystem(GdsHorizCoordSys hcs,
byte[] rawGds,
int gdsHash,
String nameOverride,
int predefinedGridDefinition) |
void |
close() |
protected void |
copyInfo(GribCollection from) |
static void |
disableDataRafCache() |
GribCollection.Dataset |
findDataset(String name) |
int |
findHorizCS(GribCollection.HorizCoordSys hcs) |
MFile |
findMFileByName(String filename) |
int |
getBackProcessId() |
int |
getCenter() |
FeatureCollectionConfig |
getConfig() |
String |
getDataFilename(int fileno) |
RandomAccessFile |
getDataRaf(int fileno) |
static FileCacheIF |
getDataRafCache() |
GribCollection.Dataset |
getDatasetCanonical() |
List<GribCollection.Dataset> |
getDatasets() |
File |
getDirectory() |
static DiskCache2 |
getDiskCache2() |
static File |
getExistingFileOrCache(String path) |
static File |
getFileInCache(File f) |
static File |
getFileInCache(String path)
Get index file, may be in cache directory, may not exist
|
String |
getFilename(int fileno) |
List<String> |
getFilenames()
The files that comprise the colelction.
|
Collection<MFile> |
getFiles() |
int |
getGenProcessId() |
int |
getGenProcessType() |
abstract GridDataset |
getGridDataset(GribCollection.Dataset ds,
GribCollection.GroupGC group,
String filename,
FeatureCollectionConfig gribConfig,
Formatter errlog,
org.slf4j.Logger logger) |
GribCollection.HorizCoordSys |
getHorizCS(int index) |
String |
getIndexFilepathInCache()
get index filename
|
File |
getIndexParentFile() |
long |
getLastModified() |
int |
getLocal() |
String |
getLocation() |
int |
getMaster() |
CoordinateRuntime |
getMasterRuntime() |
String |
getName() |
abstract NetcdfDataset |
getNetcdfDataset(GribCollection.Dataset ds,
GribCollection.GroupGC group,
String filename,
FeatureCollectionConfig gribConfig,
Formatter errlog,
org.slf4j.Logger logger) |
List<Parameter> |
getParams() |
int |
getSubcenter() |
static void |
initDataRafCache(int minElementsInMemory,
int maxElementsInMemory,
int period) |
boolean |
isGrib1() |
GribCollection.Dataset |
makeDataset(GribCollection.Type type) |
GribCollection.GroupGC |
makeGroup() |
protected void |
makeHorizCS() |
static String |
makeName(String collectionName,
CalendarDate runtime) |
static String |
makeNameFromIndexFilename(String idxPathname) |
static File |
makeTopIndexFileFromConfig(FeatureCollectionConfig config)
This is only used for the top level GribCollection.
|
GribCollection.VariableIndex |
makeVariableIndex(GribCollection.GroupGC g,
GribCollection.VariableIndex other) |
GribCollection.VariableIndex |
makeVariableIndex(GribCollection.GroupGC g,
int cdmHash,
int discipline,
GribTables customizer,
byte[] rawPds,
List<Integer> index,
long recordsPos,
int recordsLen) |
abstract String |
makeVariableName(GribCollection.VariableIndex vindex) |
void |
setDirectory(File directory) |
static void |
setDiskCache2(DiskCache2 dc) |
void |
setFileCache(FileCacheIF fileCache) |
void |
setFileMap(Map<Integer,MFile> fileMap) |
void |
showIndex(Formatter f) |
String |
toString() |