/** * Create a subset of this VerticalTransform. * * @param t_range subset the time dimension, or null if you want all of it * @param z_range subset the vertical dimension, or null if you want all of it * @param y_range subset the y dimension, or null if you want all of it * @param x_range subset the x dimension, or null if you want all of it * * @return the subsetted VerticalTransform * * @throws ucar.ma2.InvalidRangeException if any of the range parameters are illegal */ public VerticalTransform subset(Range t_range, Range z_range, Range y_range, Range x_range) throws ucar.ma2.InvalidRangeException { return new VerticalTransformSubset(this, t_range, z_range, y_range, x_range); }
public ArrayDouble.D3 getCoordinateArray(int subsetIndex) throws IOException, InvalidRangeException { int orgIndex = subsetIndex; if (isTimeDependent() && (t_range != null)) { orgIndex = t_range.element(subsetIndex); } ArrayDouble.D3 data = original.getCoordinateArray(orgIndex); return (ArrayDouble.D3) data.sectionNoReduce(subsetList); }
public ArrayDouble.D3 getCoordinateArray(int subsetIndex) throws IOException, InvalidRangeException { int orgIndex = subsetIndex; if (isTimeDependent() && (t_range != null)) { orgIndex = t_range.element(subsetIndex); } ArrayDouble.D3 data = original.getCoordinateArray(orgIndex); return (ArrayDouble.D3) data.sectionNoReduce(subsetList); }
public ArrayDouble.D3 getCoordinateArray(int subsetIndex) throws IOException, InvalidRangeException { int orgIndex = subsetIndex; if (isTimeDependent() && (t_range != null)) { orgIndex = t_range.element(subsetIndex); } ArrayDouble.D3 data = original.getCoordinateArray(orgIndex); return (ArrayDouble.D3) data.sectionNoReduce(subsetList); }
/** * Create a subset of this VerticalTransform. * * @param t_range subset the time dimension, or null if you want all of it * @param z_range subset the vertical dimension, or null if you want all of it * @param y_range subset the y dimension, or null if you want all of it * @param x_range subset the x dimension, or null if you want all of it * * @return the subsetted VerticalTransform * * @throws ucar.ma2.InvalidRangeException if any of the range parameters are illegal */ public VerticalTransform subset(Range t_range, Range z_range, Range y_range, Range x_range) throws ucar.ma2.InvalidRangeException { return new VerticalTransformSubset(this, t_range, z_range, y_range, x_range); }
if (isTimeDependent() && (t_range != null)) { origin[0] = t_range.element(timeIndex);
/** * Create a subset of this VerticalTransform. * * @param t_range subset the time dimension, or null if you want all of it * @param z_range subset the vertical dimension, or null if you want all of it * @param y_range subset the y dimension, or null if you want all of it * @param x_range subset the x dimension, or null if you want all of it * * @return the subsetted VerticalTransform * * @throws ucar.ma2.InvalidRangeException if any of the range parameters are illegal */ public VerticalTransform subset(Range t_range, Range z_range, Range y_range, Range x_range) throws ucar.ma2.InvalidRangeException { return new VerticalTransformSubset(this, t_range, z_range, y_range, x_range); }
if (isTimeDependent() && (t_range != null)) { origin[0] = t_range.element(timeIndex);
if (isTimeDependent() && (t_range != null)) { origin[0] = t_range.element(timeIndex);