public class Grib2Iosp extends GribIosp
GribIosp.DataReader
config, debugGbxIndexOnly, debugIndexOnlyCount, debugRead, gHcs, GRIB_VALID_TIME, gribCollection, gribTable, gtype, isGrib1, isPartitioned, owned, VARIABLE_ID_ATTNAME
location, ncfile, raf, rafOrder
Constructor and Description |
---|
Grib2Iosp() |
Grib2Iosp(GribCollectionImmutable.GroupGC gHcs,
GribCollectionImmutable.Type gtype) |
Grib2Iosp(GribCollectionImmutable gc) |
close, getDetailInfo, open, readData, sendIospMessage, setDebugFlags, setLookupTablePath, setParamTable, setParamTablePath, streamToByteChannel
getFileTypeVersion, getLastModified, getStructureIterator, reacquire, readSection, readToByteChannel, readToOutputStream, release, syncExtend, toStringDebug
public Grib2Iosp()
public Grib2Iosp(GribCollectionImmutable.GroupGC gHcs, GribCollectionImmutable.Type gtype)
public Grib2Iosp(GribCollectionImmutable gc)
public static String makeVariableNameFromTable(Grib2Customizer tables, GribCollectionImmutable gribCollection, GribCollectionImmutable.VariableIndex vindex, boolean useGenType)
public static String makeVariableLongName(Grib2Customizer cust, GribCollectionImmutable.VariableIndex vindex, boolean useGenType)
protected String makeVariableNameFromRecord(GribCollectionImmutable.VariableIndex vindex)
makeVariableNameFromRecord
in class GribIosp
protected String makeVariableName(GribCollectionImmutable.VariableIndex vindex)
makeVariableName
in class GribIosp
protected String makeVariableLongName(GribCollectionImmutable.VariableIndex vindex)
makeVariableLongName
in class GribIosp
protected String makeVariableUnits(GribCollectionImmutable.VariableIndex vindex)
makeVariableUnits
in class GribIosp
public static String makeVariableUnits(Grib2Customizer tables, GribCollectionImmutable.VariableIndex vindex)
public boolean isValidFile(RandomAccessFile raf) throws IOException
IOServiceProvider
raf
- RandomAccessFileIOException
- if read errorpublic String getFileTypeId()
IOServiceProvider
public String getFileTypeDescription()
IOServiceProvider
protected GribTables createCustomizer()
createCustomizer
in class GribIosp
protected String getVerticalCoordDesc(int vc_code)
getVerticalCoordDesc
in class GribIosp
protected GribTables.Parameter getParameter(GribCollectionImmutable.VariableIndex vindex)
getParameter
in class GribIosp
protected void addVariableAttributes(Variable v, GribCollectionImmutable.VariableIndex vindex)
addVariableAttributes
in class GribIosp
protected void show(RandomAccessFile rafData, long pos) throws IOException
show
in class GribIosp
IOException
protected float[] readData(RandomAccessFile rafData, ucar.nc2.grib.collection.GribIosp.DataRecord dr) throws IOException
readData
in class GribIosp
IOException
public Object getLastRecordRead()
getLastRecordRead
in class GribIosp
public void clearLastRecordRead()
clearLastRecordRead
in class GribIosp
public Object getGribCustomizer()
getGribCustomizer
in class GribIosp
Copyright © 1999–2017 UCAR/Unidata. All rights reserved.