|
||||||||||
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(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(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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean getParameter
Constructor Detail |
---|
public Grib1ExtractRawData(RandomAccessFile raf)
raf
- with GRIB contentMethod Detail |
---|
public final boolean scan(int[] parm) throws NotSupportedException, IOException
parm
-
NotSupportedException
IOException
- if raf does not contain a valid GRIB recordpublic final int getEdition() throws IOException, NotSupportedException
NotSupportedException
IOException
public static void main(String[] args) throws IOException, NotSupportedException
args
- filename
IOException
NotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |