ucar.nc2.dt.fmrc
Class ForecastModelRunInventory.TimeCoord

java.lang.Object
  extended by ucar.nc2.dt.fmrc.ForecastModelRunInventory.TimeCoord
All Implemented Interfaces:
FmrcCoordSys.TimeCoord
Enclosing class:
ForecastModelRunInventory

public static class ForecastModelRunInventory.TimeCoord
extends java.lang.Object
implements FmrcCoordSys.TimeCoord

Represents a list of valid times. Tracks a list of variables that all have the same list of valid times.


Method Summary
 boolean equalsData(ForecastModelRunInventory.TimeCoord tother)
          Instances that have the same offsetHours are equal
 java.util.List<ForecastModelRunInventory.Grid> getGrids()
          The list of Grid that use this TimeCoord
 java.lang.String getId()
          A unique id for this TimeCoord
 java.lang.String getName()
           
 double[] getOffsetHours()
          The list of valid times, in units of hours since the run time
 void setId(java.lang.String id)
          Set the unique id for this TimeCoord
 void setOffsetHours(double[] offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getGrids

public java.util.List<ForecastModelRunInventory.Grid> getGrids()
The list of Grid that use this TimeCoord

Returns:
list of Grid that use this TimeCoord

getId

public java.lang.String getId()
A unique id for this TimeCoord

Returns:
unique id for this TimeCoord

setId

public void setId(java.lang.String id)
Set the unique id for this TimeCoord

Parameters:
id - id for this TimeCoord

getName

public java.lang.String getName()
Specified by:
getName in interface FmrcCoordSys.TimeCoord

getOffsetHours

public double[] getOffsetHours()
The list of valid times, in units of hours since the run time

Specified by:
getOffsetHours in interface FmrcCoordSys.TimeCoord

setOffsetHours

public void setOffsetHours(double[] offset)

equalsData

public boolean equalsData(ForecastModelRunInventory.TimeCoord tother)
Instances that have the same offsetHours are equal

Parameters:
tother - compare this TomCoord's data
Returns:
true if data is equal