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
IOException
public static boolean isValidFile(RandomAccessFile raf)
public boolean hasNext() throws IOException
IOException
public Grib1Record next() throws IOException
IOException
public static void main(String[] args) throws IOException
IOException
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.