ucar.grib
Class ShowGribIndex

java.lang.Object
  extended by ucar.grib.ShowGribIndex

public class ShowGribIndex
extends java.lang.Object

Displays the binary or text index to stdout


Constructor Summary
ShowGribIndex()
          Constructor for displaying an Index from the Grib file.
 
Method Summary
 void Grib1GDS(Grib1GDSVariables gdsv)
          Prints Projection Variables.
 void Grib2GDS(Grib2GDSVariables gdsv)
          Prints the Projection variables.
static void main(java.lang.String[] args)
          main.
 void open(java.lang.String location)
          open Grib Index file for scanning.
 void open(java.lang.String location, java.io.InputStream ios)
          open Grib Index file for scanning.
 void openText(java.lang.String location)
          open Grib Text Index file for scanning.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowGribIndex

public ShowGribIndex()
Constructor for displaying an Index from the Grib file.

Method Detail

open

public final void open(java.lang.String location)
                throws java.io.IOException
open Grib Index file for scanning.

Parameters:
location - URL or local filename of Grib Index file
Throws:
java.io.IOException

open

public final void open(java.lang.String location,
                       java.io.InputStream ios)
                throws java.io.IOException
open Grib Index file for scanning.

Parameters:
location - URL or local filename of Grib Index file
ios - input stream
Throws:
java.io.IOException

Grib2GDS

public void Grib2GDS(Grib2GDSVariables gdsv)
Prints the Projection variables.

Parameters:
gdsv - Grib2GDSVariables gdsv

Grib1GDS

public void Grib1GDS(Grib1GDSVariables gdsv)
Prints Projection Variables.

Parameters:
gdsv - Grib1GDSVariables gdsv

openText

public final void openText(java.lang.String location)
                    throws java.io.IOException
open Grib Text Index file for scanning.

Parameters:
location - URL or local filename of Grib Index file
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
main.

Parameters:
args - index to read
Throws:
java.io.IOException