|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.nc2.iosp.gempak.GempakGrib2Data
public final class GempakGrib2Data
A class used to extract Grib2 data from a Gempak file. see IndexFormat.txt
| Constructor Summary | |
|---|---|
GempakGrib2Data(RandomAccessFile raf)
Constructs a GempakGrib2Data object for a RandomAccessFile. |
|
GempakGrib2Data(RandomAccessFile raf,
boolean expandQuasi)
Constructs a GempakGrib2Data object for a RandomAccessFile. |
|
| Method Summary | |
|---|---|
float[] |
getData(long start,
long refTime)
Reads the Grib data with a certain offsets in the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GempakGrib2Data(RandomAccessFile raf)
raf - ucar.unidata.io.RandomAccessFile with GRIB content
public GempakGrib2Data(RandomAccessFile raf,
boolean expandQuasi)
raf - ucar.unidata.io.RandomAccessFile with GRIB content.expandQuasi - whether to expand Quasi grids, default is true.| Method Detail |
|---|
public final float[] getData(long start,
long refTime)
throws IOException
start - starting point for readsrefTime - reference time in msecs
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 | ||||||||