public class Grib2Iosp extends GribIosp
GribIosp.DataReaderconfig, debugGbxIndexOnly, debugIndexOnlyCount, debugRead, gHcs, GRIB_VALID_TIME, gribCollection, gribTable, gtype, isGrib1, isPartitioned, owned, VARIABLE_ID_ATTNAMElocation, ncfile, raf, rafOrder| Constructor and Description |
|---|
Grib2Iosp() |
Grib2Iosp(GribCollectionImmutable.GroupGC gHcs,
GribCollectionImmutable.Type gtype) |
Grib2Iosp(GribCollectionImmutable gc) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addVariableAttributes(Variable v,
GribCollectionImmutable.VariableIndex vindex) |
void |
clearLastRecordRead() |
protected GribTables |
createCustomizer() |
java.lang.String |
getFileTypeDescription()
Get a human-readable description for this file type.
|
java.lang.String |
getFileTypeId()
Get a unique id for this file type.
|
java.lang.Object |
getGribCustomizer() |
java.lang.Object |
getLastRecordRead() |
protected GribTables.Parameter |
getParameter(GribCollectionImmutable.VariableIndex vindex) |
protected java.lang.String |
getVerticalCoordDesc(int vc_code) |
boolean |
isValidFile(RandomAccessFile raf)
Check if this is a valid file for this IOServiceProvider.
|
static java.lang.String |
makeVariableLongName(Grib2Customizer cust,
GribCollectionImmutable.VariableIndex vindex,
boolean useGenType) |
protected java.lang.String |
makeVariableLongName(GribCollectionImmutable.VariableIndex vindex) |
protected java.lang.String |
makeVariableName(GribCollectionImmutable.VariableIndex vindex) |
protected java.lang.String |
makeVariableNameFromRecord(GribCollectionImmutable.VariableIndex vindex) |
static java.lang.String |
makeVariableNameFromTable(Grib2Customizer tables,
GribCollectionImmutable gribCollection,
GribCollectionImmutable.VariableIndex vindex,
boolean useGenType) |
static java.lang.String |
makeVariableUnits(Grib2Customizer tables,
GribCollectionImmutable.VariableIndex vindex) |
protected java.lang.String |
makeVariableUnits(GribCollectionImmutable.VariableIndex vindex) |
protected float[] |
readData(RandomAccessFile rafData,
ucar.nc2.grib.collection.GribIosp.DataRecord dr) |
protected void |
show(RandomAccessFile rafData,
long pos) |
close, getDetailInfo, open, readData, sendIospMessage, setDebugFlags, setLookupTablePath, setParamTable, setParamTablePath, streamToByteChannelgetFileTypeVersion, getLastModified, getStructureIterator, reacquire, readSection, readToByteChannel, readToOutputStream, release, syncExtend, toStringDebugpublic Grib2Iosp()
public Grib2Iosp(GribCollectionImmutable.GroupGC gHcs, GribCollectionImmutable.Type gtype)
public Grib2Iosp(GribCollectionImmutable gc)
public static java.lang.String makeVariableNameFromTable(Grib2Customizer tables, GribCollectionImmutable gribCollection, GribCollectionImmutable.VariableIndex vindex, boolean useGenType)
public static java.lang.String makeVariableLongName(Grib2Customizer cust, GribCollectionImmutable.VariableIndex vindex, boolean useGenType)
protected java.lang.String makeVariableNameFromRecord(GribCollectionImmutable.VariableIndex vindex)
makeVariableNameFromRecord in class GribIospprotected java.lang.String makeVariableName(GribCollectionImmutable.VariableIndex vindex)
makeVariableName in class GribIospprotected java.lang.String makeVariableLongName(GribCollectionImmutable.VariableIndex vindex)
makeVariableLongName in class GribIospprotected java.lang.String makeVariableUnits(GribCollectionImmutable.VariableIndex vindex)
makeVariableUnits in class GribIosppublic static java.lang.String makeVariableUnits(Grib2Customizer tables, GribCollectionImmutable.VariableIndex vindex)
public boolean isValidFile(RandomAccessFile raf) throws java.io.IOException
IOServiceProviderraf - RandomAccessFilejava.io.IOException - if read errorpublic java.lang.String getFileTypeId()
IOServiceProviderpublic java.lang.String getFileTypeDescription()
IOServiceProviderprotected GribTables createCustomizer()
createCustomizer in class GribIospprotected java.lang.String getVerticalCoordDesc(int vc_code)
getVerticalCoordDesc in class GribIospprotected GribTables.Parameter getParameter(GribCollectionImmutable.VariableIndex vindex)
getParameter in class GribIospprotected void addVariableAttributes(Variable v, GribCollectionImmutable.VariableIndex vindex)
addVariableAttributes in class GribIospprotected void show(RandomAccessFile rafData, long pos) throws java.io.IOException
protected float[] readData(RandomAccessFile rafData, ucar.nc2.grib.collection.GribIosp.DataRecord dr) throws java.io.IOException
public java.lang.Object getLastRecordRead()
getLastRecordRead in class GribIosppublic void clearLastRecordRead()
clearLastRecordRead in class GribIosppublic java.lang.Object getGribCustomizer()
getGribCustomizer in class GribIosp