|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.bufr.BufrInput
public final class BufrInput
A class that scans a BUFR file to extract product information. Also it is used to check if this is a valid BUFR file and count the total number of obs in the file.
| Constructor Summary | |
|---|---|
BufrInput(ucar.unidata.io.RandomAccessFile raf)
Constructs a BufrInput object from a raf. |
|
| Method Summary | |
|---|---|
java.util.ArrayList |
getRecords()
Get records of the BUFR file. |
int |
getTotalObs()
Get total number of observations in the BUFR file. |
boolean |
isValidFile()
is this a valid Bufr file. |
void |
scan(boolean oneRecord,
boolean getData)
scans a Bufr file to gather metadata and data. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BufrInput(ucar.unidata.io.RandomAccessFile raf)
raf - with BUFR content| Method Detail |
|---|
public final void scan(boolean oneRecord,
boolean getData)
throws java.io.IOException
oneRecord - returns after processing one record in the Bufr file.getData - decodes the data.
java.io.IOException - if raf does not contain a valid BUFR record
public final boolean isValidFile()
throws java.io.IOException
java.io.IOExceptionpublic final java.util.ArrayList getRecords()
public final int getTotalObs()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||