|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.nc2.iosp.AbstractIOServiceProvider
ucar.nc2.iosp.gempak.GempakStationFileIOSP
ucar.nc2.iosp.gempak.GempakSurfaceIOSP
public class GempakSurfaceIOSP
An IOSP for Gempak Surface data.
| Nested Class Summary | |
|---|---|
protected static class |
GempakSurfaceIOSP.MakeNetcdfFile
TODO: generalize this static class for testing |
| Field Summary |
|---|
| Fields inherited from class ucar.nc2.iosp.gempak.GempakStationFileIOSP |
|---|
DIM_LEN2, DIM_LEN4, DIM_LEN8, gemreader, IMISS, MISSING_VAR, ncfile, parseInfo, raf, RMISS, TIME_VAR |
| Constructor Summary | |
|---|---|
GempakSurfaceIOSP()
|
|
| Method Summary | |
|---|---|
protected void |
fillNCFile()
Build the netCDF file |
String |
getCFFeatureType()
Get the CF feature type |
String |
getFileTypeDescription()
Get the file type description |
String |
getFileTypeId()
Get the file type id |
boolean |
isValidFile(RandomAccessFile raf)
Is this a valid file? |
static void |
main(String[] args)
Test this. |
protected AbstractGempakStationFileReader |
makeStationReader()
Make the station reader |
Array |
readData(Variable v2,
Section section)
Read the data for the variable |
| Methods inherited from class ucar.nc2.iosp.gempak.GempakStationFileIOSP |
|---|
addGlobalAttributes, buildNCFile, close, getConventions, getDetailInfo, getStackTrace, getStnVarSize, makeMissingVariable, makeParamVariable, makeStationVariable, makeStationVars, makeStructure, open, printStack, sync, syncExtend |
| Methods inherited from class ucar.nc2.iosp.AbstractIOServiceProvider |
|---|
createValidNetcdfObjectName, getFileTypeVersion, getStructureIterator, readSection, readToByteChannel, sendIospMessage, toStringDebug |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GempakSurfaceIOSP()
| Method Detail |
|---|
protected AbstractGempakStationFileReader makeStationReader()
makeStationReader in class GempakStationFileIOSP
public boolean isValidFile(RandomAccessFile raf)
throws IOException
isValidFile in interface IOServiceProviderisValidFile in class GempakStationFileIOSPraf - RandomAccessFile to check
IOException - problem reading filepublic String getFileTypeId()
public String getFileTypeDescription()
public String getCFFeatureType()
getCFFeatureType in class GempakStationFileIOSP
public Array readData(Variable v2,
Section section)
throws IOException,
InvalidRangeException
v2 - Variable to readsection - section infomation
IOException - problem reading from file
InvalidRangeException - invalid RangeRange
public static void main(String[] args)
throws IOException
args - file name
IOException - problem reading the file
protected void fillNCFile()
throws IOException
fillNCFile in class GempakStationFileIOSPIOException - problem reading the file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||