public class GribCollectionMutable extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
class |
GribCollectionMutable.Dataset |
class |
GribCollectionMutable.GroupGC |
static class |
GribCollectionMutable.Record |
class |
GribCollectionMutable.VariableIndex |
| Modifier and Type | Field and Description |
|---|---|
int |
backProcessId |
int |
center |
protected thredds.featurecollection.FeatureCollectionConfig |
config |
static int |
countGC |
protected GribTables |
cust |
protected List<GribCollectionMutable.Dataset> |
datasets |
protected ucar.nc2.time.CalendarDateRange |
dateRange |
protected File |
directory |
protected Map<Integer,thredds.inventory.MFile> |
fileMap |
protected long |
fileSize |
int |
genProcessId |
int |
genProcessType |
protected String |
indexFilename |
protected ucar.unidata.io.RandomAccessFile |
indexRaf |
protected int |
indexVersion |
protected boolean |
isGrib1 |
protected long |
lastModified |
int |
local |
int |
master |
protected CoordinateRuntime |
masterRuntime |
static long |
MISSING_RECORD |
protected String |
name |
protected String |
orgDirectory |
List<ucar.unidata.util.Parameter> |
params |
int |
subcenter |
int |
version |
| Modifier | Constructor and Description |
|---|---|
protected |
GribCollectionMutable(String name,
File directory,
thredds.featurecollection.FeatureCollectionConfig config,
boolean isGrib1) |
public static final long MISSING_RECORD
protected String name
protected thredds.featurecollection.FeatureCollectionConfig config
protected boolean isGrib1
protected File directory
protected String orgDirectory
public int version
public int center
public int subcenter
public int master
public int local
public int genProcessType
public int genProcessId
public int backProcessId
public List<ucar.unidata.util.Parameter> params
protected List<GribCollectionMutable.Dataset> datasets
protected CoordinateRuntime masterRuntime
protected GribTables cust
protected int indexVersion
protected ucar.nc2.time.CalendarDateRange dateRange
protected ucar.unidata.io.RandomAccessFile indexRaf
protected String indexFilename
protected long lastModified
protected long fileSize
public static int countGC
public void setCalendarDateRange(long startMsecs,
long endMsecs)
protected void copyInfo(GribCollectionMutable from)
public String getName()
public File getDirectory()
public String getLocation()
public Collection<thredds.inventory.MFile> getFiles()
public thredds.featurecollection.FeatureCollectionConfig getConfig()
public List<String> getFilenames()
public File getIndexParentFile()
public String getFilename(int fileno)
public List<GribCollectionMutable.Dataset> getDatasets()
public GribCollectionMutable.Dataset makeDataset(GribCollectionImmutable.Type type)
public GribCollectionMutable.Dataset getDatasetCanonical()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic GribCollectionMutable.VariableIndex makeVariableIndex(GribCollectionMutable.GroupGC g, GribTables customizer, int discipline, int center, int subcenter, byte[] rawPds, List<Integer> index, long recordsPos, int recordsLen)
public GribCollectionMutable.VariableIndex makeVariableIndex(GribCollectionMutable.GroupGC group, GribCollectionMutable.VariableIndex from)
public void showIndex(Formatter f)
public String showLocation()
public GribCollectionMutable.GroupGC makeGroup()