public final class Grib2ExtractRawData extends Object
| Constructor and Description |
|---|
Grib2ExtractRawData(RandomAccessFile raf)
Constructs a Grib2ExtractRawData object from a raf.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Outputs first record of raw data to STDOUT
or parms based on discipline, category, and number
|
boolean |
scan(int discipline,
int category,
int number,
int forecast,
long gOffset,
long pOffset)
scans the Grib2 file obtaining the first record or the data associated with
a parameter
|
public Grib2ExtractRawData(RandomAccessFile raf)
raf - with GRIB contentpublic final boolean scan(int discipline,
int category,
int number,
int forecast,
long gOffset,
long pOffset)
throws IOException
discipline, - parameter discipline numbercategory, - parameter category numbernumber, - parameter numberforecast - extract these timesNotSupportedException - NotSupportedExceptionIOException - on data readpublic static void main(String[] args) throws IOException
args - filenameIOException - on data readsCopyright © 1999–2014 UCAR/Unidata. All rights reserved.