public class Grib1RecordScanner extends 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(RandomAccessFile raf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
static boolean |
isValidFile(RandomAccessFile raf) |
static void |
main(String[] args) |
Grib1Record |
next() |
public Grib1RecordScanner(RandomAccessFile raf) throws IOException
IOExceptionpublic static boolean isValidFile(RandomAccessFile raf)
public boolean hasNext()
throws IOException
IOExceptionpublic Grib1Record next() throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 1999–2014 UCAR/Unidata. All rights reserved.