|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.unidata.geoloc.vertical.VerticalTransformImpl
ucar.unidata.geoloc.vertical.OceanSG1
public class OceanSG1
Create a 3D height(z,y,x) array using the CF formula for "ocean s vertical coordinate g1". standard name: ocean_s_coordinate_g1
Field Summary | |
---|---|
static String |
C
The "C" variable name identifier |
static String |
DEPTH
The "depth" variable name identifier |
static String |
DEPTH_C
The "depth c" variable name identifier |
static String |
ETA
The eta variable name identifier |
static String |
S
The "s" variable name identifier |
Fields inherited from class ucar.unidata.geoloc.vertical.VerticalTransformImpl |
---|
units |
Constructor Summary | |
---|---|
OceanSG1(NetcdfFile ds,
Dimension timeDim,
List<Parameter> params)
Create a new vertical transform for Ocean_S_coordinate_g1 |
Method Summary | |
---|---|
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. |
Methods inherited from class ucar.unidata.geoloc.vertical.VerticalTransformImpl |
---|
getParameterBooleanValue, getParameterStringValue, getTimeDimension, getUnitString, isTimeDependent, readArray, subset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ETA
public static final String S
public static final String DEPTH
public static final String DEPTH_C
public static final String C
Constructor Detail |
---|
public OceanSG1(NetcdfFile ds, Dimension timeDim, List<Parameter> params)
ds
- datasettimeDim
- time dimensionparams
- list of transformation ParametersMethod Detail |
---|
public ArrayDouble.D3 getCoordinateArray(int timeIndex) throws IOException, InvalidRangeException
getCoordinateArray
in interface VerticalTransform
getCoordinateArray
in class VerticalTransformImpl
timeIndex
- the time index. Ignored if !isTimeDependent().
IOException
- problem reading data
InvalidRangeException
- _more_public ArrayDouble.D1 getCoordinateArray1D(int timeIndex, int xIndex, int yIndex) throws IOException, InvalidRangeException
timeIndex
- the time index. Ignored if !isTimeDependent().xIndex
- the x indexyIndex
- the y index
IOException
- problem reading data
InvalidRangeException
- _more_
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |