public class GempakSurfaceFileReader extends AbstractGempakStationFileReader
GempakFileReader.DMFileHeaderInfo, GempakFileReader.DMHeaders, GempakFileReader.DMKeys, GempakFileReader.DMParam, GempakFileReader.DMPart, GempakFileReader.Key, GempakFileReader.PackingInfo, GempakFileReader.RData
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SFSP
Surface Data identifier
|
DATE, subType, TIME
dmLabel, fileHeaderInfo, fileSize, headers, keys, MTMACH, mvmst, needToSwap, parts, rf
COL, IMISSD, LLGDHD, LLNANL, LLNNAV, LLSTHL, MBLKSZ, MDCHAR, MDGDEC, MDGDIF, MDGGRB, MDGNMC, MDGNON, MDGRB2, MDGRID, MDINTG, MDREAL, MDRPCK, MFGD, MFSF, MFSN, MTALPH, MTAPOL, MTHP, MTIBM, MTIGPH, MTIRIS, MTLNUX, MTSUN, MTULTX, MTVAX, RDIFFD, RMISSD, ROW
Modifier and Type | Method and Description |
---|---|
static GempakSurfaceFileReader |
getInstance(RandomAccessFile raf,
boolean fullCheck)
Initialize the file, read in all the metadata (ala DM_OPEN)
|
java.lang.String |
getSurfaceFileType()
Get the type for this file
|
protected boolean |
init()
Initialize this reader.
|
protected boolean |
init(boolean fullCheck)
Initialize this reader.
|
protected java.util.List<java.lang.String> |
makeDateList(boolean uniqueTimes)
Make the list of dates.
|
protected void |
makeFileSubType()
Set the file subType.
|
void |
printOb(int row,
int col)
Print the list of dates in the file
|
findStationIndex, getDates, getDateString, getFileSubType, getFileType, getParameters, getStationKeyNames, getStations, printDates, printStations, readStationsAndTimes
DM_RDTR, DM_RDTR, DM_RFLT, DM_RFLT, DM_RFLT, DM_RINT, DM_RINT, DM_RINT, DM_RPKG, DM_RSTR, DM_RSTR, DM_UNPK, findFileHeader, findKey, getBits, getByteOrder, getByteOrder, getDataPointer, getErrorMessage, getFile, getFileHeader, getFilename, getInitFileSize, getOffset, getPart, getPartNumber, init, logError, printFileLabel, printHeaders, printKeys, printParts, readFileHeaderInfo, readHeaders, readKeys, readParts
public static final java.lang.String SFSP
public static GempakSurfaceFileReader getInstance(RandomAccessFile raf, boolean fullCheck) throws java.io.IOException
raf
- RandomAccessFile to read.fullCheck
- if true, check entire structurejava.io.IOException
- problem reading fileprotected boolean init() throws java.io.IOException
init
in class AbstractGempakStationFileReader
java.io.IOException
- problem reading the dataprotected boolean init(boolean fullCheck) throws java.io.IOException
init
in class AbstractGempakStationFileReader
fullCheck
- check to make sure there are grids we can handlejava.io.IOException
- problem reading the dataprotected java.util.List<java.lang.String> makeDateList(boolean uniqueTimes)
makeDateList
in class AbstractGempakStationFileReader
uniqueTimes
- true to make a unique listprotected void makeFileSubType()
makeFileSubType
in class AbstractGempakStationFileReader
public void printOb(int row, int col)
row
- ob rowcol
- ob columnpublic java.lang.String getSurfaceFileType()