smear [ parameter=value ... ] [ inputfile outputfile ] smear [ parameter=value ... ] [ inputfile ... directory ] smear0 [ parameter=value ... ] [ inputfile ... ]
Parameters are: include_vars, box_dims, method, min_good_vals, fill_bad_only.
smear replaces the center point of a user specified box with a moving box and the mean, min, max, or median of the points in the box. "Smear0" is a special "smear" function that overwrites the inputfile.
A user-specified minimum number of good elements must exist in a box before the statistic can be computed for the box. If the number of good points does not exceed this minimum value or the statistic cannot be computed, its value is set to the bad value for the variable.
All variables to be smeared must have the same number of dimensions, either one or two.
As an option, the function can be used to replace bad data with a different value. In this instance, center points that are valid data are not altered.
List of variables to smear. If the list is preceded by a minus sign, then all variables except those listed will be smeared. Wildcards * and ? are allowed. The default is to smear all variables.
One or two numbers specifying the size of the box. The box must have the same number of dimensions as the variables to be smeared. The valid range is [1,50]. There is no default.
The statistic computed for each moving box. Valid responses are [min, max, mean or median]. The default is mean.
The minimum number of good values needed in the moving box to allow the statistic to be computed. The valid range is 1 up to the number of elements inside the box. The default is 1 if the box is 1-D, or the height of the box if the box is 2-D.
Specifies that the statistic is to be computed only if the value at the center of the moving box is bad (missing). Valid responses are [yes, no]. The default is yes.
cabo% smear in/out files : char(255) ? n11.93206.2334 n11.smear include_vars : char(255) ? [] avhrr_ch3 box_dims : int ( 2) ? 3 5 method : char( 6) ? [mean] min_good_vals : int ? [3] fill_bad_only : char( 3) ? [yes] cabo%
Last Update: $Date: 1998/05/29 20:44:55 $