public class VerticalTransformSubset extends VerticalTransformImpl
units| Constructor and Description |
|---|
VerticalTransformSubset(VerticalTransform original,
Range t_range,
Range z_range,
Range y_range,
Range x_range)
Create a subset of an existing VerticalTransform
|
| Modifier and Type | Method and Description |
|---|---|
ArrayDouble.D3 |
getCoordinateArray(int subsetIndex)
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 point
|
boolean |
isTimeDependent()
Get whether this coordinate is time dependent.
|
getParameterBooleanValue, getParameterStringValue, getTimeDimension, getUnitString, readArray, subsetpublic VerticalTransformSubset(VerticalTransform original, Range t_range, Range z_range, Range y_range, Range x_range)
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 itpublic ArrayDouble.D3 getCoordinateArray(int subsetIndex) throws java.io.IOException, InvalidRangeException
VerticalTransformImplgetCoordinateArray in interface VerticalTransformgetCoordinateArray in class VerticalTransformImplsubsetIndex - the time index. Ignored if !isTimeDependent().java.io.IOException - problem reading the 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_public boolean isTimeDependent()
VerticalTransformImplisTimeDependent in interface VerticalTransformisTimeDependent in class VerticalTransformImpl