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