ucar.nc2.iosp.grid
Class GridVariable

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

public class GridVariable
extends Object

A Variable for a Grid dataset.

Author:
caron

Nested Class Summary
 class GridVariable.Belongs
           
 
Method Summary
 String dump()
          Dump this variable
 boolean equals(Object oo)
          Check for equality
 GridRecord findRecord(int ens, int time, int level)
          Find the grid record for the time and level indices Canonical ordering is ens, time, level
 String getName()
          Get the name
 int getNEnsembles()
          Get the number of Ensemble
 int hashCode()
          Override Object.hashCode() to implement equals.
 void showMissing(Formatter f)
          Dump out the missing data
 int showMissingSummary(Formatter f)
          Dump out the missing data as a summary
 void showRecord(int recnum, Formatter f)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getNEnsembles

public int getNEnsembles()
Get the number of Ensemble

Returns:
the number of Ensemble

showRecord

public void showRecord(int recnum,
                       Formatter f)

showMissing

public void showMissing(Formatter f)
Dump out the missing data

Parameters:
f - write to this

showMissingSummary

public int showMissingSummary(Formatter f)
Dump out the missing data as a summary

Parameters:
f - write to this
Returns:
number of missing levels

findRecord

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

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

equals

public boolean equals(Object oo)
Check for equality

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

getName

public String getName()
Get the name

Returns:
the name

hashCode

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

Overrides:
hashCode in class Object
Returns:
equals;

toString

public String toString()
Overrides:
toString in class Object

dump

public String dump()
Dump this variable

Returns:
the variable


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.