ucar.unidata.geoloc.vertical
Class VerticalTransformSubset
java.lang.Object
ucar.unidata.geoloc.vertical.VerticalTransformImpl
ucar.unidata.geoloc.vertical.VerticalTransformSubset
- All Implemented Interfaces:
- VerticalTransform
public class VerticalTransformSubset
- extends VerticalTransformImpl
A subset of a vertical transform.
- Author:
- Unidata Development Team
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerticalTransformSubset
public VerticalTransformSubset(VerticalTransform original,
Range t_range,
Range z_range,
Range y_range,
Range x_range)
- Create a subset of an existing VerticalTransform
- Parameters:
original
- make a subset of thist_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 it
getCoordinateArray
public ArrayDouble.D3 getCoordinateArray(int subsetIndex)
throws java.io.IOException,
InvalidRangeException
- Description copied from class:
VerticalTransformImpl
- Get the 3D vertical coordinate array for this time step.
- Specified by:
getCoordinateArray
in interface VerticalTransform
- Specified by:
getCoordinateArray
in class VerticalTransformImpl
- Parameters:
subsetIndex
- the time index. Ignored if !isTimeDependent().
- Returns:
- vertical coordinate array
- Throws:
java.io.IOException
- problem reading the data
InvalidRangeException
- _more_
isTimeDependent
public boolean isTimeDependent()
- Description copied from class:
VerticalTransformImpl
- Get whether this coordinate is time dependent.
- Specified by:
isTimeDependent
in interface VerticalTransform
- Overrides:
isTimeDependent
in class VerticalTransformImpl
- Returns:
- true if time dependent