ucar.nc2.iosp.grid
Class GridVariable

java.lang.Object
  extended by ucar.nc2.iosp.grid.GridVariable

public class GridVariable
extends java.lang.Object

A Variable for a Grid dataset.

Version:
$Revision:63 $ $Date:2006-07-12 21:50:51Z $
Author:
caron

Method Summary
 java.lang.String dump()
          Dump this variable
 boolean equals(java.lang.Object oo)
          Check for equality
 GridRecord findRecord(int time, int level)
          Find the grid record for the time and level indices
 int getDecimalScale()
          Get the decimal scale
 java.lang.String getName()
          Get the name
 java.lang.String getParamName()
          Get the parameter name
 int hashCode()
          Override Object.hashCode() to implement equals.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findRecord

public GridRecord findRecord(int time,
                             int level)
Find the grid record for the time and level indices

Parameters:
time - time index
level - level index
Returns:
the record or null

equals

public boolean equals(java.lang.Object oo)
Check for equality

Overrides:
equals in class java.lang.Object
Parameters:
oo - object in question
Returns:
true if they are equal

getName

public java.lang.String getName()
Get the name

Returns:
the name

getParamName

public java.lang.String getParamName()
Get the parameter name

Returns:
description

getDecimalScale

public int getDecimalScale()
Get the decimal scale

Returns:
decimal scale

hashCode

public int hashCode()
Override Object.hashCode() to implement equals.

Overrides:
hashCode in class java.lang.Object
Returns:
equals;

dump

public java.lang.String dump()
Dump this variable

Returns:
the variable