public class Grib1RecordScanner
extends java.lang.Object
Grib1RecordScanner reader = new Grib1RecordScanner(raf);
while (reader.hasNext()) {
ucar.nc2.grib.grib1.Grib1Record gr = reader.next();
Grib1SectionProductDefinition pds = gr.getPDSsection();
Grib1SectionGridDefinition gds = gr.getGDSsection();
...
}
| Constructor and Description |
|---|
Grib1RecordScanner(ucar.unidata.io.RandomAccessFile raf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
static boolean |
isValidFile(ucar.unidata.io.RandomAccessFile raf) |
static void |
main(java.lang.String[] args) |
Grib1Record |
next() |
public Grib1RecordScanner(ucar.unidata.io.RandomAccessFile raf)
throws java.io.IOException
java.io.IOExceptionpublic static boolean isValidFile(ucar.unidata.io.RandomAccessFile raf)
public boolean hasNext()
throws java.io.IOException
java.io.IOExceptionpublic Grib1Record next() throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException