public class GribCollectionMutable extends Object implements AutoCloseable
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 FeatureCollectionConfig |
config |
static int |
countGC |
protected GribTables |
cust |
protected List<GribCollectionMutable.Dataset> |
datasets |
protected File |
directory |
protected Map<Integer,MFile> |
fileMap |
protected long |
fileSize |
int |
genProcessId |
int |
genProcessType |
protected List<GribHorizCoordSystem> |
horizCS |
protected String |
indexFilename |
protected 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<Parameter> |
params |
int |
subcenter |
int |
version |
Modifier | Constructor and Description |
---|---|
protected |
GribCollectionMutable(String name,
File directory,
FeatureCollectionConfig config,
boolean isGrib1) |
public static final long MISSING_RECORD
protected String name
protected 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
protected List<GribCollectionMutable.Dataset> datasets
protected List<GribHorizCoordSystem> horizCS
protected CoordinateRuntime masterRuntime
protected GribTables cust
protected int indexVersion
protected RandomAccessFile indexRaf
protected String indexFilename
protected long lastModified
protected long fileSize
public static int countGC
protected GribCollectionMutable(String name, File directory, FeatureCollectionConfig config, boolean isGrib1)
public static String makeName(String collectionName, CalendarDate runtime)
protected void copyInfo(GribCollectionMutable from)
public String getName()
public File getDirectory()
public String getLocation()
public Collection<MFile> getFiles()
public 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 GribHorizCoordSystem getHorizCS(int index)
protected void makeHorizCS()
public int findHorizCS(GribHorizCoordSystem hcs)
public void addHorizCoordSystem(GdsHorizCoordSys hcs, byte[] rawGds, Object gdsHashObject, int predefinedGridDefinition)
public void close() throws IOException
close
in interface AutoCloseable
IOException
public GribCollectionMutable.VariableIndex makeVariableIndex(GribCollectionMutable.GroupGC g, GribTables customizer, int discipline, int center, int subcenter, byte[] rawPds, List<Integer> index, long recordsPos, int recordsLen)
public void showIndex(Formatter f)
public String showLocation()
public GribCollectionMutable.GroupGC makeGroup()
Copyright © 1999–2016 UCAR/Unidata. All rights reserved.