public class Grib1Iosp 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 |
|---|
Grib1Iosp() |
Grib1Iosp(GribCollectionImmutable.GroupGC gHcs,
GribCollectionImmutable.Type gtype) |
Grib1Iosp(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 void |
main(java.lang.String[] args) |
java.lang.String |
makeVariableLongName(GribCollectionImmutable.VariableIndex v) |
java.lang.String |
makeVariableLongName(int center,
int subcenter,
int version,
int paramNo,
int levelType,
boolean isLayer,
int intvType,
java.lang.String intvName,
java.lang.String probabilityName) |
static java.lang.String |
makeVariableName(Grib1Customizer cust,
FeatureCollectionConfig.GribConfig gribConfig,
Grib1SectionProductDefinition pds) |
java.lang.String |
makeVariableName(GribCollectionImmutable.VariableIndex v) |
java.lang.String |
makeVariableNameFromRecord(GribCollectionImmutable.VariableIndex v) |
protected java.lang.String |
makeVariableUnits(GribCollectionImmutable.VariableIndex vindex) |
java.lang.String |
makeVariableUnits(int center,
int subcenter,
int version,
int paramNo) |
protected float[] |
readData(RandomAccessFile rafData,
ucar.nc2.grib.collection.GribIosp.DataRecord dr) |
protected void |
show(RandomAccessFile rafData,
long dataPos) |
close, getDetailInfo, open, readData, sendIospMessage, setDebugFlags, setLookupTablePath, setParamTable, setParamTablePath, streamToByteChannelgetFileTypeVersion, getLastModified, getStructureIterator, reacquire, readSection, readToByteChannel, readToOutputStream, release, syncExtend, toStringDebugpublic Grib1Iosp()
public Grib1Iosp(GribCollectionImmutable.GroupGC gHcs, GribCollectionImmutable.Type gtype)
public Grib1Iosp(GribCollectionImmutable gc)
public java.lang.String makeVariableName(GribCollectionImmutable.VariableIndex v)
makeVariableName in class GribIosppublic java.lang.String makeVariableNameFromRecord(GribCollectionImmutable.VariableIndex v)
makeVariableNameFromRecord in class GribIosppublic static java.lang.String makeVariableName(Grib1Customizer cust, FeatureCollectionConfig.GribConfig gribConfig, Grib1SectionProductDefinition pds)
public java.lang.String makeVariableLongName(GribCollectionImmutable.VariableIndex v)
makeVariableLongName in class GribIosppublic java.lang.String makeVariableLongName(int center,
int subcenter,
int version,
int paramNo,
int levelType,
boolean isLayer,
int intvType,
java.lang.String intvName,
java.lang.String probabilityName)
protected java.lang.String makeVariableUnits(GribCollectionImmutable.VariableIndex vindex)
makeVariableUnits in class GribIosppublic java.lang.String makeVariableUnits(int center,
int subcenter,
int version,
int paramNo)
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() throws java.io.IOException
createCustomizer in class GribIospjava.io.IOExceptionprotected 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 dataPos) 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 GribIosppublic static void main(java.lang.String[] args)