public interface VerticalTransform
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.
|
java.lang.String |
getUnitString()
Get the unit string for the vertical coordinate.
|
boolean |
isTimeDependent()
Get whether this coordinate is time dependent.
|
VerticalTransform |
subset(Range t_range,
Range z_range,
Range y_range,
Range x_range)
Create a VerticalTransform as a section of an existing VerticalTransform.
|
ArrayDouble.D3 getCoordinateArray(int timeIndex) throws java.io.IOException, InvalidRangeException
timeIndex
- the time index. Ignored if !isTimeDependent().java.io.IOException
- problem reading the dataInvalidRangeException
- timeIndex out of boundsArrayDouble.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 indexjava.io.IOException
- problem reading dataInvalidRangeException
- _more_java.lang.String getUnitString()
boolean isTimeDependent()
VerticalTransform subset(Range t_range, Range z_range, Range y_range, Range x_range) throws InvalidRangeException
t_range
- subset the time dimension, or null if you want all of itz_range
- subset the vertical dimension, or null if you want all of ity_range
- subset the y dimension, or null if you want all of itx_range
- subset the x dimension, or null if you want all of itInvalidRangeException
- if any Range is incompatible with the existing VerticalTransform