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, TIMEdmLabel, fileHeaderInfo, fileSize, headers, keys, MTMACH, mvmst, needToSwap, parts, rfCOL, 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, readStationsAndTimesDM_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, readPartspublic 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 AbstractGempakStationFileReaderjava.io.IOException - problem reading the dataprotected boolean init(boolean fullCheck)
throws java.io.IOException
init in class AbstractGempakStationFileReaderfullCheck - 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 AbstractGempakStationFileReaderuniqueTimes - true to make a unique listprotected void makeFileSubType()
makeFileSubType in class AbstractGempakStationFileReaderpublic void printOb(int row,
int col)
row - ob rowcol - ob columnpublic java.lang.String getSurfaceFileType()