|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.grib.grib1.Grib1ExtractRawData
public final class Grib1ExtractRawData
A class that scans a GRIB file to extract product information.
| Field Summary | |
|---|---|
static boolean |
getParameter
|
| Constructor Summary | |
|---|---|
Grib1ExtractRawData(ucar.unidata.io.RandomAccessFile raf)
Constructs a Grib1Input object from a raf. |
|
| Method Summary | |
|---|---|
int |
getEdition()
Grib edition number 1, 2 or 0 not a Grib file. |
static void |
main(java.lang.String[] args)
Outputs first record of raw data to STDOUT or parms based on discipline, category, and number |
boolean |
scan(int[] parm)
scans a Grib file to gather information that could be used to create an index or dump the metadata contents. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean getParameter
| Constructor Detail |
|---|
public Grib1ExtractRawData(ucar.unidata.io.RandomAccessFile raf)
raf - with GRIB content| Method Detail |
|---|
public final boolean scan(int[] parm)
throws NotSupportedException,
java.io.IOException
parm -
NotSupportedException
java.io.IOException - if raf does not contain a valid GRIB record
public final int getEdition()
throws java.io.IOException,
NotSupportedException
NotSupportedException
java.io.IOException
public static void main(java.lang.String[] args)
throws java.io.IOException,
NotSupportedException
args - filename
java.io.IOException
NotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||