public class OceanSG1 extends VerticalTransformImpl
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
C
The "C" variable name identifier
|
static java.lang.String |
DEPTH
The "depth" variable name identifier
|
static java.lang.String |
DEPTH_C
The "depth c" variable name identifier
|
static java.lang.String |
ETA
The eta variable name identifier
|
static java.lang.String |
S
The "s" variable name identifier
|
units| Constructor and Description |
|---|
OceanSG1(NetcdfFile ds,
Dimension timeDim,
java.util.List<Parameter> params)
Create a new vertical transform for Ocean_S_coordinate_g1
|
| 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
the specified X,Y index for Lat-Lon point.
|
getParameterBooleanValue, getParameterStringValue, getTimeDimension, getUnitString, isTimeDependent, readArray, subsetpublic static final java.lang.String ETA
public static final java.lang.String S
public static final java.lang.String DEPTH
public static final java.lang.String DEPTH_C
public static final java.lang.String C
public OceanSG1(NetcdfFile ds, Dimension timeDim, java.util.List<Parameter> params)
ds - datasettimeDim - time dimensionparams - list of transformation Parameterspublic ArrayDouble.D3 getCoordinateArray(int timeIndex) throws java.io.IOException, InvalidRangeException
getCoordinateArray in interface VerticalTransformgetCoordinateArray in class VerticalTransformImpltimeIndex - 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 VerticalTransformgetCoordinateArray1D in class VerticalTransformImpltimeIndex - the time index. Ignored if !isTimeDependent().xIndex - the x indexyIndex - the y indexjava.io.IOException - problem reading dataInvalidRangeException - _more_