|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.grib.GribIndexReader
public class GribIndexReader
Reads either a binary or text index and returns a GridIndex. For GRIB 1 or 2
| Constructor Summary | |
|---|---|
GribIndexReader()
Constructor for creating an Index from the Grib file. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
testing |
GridIndex |
open(String location)
open Grib Index file for scanning. |
GridIndex |
open(String location,
InputStream ios)
open Grib Index file for scanning. |
void |
populateGDS1(GribGridDefRecord ggdr,
Grib1GDSVariables gdsv,
int gdskey)
Populates a GridDefRecord according to Projection. |
void |
populateGDS2(GribGridDefRecord ggdr,
Grib2GDSVariables gdsv,
int gdskey)
Populates a GridDefRecord according to Projection. |
void |
setDebug(boolean flag)
|
void |
setVerbose(boolean flag)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GribIndexReader()
| Method Detail |
|---|
public final GridIndex open(String location)
throws IOException
location - URL or local filename of Grib Index file
IOException - on read error
public final GridIndex open(String location,
InputStream ios)
throws IOException
location - URL or local filename of Grib Index fileios - input stream
IOException - on read error
public void populateGDS2(GribGridDefRecord ggdr,
Grib2GDSVariables gdsv,
int gdskey)
ggdr - GridDefRecordgdsv - Grib2GDSVariables gdsvgdskey - key for this gds
public void populateGDS1(GribGridDefRecord ggdr,
Grib1GDSVariables gdsv,
int gdskey)
ggdr - GridDefRecordgdsv - Grib1GDSVariables gdsvpublic void setDebug(boolean flag)
public void setVerbose(boolean flag)
public static void main(String[] args)
throws IOException
args - index to read
IOException - on read error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||