|
||||||||||
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 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 |
Constructor Summary | |
---|---|
OceanSG1(NetcdfFile ds,
Dimension timeDim,
java.util.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 |
---|
getUnitString, isTimeDependent, subset |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public 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
Constructor Detail |
---|
public OceanSG1(NetcdfFile ds, Dimension timeDim, java.util.List<Parameter> params)
ds
- datasettimeDim
- time dimensionparams
- list of transformation ParametersMethod Detail |
---|
public ArrayDouble.D3 getCoordinateArray(int timeIndex) throws java.io.IOException, InvalidRangeException
getCoordinateArray
in interface VerticalTransform
getCoordinateArray
in class VerticalTransformImpl
timeIndex
- the time index. Ignored if !isTimeDependent().
java.io.IOException
- problem reading data
InvalidRangeException
- _more_public ArrayDouble.D1 getCoordinateArray1D(int timeIndex, int xIndex, int yIndex) throws java.io.IOException, InvalidRangeException
timeIndex
- the time index. Ignored if !isTimeDependent().xIndex
- the x indexyIndex
- the y index
java.io.IOException
- problem reading data
InvalidRangeException
- _more_
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |