public class WRFEta extends VerticalTransformImpl
Modifier and Type | Field and Description |
---|---|
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 |
units
Constructor and Description |
---|
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
|
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 BasePressureVariable
public static final java.lang.String PerturbationPressureVariable
public static final java.lang.String BaseGeopotentialVariable
public static final java.lang.String PerturbationGeopotentialVariable
public static final java.lang.String IsStaggeredX
public static final java.lang.String IsStaggeredY
public static final java.lang.String IsStaggeredZ
public WRFEta(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
getCoordinateArray
in interface VerticalTransform
getCoordinateArray
in class VerticalTransformImpl
timeIndex
- the time index. Ignored if !isTimeDependent().java.io.IOException
- problem reading datapublic 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_