ucar.grib
Class Index.GdsRecord

java.lang.Object
  extended by ucar.grib.Index.GdsRecord
Enclosing class:
Index

public static final class Index.GdsRecord
extends java.lang.Object

class to represent GDS in the index. purpose is to convert from String representation to native value.


Field Summary
 double dx
          _more_
 double dy
          _more_
 java.lang.String gdsKey
          _more_
 int grid_shape_code
          _more_
 int grid_type
          _more_
 double La1
          _more_
 double LaD
          _more_
 double latin1
          _more_
 double latin2
          _more_
 double Lo1
          _more_
 double LoV
          _more_
 double major_axis_earth
          _more_
 double minor_axis_earth
          _more_
 int nx
          _more_
 int ny
          _more_
 java.util.HashMap params
          _more_
 double radius_spherical_earth
          _more_
 int resolution
          _more_
 java.lang.String winds
          _more_
 
Constructor Summary
Index.GdsRecord()
          constructor.
 
Method Summary
 void addParam(java.lang.String key, java.lang.String value)
          adds a param and value.
 double readDouble(java.lang.String name)
          returns the value of the param.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

params

public java.util.HashMap params
_more_


gdsKey

public java.lang.String gdsKey
_more_


winds

public java.lang.String winds
_more_


grid_type

public int grid_type
_more_


nx

public int nx
_more_


ny

public int ny
_more_


resolution

public int resolution
_more_


dx

public double dx
_more_


dy

public double dy
_more_


latin1

public double latin1
_more_


latin2

public double latin2
_more_


La1

public double La1
_more_


Lo1

public double Lo1
_more_


LaD

public double LaD
_more_


LoV

public double LoV
_more_


grid_shape_code

public int grid_shape_code
_more_


radius_spherical_earth

public double radius_spherical_earth
_more_


major_axis_earth

public double major_axis_earth
_more_


minor_axis_earth

public double minor_axis_earth
_more_

Constructor Detail

Index.GdsRecord

public Index.GdsRecord()
constructor.

Method Detail

addParam

public final void addParam(java.lang.String key,
                           java.lang.String value)
adds a param and value.

Parameters:
key - name of the param
value - of the param

readDouble

public final double readDouble(java.lang.String name)
returns the value of the param.

Parameters:
name -
Returns:
value, or NaN if value doest exist