public class Grib2PartitionBuilderFromIndex
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected thredds.featurecollection.FeatureCollectionConfig |
config |
protected Grib2Customizer |
cust |
protected static boolean |
debug |
protected GribCollectionMutable |
gc |
protected org.slf4j.Logger |
logger |
protected static boolean |
stackTrace |
protected GribTables |
tables |
| Modifier and Type | Method and Description |
|---|---|
void |
assignRuntimeNames(java.util.Map<CoordinateRuntime,CoordinateRuntime> runtimes,
java.util.List<CoordinateTime2D> time2DCoords,
java.lang.String groupId) |
void |
assignVertNames(java.util.List<CoordinateVert> vertCoords) |
static Coordinate.Type |
convertAxisType(GribCollectionProto.GribAxisType type) |
static Grib2Partition |
createTimePartitionFromIndex(java.lang.String name,
ucar.unidata.io.RandomAccessFile raf,
thredds.featurecollection.FeatureCollectionConfig config,
org.slf4j.Logger logger) |
protected java.lang.String |
getLevelNameShort(int levelCode) |
java.lang.String |
getMagicStart() |
protected int |
getMinVersion() |
protected int |
getVersion() |
protected GribTables |
makeCustomizer() |
protected java.lang.String |
makeHorizCoordSysName(GdsHorizCoordSys hcs) |
static GribCollectionMutable |
openMutableGCFromIndex(java.lang.String name,
ucar.unidata.io.RandomAccessFile raf,
thredds.featurecollection.FeatureCollectionConfig config,
org.slf4j.Logger logger) |
static PartitionCollectionMutable |
openMutablePCFromIndex(java.lang.String name,
ucar.unidata.io.RandomAccessFile raf,
thredds.featurecollection.FeatureCollectionConfig config,
org.slf4j.Logger logger) |
protected boolean |
readExtensions(GribCollectionProto.GribCollection proto) |
static Grib2Collection |
readFromIndex(java.lang.String name,
ucar.unidata.io.RandomAccessFile raf,
thredds.featurecollection.FeatureCollectionConfig config,
org.slf4j.Logger logger) |
protected GribHorizCoordSystem |
readGds(GribCollectionProto.Gds p) |
protected GribCollectionMutable.GroupGC |
readGroup(GribCollectionProto.Group p) |
protected boolean |
readIndex(ucar.unidata.io.RandomAccessFile raf) |
protected GribCollectionMutable.VariableIndex |
readVariable(GribCollectionMutable.GroupGC group,
GribCollectionProto.Variable pv) |
protected GribCollectionMutable.VariableIndex |
readVariableExtensions(GribCollectionMutable.GroupGC group,
GribCollectionProto.Variable proto,
GribCollectionMutable.VariableIndex vi) |
protected Grib2Customizer cust
protected static final boolean debug
protected static final boolean stackTrace
protected GribCollectionMutable gc
protected final org.slf4j.Logger logger
protected final thredds.featurecollection.FeatureCollectionConfig config
protected GribTables tables
public static Grib2Partition createTimePartitionFromIndex(java.lang.String name, ucar.unidata.io.RandomAccessFile raf, thredds.featurecollection.FeatureCollectionConfig config, org.slf4j.Logger logger) throws java.io.IOException
java.io.IOExceptionpublic static PartitionCollectionMutable openMutablePCFromIndex(java.lang.String name, ucar.unidata.io.RandomAccessFile raf, thredds.featurecollection.FeatureCollectionConfig config, org.slf4j.Logger logger) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getMagicStart()
protected boolean readExtensions(GribCollectionProto.GribCollection proto)
protected GribCollectionMutable.VariableIndex readVariableExtensions(GribCollectionMutable.GroupGC group, GribCollectionProto.Variable proto, GribCollectionMutable.VariableIndex vi)
public static Grib2Collection readFromIndex(java.lang.String name, ucar.unidata.io.RandomAccessFile raf, thredds.featurecollection.FeatureCollectionConfig config, org.slf4j.Logger logger) throws java.io.IOException
java.io.IOExceptionpublic static GribCollectionMutable openMutableGCFromIndex(java.lang.String name, ucar.unidata.io.RandomAccessFile raf, thredds.featurecollection.FeatureCollectionConfig config, org.slf4j.Logger logger) throws java.io.IOException
java.io.IOExceptionprotected int getVersion()
protected int getMinVersion()
protected GribTables makeCustomizer()
protected java.lang.String getLevelNameShort(int levelCode)
protected GribHorizCoordSystem readGds(GribCollectionProto.Gds p)
protected boolean readIndex(ucar.unidata.io.RandomAccessFile raf)
throws java.io.IOException
java.io.IOExceptionprotected GribCollectionMutable.GroupGC readGroup(GribCollectionProto.Group p)
public void assignVertNames(java.util.List<CoordinateVert> vertCoords)
public void assignRuntimeNames(java.util.Map<CoordinateRuntime,CoordinateRuntime> runtimes, java.util.List<CoordinateTime2D> time2DCoords, java.lang.String groupId)
protected GribCollectionMutable.VariableIndex readVariable(GribCollectionMutable.GroupGC group, GribCollectionProto.Variable pv)
public static Coordinate.Type convertAxisType(GribCollectionProto.GribAxisType type)
protected java.lang.String makeHorizCoordSysName(GdsHorizCoordSys hcs)