public class GempakSurfaceIOSP extends GempakStationFileIOSP
DIM_LEN2, DIM_LEN4, DIM_LEN8, gemreader, IMISS, MISSING_VAR, parseInfo, RMISS, TIME_VAR
location, ncfile, raf, rafOrder
Constructor and Description |
---|
GempakSurfaceIOSP() |
Modifier and Type | Method and Description |
---|---|
protected void |
fillNCFile()
Build the netCDF file
|
java.lang.String |
getCFFeatureType()
Get the CF feature type
|
java.lang.String |
getFileTypeDescription()
Get the file type description
|
java.lang.String |
getFileTypeId()
Get the file type id
|
boolean |
isValidFile(RandomAccessFile raf)
Is this a valid file?
|
protected AbstractGempakStationFileReader |
makeStationReader()
Make the station reader
|
Array |
readData(Variable v2,
Section section)
Read the data for the variable
|
addGlobalAttributes, buildNCFile, getConventions, getDetailInfo, getStnVarSize, makeMissingVariable, makeParamVariable, makeStationVariable, makeStationVars, makeStructure, open
close, getFileTypeVersion, getLastModified, getStructureIterator, reacquire, readSection, readToByteChannel, readToOutputStream, release, sendIospMessage, streamToByteChannel, syncExtend, toStringDebug
protected AbstractGempakStationFileReader makeStationReader()
makeStationReader
in class GempakStationFileIOSP
public boolean isValidFile(RandomAccessFile raf) throws java.io.IOException
isValidFile
in interface IOServiceProvider
isValidFile
in class GempakStationFileIOSP
raf
- RandomAccessFile to checkjava.io.IOException
- problem reading filepublic java.lang.String getFileTypeId()
public java.lang.String getFileTypeDescription()
public java.lang.String getCFFeatureType()
getCFFeatureType
in class GempakStationFileIOSP
public Array readData(Variable v2, Section section) throws java.io.IOException, InvalidRangeException
v2
- Variable to readsection
- section infomationjava.io.IOException
- problem reading from fileInvalidRangeException
- invalid RangeRange
protected void fillNCFile() throws java.io.IOException
fillNCFile
in class GempakStationFileIOSP
java.io.IOException
- problem reading the file