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.
|
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 IOException, InvalidRangeException
VerticalTransformImplgetCoordinateArray in interface VerticalTransformgetCoordinateArray in class VerticalTransformImplsubsetIndex - the time index. Ignored if !isTimeDependent().IOException - problem reading the dataInvalidRangeException - _more_public boolean isTimeDependent()
VerticalTransformImplisTimeDependent in interface VerticalTransformisTimeDependent in class VerticalTransformImplCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.