|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.iosp.mcidas.AreaReader
public class AreaReader
Class to read an AREA file and create a netCDF data structure from it.
Constructor Summary | |
---|---|
AreaReader()
Default ctor |
Method Summary | |
---|---|
boolean |
init(RandomAccessFile raf,
NetcdfFile ncfile)
initialize with the file |
static boolean |
isValidFile(RandomAccessFile raf)
Check to see if this is a valid AREA file. |
Array |
readVariable(Variable v2,
Section section)
Read the values for a variable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AreaReader()
Method Detail |
---|
public boolean init(RandomAccessFile raf, NetcdfFile ncfile) throws edu.wisc.ssec.mcidas.AreaFileException
raf
- the AREA file to openncfile
- the netCDF file to fill out
edu.wisc.ssec.mcidas.AreaFileException
- problem opening the area filepublic static boolean isValidFile(RandomAccessFile raf)
raf
- the file in question
public Array readVariable(Variable v2, Section section) throws IOException, InvalidRangeException
v2
- the variablesection
- the section info (time,x,y range);
IOException
- problem reading file
InvalidRangeException
- range doesn't match data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |