public class AreaReader extends Object
| Constructor and Description |
|---|
AreaReader()
Default ctor
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public boolean init(RandomAccessFile raf, NetcdfFile ncfile) throws edu.wisc.ssec.mcidas.AreaFileException
raf - the AREA file to openncfile - the netCDF file to fill outedu.wisc.ssec.mcidas.AreaFileException - problem opening the area filepublic static boolean isValidFile(RandomAccessFile raf)
raf - the file in questionpublic Array readVariable(Variable v2, Section section) throws IOException, InvalidRangeException
v2 - the variablesection - the section info (time,x,y range);IOException - problem reading fileInvalidRangeException - range doesn't match dataCopyright © 1999–2014 UCAR/Unidata. All rights reserved.