|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.grib.grib2.Grib2Data
public final class Grib2Data
A class used to extract data from a Grib2 file. see IndexFormat.txt
Constructor Summary | |
---|---|
Grib2Data(ucar.unidata.io.RandomAccessFile raf)
Constructs a Grib2Data object for a RandomAccessFile. |
Method Summary | |
---|---|
float[] |
getData(long GdsOffset,
long PdsOffset)
Reads the Grib data with a certain offsets in the file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Grib2Data(ucar.unidata.io.RandomAccessFile raf)
raf
- ucar.unidata.io.RandomAccessFile with GRIB contentMethod Detail |
---|
public final float[] getData(long GdsOffset, long PdsOffset) throws java.io.IOException
GdsOffset
- position in record where GDS startsPdsOffset
- position in record where PDS starts
java.io.IOException
- if raf does not contain a valid GRIB record.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |