|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.grib.grib1.Grib1Data
public final class Grib1Data
A class used to extract data from a GRIB1 file. see IndexFormat.txt
Constructor Summary | |
---|---|
Grib1Data(ucar.unidata.io.RandomAccessFile raf)
Constructs a Grib2Data object from a stream. |
Method Summary | |
---|---|
float[] |
getData(long offset,
int decimalScale,
boolean bmsExists)
Reads the Grib data |
float[] |
getData(long gdsOffset,
long dataOffset,
int decimalScale,
boolean bmsExists)
Reads the Grib data |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Grib1Data(ucar.unidata.io.RandomAccessFile raf)
raf
- ucar.unidata.io.RandomAccessFile with GRIB content.Method Detail |
---|
public final float[] getData(long gdsOffset, long dataOffset, int decimalScale, boolean bmsExists) throws java.io.IOException
gdsOffset
- PDS offset into file.dataOffset
- GDS offset into file.
java.io.IOException
public final float[] getData(long offset, int decimalScale, boolean bmsExists) throws java.io.IOException
offset
- offset into file.decimalScale
- bmsExists
-
NotSupportedException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |