public class AtmosSigma extends VerticalTransformImpl
pressure(x,y,z) = ptop + sigma(z)*surfacePressure(x,y)
| Modifier and Type | Field and Description |
|---|---|
static String |
PS
Surface pressure name identifier
|
static String |
PTOP
P-naught identifier
|
static String |
SIGMA
The "depth" variable name identifier
|
units| Constructor and Description |
|---|
AtmosSigma(NetcdfFile ds,
Dimension timeDim,
List<Parameter> params)
Create a new vertical transform for Ocean S coordinates
|
| 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
(needds test!!!)
|
getParameterBooleanValue, getParameterStringValue, getTimeDimension, getUnitString, isTimeDependent, readArray, subsetpublic static final String PTOP
public static final String PS
public static final String SIGMA
public AtmosSigma(NetcdfFile ds, Dimension timeDim, List<Parameter> params)
ds - datasettimeDim - time dimensionparams - list of transformation Parameterspublic ArrayDouble.D3 getCoordinateArray(int timeIndex) throws IOException, InvalidRangeException
getCoordinateArray in interface VerticalTransformgetCoordinateArray in class VerticalTransformImpltimeIndex - the time index. Ignored if !isTimeDependent().IOException - problem reading dataInvalidRangeException - _more_public ArrayDouble.D1 getCoordinateArray1D(int timeIndex, int xIndex, int yIndex) throws IOException, InvalidRangeException
getCoordinateArray1D in interface VerticalTransformgetCoordinateArray1D in class VerticalTransformImpltimeIndex - the time index. Ignored if !isTimeDependent().xIndex - the x indexyIndex - the y indexIOException - problem reading dataInvalidRangeException - _more_