public class Grib1Iosp 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 |
---|
Grib1Iosp() |
Grib1Iosp(GribCollectionImmutable.GroupGC gHcs,
GribCollectionImmutable.Type gtype) |
Grib1Iosp(GribCollectionImmutable gc) |
close, getDetailInfo, open, readData, sendIospMessage, setDebugFlags, setLookupTablePath, setParamTable, setParamTablePath, streamToByteChannel
getFileTypeVersion, getLastModified, getStructureIterator, reacquire, readSection, readToByteChannel, readToOutputStream, release, syncExtend, toStringDebug
public Grib1Iosp()
public Grib1Iosp(GribCollectionImmutable.GroupGC gHcs, GribCollectionImmutable.Type gtype)
public Grib1Iosp(GribCollectionImmutable gc)
public String makeVariableName(GribCollectionImmutable.VariableIndex v)
makeVariableName
in class GribIosp
public String makeVariableNameFromRecord(GribCollectionImmutable.VariableIndex v)
makeVariableNameFromRecord
in class GribIosp
public static String makeVariableName(Grib1Customizer cust, FeatureCollectionConfig.GribConfig gribConfig, Grib1SectionProductDefinition pds)
public String makeVariableLongName(GribCollectionImmutable.VariableIndex v)
makeVariableLongName
in class GribIosp
public String makeVariableLongName(int center, int subcenter, int version, int paramNo, int levelType, boolean isLayer, int intvType, String intvName, String probabilityName)
protected String makeVariableUnits(GribCollectionImmutable.VariableIndex vindex)
makeVariableUnits
in class GribIosp
public String makeVariableUnits(int center, int subcenter, int version, int paramNo)
public boolean isValidFile(RandomAccessFile raf) throws IOException
IOServiceProvider
raf
- RandomAccessFileIOException
- if read errorpublic String getFileTypeId()
IOServiceProvider
public String getFileTypeDescription()
IOServiceProvider
protected GribTables createCustomizer() throws IOException
createCustomizer
in class GribIosp
IOException
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 dataPos) 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
public static void main(String[] args)
Copyright © 1999–2016 UCAR/Unidata. All rights reserved.