public final class GempakGrib2Data
extends java.lang.Object
| Constructor and Description |
|---|
GempakGrib2Data(RandomAccessFile raf)
Constructs a GempakGrib2Data object for a RandomAccessFile.
|
GempakGrib2Data(RandomAccessFile raf,
boolean expandQuasi)
Constructs a GempakGrib2Data object for a RandomAccessFile.
|
| Modifier and Type | Method and Description |
|---|---|
float[] |
getData(long start,
long refTime)
Reads the Grib data with a certain offsets in the file.
|
public GempakGrib2Data(RandomAccessFile raf)
raf - ucar.unidata.io.RandomAccessFile with GRIB contentpublic GempakGrib2Data(RandomAccessFile raf, boolean expandQuasi)
raf - ucar.unidata.io.RandomAccessFile with GRIB content.expandQuasi - whether to expand Quasi grids, default is true.public final float[] getData(long start,
long refTime)
throws java.io.IOException
start - starting point for readsrefTime - reference time in msecsjava.io.IOException - if raf does not contain a valid GRIB record.