|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.bufr.BufrDataExtractor
public final class BufrDataExtractor
A class used to extract one ob or one set of obs from a Bufr file by using fields DDSoffset, ObsOffset, BitPos, and BitBuf from a BUFR Index. A BUFR index is created by the BufrIndexer class. see IndexFormat.txt
| Constructor Summary | |
|---|---|
BufrDataExtractor(ucar.unidata.io.RandomAccessFile raf,
java.lang.String MasterTableFilename)
Constructs a BufrDataExtractor object for a RandomAccessFile. |
|
| Method Summary | |
|---|---|
java.util.HashMap |
getBufrDatas()
the bufrdatas (fields) for this dataset. |
boolean |
getData(long DDSOffset,
long ObsOffset,
int bitPos,
int bitBuf)
reads the Bufrdatas (fields) with a certain offsets in the file. |
java.util.ArrayList |
getDorder()
the order of bufrdatas (fields) for this dataset. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BufrDataExtractor(ucar.unidata.io.RandomAccessFile raf,
java.lang.String MasterTableFilename)
raf - ucar.unidata.io.RandomAccessFile with BUFR contentMasterTableFilename - | Method Detail |
|---|
public final boolean getData(long DDSOffset,
long ObsOffset,
int bitPos,
int bitBuf)
throws java.io.IOException
DDSOffset - ObsOffset - bitPos - bitBuf -
java.io.IOException - if raf does not contain a valid BUFR record.public final java.util.HashMap getBufrDatas()
public final java.util.ArrayList getDorder()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||