NAME
SampleCrop2
DESCRIPTION
This module extracts a sampled and/or cropped region from any 1..4-D
lattice to produce a new lattice with adjusted data and coordinates. The
same data and coordinate types used for the input lattice are used for
the output lattice. SampleCrop2 was meant to temporarily replace the
original SampleCrop in Explorer 2.0 which had a memory leak. This
problem was fixed in the SampleCrop with Explorer 2.2 and beyond.
SampleCrop2 also has two new features. First, it can subsample by
different amounts along each of the axes, while SampleCrop only has
uniform subsampling. Second, it can accept up to a 4D lattice, while
SampleCrop only accepts up to a 3D lattice.
INPUTS
Input -- Lattice
(1..4-D).
This is the input lattice to sample and/or crop.
WIDGETS
I Start -- Slider
This is the lower bound for cropping along the I axis.
I End -- Slider
This is the upper bound for cropping along the I axis.
J Start -- Slider
This is the lower bound for cropping along the J axis.
J End -- Slider
This is the upper bound for cropping along the J axis.
K Start -- Slider
This is the lower bound for cropping along the K axis.
K End -- Slider
This is the upper bound for cropping along the K axis.
T Start -- Slider
This is the lower bound for cropping along the T axis.
T End -- Slider
This is the upper bound for cropping along the T axis.
Sample -- Slider
This is the stride for sampling uniformly along each of the axes.
I Sample -- Slider
This is the stride for sampling only along the I axis.
J Sample -- Slider
This is the stride for sampling only along the J axis.
K Sample -- Slider
This is the stride for sampling only along the K axis.
T Sample -- Slider
This is the stride for sampling only along the T axis.
Sample Mode -- Radio Box
This determines how the subsampling is done along the axes. "Group"
mode (the default) uses the same value of "Sample" for all the axes.
"Individual" mode uses the values of "I Sample", "J Sample",
"K Sample", and "T Sample" for each of their respective axes to allow
non-uniform sampling.
Maximize -- Button
Pressing this button automatically maximizes the ranges for all the axes
of the input lattice.
OUTPUTS
Output -- Lattice
(1..4-D).
This is the input lattice reduced by sampling and/or cropping.
KNOWN PROBLEMS
There are no known bugs.
SEE ALSO
SampleCrop, SubSample
-
Hans Vahlenkamp (Hans.Vahlenkamp@noaa.gov)
Geophysical Fluid Dynamics Laboratory / NOAA
Princeton University Forrestal Campus
http://www.gfdl.noaa.gov