public final class Grib2Data extends Object
| Constructor and Description |
|---|
Grib2Data(RandomAccessFile raf)
Constructs a Grib2Data object for a RandomAccessFile.
|
| Modifier and Type | Method and Description |
|---|---|
float[] |
getData(long gdsOffset,
long pdsOffset,
long refTime)
Reads the Grib data with a certain offsets in the file.
|
public Grib2Data(RandomAccessFile raf)
raf - ucar.unidata.io.RandomAccessFile with GRIB contentpublic final float[] getData(long gdsOffset,
long pdsOffset,
long refTime)
throws IOException
gdsOffset - position in record where GDS startspdsOffset - position in record where PDS startsrefTime - reference time in msecs LOOK WTF ??IOException - if raf does not contain a valid GRIB record.Copyright © 1999-2013 UCAR/Unidata. All Rights Reserved.