public class HybridSigmaPressure extends VerticalTransformImpl
pressure(x,y,z) = a(z)*p0 + b(z)*surfacePressure(x,y) or
pressure(x,y,z) = ap(z) + b(z)*surfacePressure(x,y)
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
A
The "a" variable name identifier
|
static java.lang.String |
AP
The "a" variable name identifier
|
static java.lang.String |
B
The "b" variable name identifier
|
static java.lang.String |
P0
P-naught identifier
|
static java.lang.String |
PS
Surface pressure name identifier
|
units
Constructor and Description |
---|
HybridSigmaPressure(NetcdfFile ds,
Dimension timeDim,
java.util.List<Parameter> params)
Construct a coordinate transform for sigma pressure
|
Modifier and Type | Method and Description |
---|---|
ArrayDouble.D3 |
getCoordinateArray(int timeIndex)
Get the 3D vertical coordinate array for this time step.
|
ArrayDouble.D1 |
getCoordinateArray1D(int timeIndex,
int xIndex,
int yIndex)
Get the 1D vertical coordinate array for this time step and point
|
getParameterBooleanValue, getParameterStringValue, getTimeDimension, getUnitString, isTimeDependent, readArray, subset
public static final java.lang.String P0
public static final java.lang.String PS
public static final java.lang.String A
public static final java.lang.String AP
public static final java.lang.String B
public HybridSigmaPressure(NetcdfFile ds, Dimension timeDim, java.util.List<Parameter> params)
ds
- netCDF datasettimeDim
- time dimensionparams
- list of transformation Parameterspublic ArrayDouble.D3 getCoordinateArray(int timeIndex) throws java.io.IOException, InvalidRangeException
getCoordinateArray
in interface VerticalTransform
getCoordinateArray
in class VerticalTransformImpl
timeIndex
- the time index. Ignored if !isTimeDependent().java.io.IOException
- problem reading dataInvalidRangeException
- _more_public ArrayDouble.D1 getCoordinateArray1D(int timeIndex, int xIndex, int yIndex) throws java.io.IOException, InvalidRangeException
getCoordinateArray1D
in interface VerticalTransform
getCoordinateArray1D
in class VerticalTransformImpl
timeIndex
- the time index. Ignored if !isTimeDependent().xIndex
- the x indexyIndex
- the y indexjava.io.IOException
- problem reading dataInvalidRangeException
- _more_