public class WRFEta extends VerticalTransformImpl
Modifier and Type | Field and Description |
---|---|
static String |
BaseGeopotentialVariable |
static String |
BasePressureVariable |
static String |
IsStaggeredX |
static String |
IsStaggeredY |
static String |
IsStaggeredZ |
static String |
PerturbationGeopotentialVariable |
static String |
PerturbationPressureVariable |
units
Constructor and Description |
---|
WRFEta(NetcdfFile ds,
Dimension timeDim,
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 String BasePressureVariable
public static final String PerturbationPressureVariable
public static final String BaseGeopotentialVariable
public static final String PerturbationGeopotentialVariable
public static final String IsStaggeredX
public static final String IsStaggeredY
public static final String IsStaggeredZ
public WRFEta(NetcdfFile ds, Dimension timeDim, List<Parameter> params)
ds
- netCDF datasettimeDim
- time dimensionparams
- list of transformation Parameterspublic ArrayDouble.D3 getCoordinateArray(int timeIndex) throws IOException
getCoordinateArray
in interface VerticalTransform
getCoordinateArray
in class VerticalTransformImpl
timeIndex
- the time index. Ignored if !isTimeDependent().IOException
- problem reading datapublic ArrayDouble.D1 getCoordinateArray1D(int timeIndex, int xIndex, int yIndex) throws IOException, InvalidRangeException
getCoordinateArray1D
in interface VerticalTransform
getCoordinateArray1D
in class VerticalTransformImpl
timeIndex
- the time index. Ignored if !isTimeDependent().xIndex
- the x indexyIndex
- the y indexIOException
- problem reading dataInvalidRangeException
- _more_