ucar.unidata.geoloc.vertical
Class WRFEta

java.lang.Object
  extended by ucar.unidata.geoloc.vertical.VerticalTransformImpl
      extended by ucar.unidata.geoloc.vertical.WRFEta
All Implemented Interfaces:
VerticalTransform

public class WRFEta
extends VerticalTransformImpl

Models the vertical coordinate for the Weather Research and Forecast (WRF) model's vertical Eta coordinate

Author:
IDV Development Team

Field Summary
static java.lang.String BaseGeopotentialVariable
           
static java.lang.String BasePressureVariable
           
static java.lang.String IsStaggeredX
           
static java.lang.String IsStaggeredY
           
static java.lang.String IsStaggeredZ
           
static java.lang.String PerturbationGeopotentialVariable
           
static java.lang.String PerturbationPressureVariable
           
 
Constructor Summary
WRFEta(NetcdfFile ds, Dimension timeDim, java.util.List<Parameter> params)
          Construct a vertical coordinate for the Weather Research and Forecast (WRF) model's vertical Eta coordinate
 
Method Summary
 ArrayDouble.D3 getCoordinateArray(int timeIndex)
          Get the 3D vertical coordinate array for this time step.
 
Methods inherited from class ucar.unidata.geoloc.vertical.VerticalTransformImpl
getUnitString, isTimeDependent, subset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BasePressureVariable

public static final java.lang.String BasePressureVariable
See Also:
Constant Field Values

PerturbationPressureVariable

public static final java.lang.String PerturbationPressureVariable
See Also:
Constant Field Values

BaseGeopotentialVariable

public static final java.lang.String BaseGeopotentialVariable
See Also:
Constant Field Values

PerturbationGeopotentialVariable

public static final java.lang.String PerturbationGeopotentialVariable
See Also:
Constant Field Values

IsStaggeredX

public static final java.lang.String IsStaggeredX
See Also:
Constant Field Values

IsStaggeredY

public static final java.lang.String IsStaggeredY
See Also:
Constant Field Values

IsStaggeredZ

public static final java.lang.String IsStaggeredZ
See Also:
Constant Field Values
Constructor Detail

WRFEta

public WRFEta(NetcdfFile ds,
              Dimension timeDim,
              java.util.List<Parameter> params)
Construct a vertical coordinate for the Weather Research and Forecast (WRF) model's vertical Eta coordinate

Parameters:
ds - netCDF dataset
timeDim - time dimension
params - list of transformation Parameters
Method Detail

getCoordinateArray

public ArrayDouble.D3 getCoordinateArray(int timeIndex)
                                  throws java.io.IOException
Get the 3D vertical coordinate array for this time step.

Specified by:
getCoordinateArray in interface VerticalTransform
Specified by:
getCoordinateArray in class VerticalTransformImpl
Parameters:
timeIndex - the time index. Ignored if !isTimeDependent().
Returns:
vertical coordinate array
Throws:
java.io.IOException - problem reading data