ucar.unidata.geoloc.vertical
Class HybridHeight

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

public class HybridHeight
extends VerticalTransformImpl

Create a 3D height(z,y,x) array using the netCDF CF convention formula for "Atmospheric Hybrid Height".

height(x,y,z) = a(z) + b(z)*orog(x,y)

Author:
murray
See Also:
http://cf-pcmdi.llnl.gov/

Field Summary
static String A
          The "a" variable name identifier
static String B
          The "b" variable name identifier
static String OROG
          Surface pressure name identifier
 
Fields inherited from class ucar.unidata.geoloc.vertical.VerticalTransformImpl
units
 
Constructor Summary
HybridHeight(NetcdfFile ds, Dimension timeDim, List<Parameter> params)
          Construct a coordinate transform for hybrid height
 
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
getParameterBooleanValue, getParameterStringValue, getTimeDimension, getUnitString, isTimeDependent, readArray, subset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OROG

public static final String OROG
Surface pressure name identifier

See Also:
Constant Field Values

A

public static final String A
The "a" variable name identifier

See Also:
Constant Field Values

B

public static final String B
The "b" variable name identifier

See Also:
Constant Field Values
Constructor Detail

HybridHeight

public HybridHeight(NetcdfFile ds,
                    Dimension timeDim,
                    List<Parameter> params)
Construct a coordinate transform for hybrid height

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

getCoordinateArray

public ArrayDouble.D3 getCoordinateArray(int timeIndex)
                                  throws IOException,
                                         InvalidRangeException
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:
IOException - problem reading data
InvalidRangeException - not a valid time range


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