editvar [ parameter=value ... ] [ inputfile ... ]
Parameters are: include_vars, var_units, bad_value, scale_factor, scale_offset, valid_min, valid_max.
The function editvar lets you change the built-in attributes of variables in TeraScan datasets. These attributes include units, bad value, scale factor and offset, valid minimum and maximum values.
List of variables to edit. If the list is preceded by a minus sign, all variables except those listed are edited. Wildcards * and ? are allowed.
The default is to edit all variables.
New value for the units attribute of the variable. The default is the same as the current value.
New value for the bad value. The default is the same as the current value.
New scale factor. The default is the same as the current value.
New offset value for scaling. The default is the same as the current value.
New minimum value. The default is the same as the current value.
New maximum value. The default is the same as the current value.
This is an example of editing variable attributes of a specified dataset.
\fCcabo% editvar input file(s) : char(255) ? pass1.dat include_vars : char(255) ? [] var_units : char( 31) ? [<same>] bad_value : char( 31) ? [<same>] scale_factor : char( 31) ? [<same>] scale_offset : char( 31) ? [<same>] valid_min : char( 31) ? [<same>] valid_max : char( 31) ? [<same>] %
Virtually all applications take note of a variable's bad value and scaling. On the other hand, very few applications use the variable's limits.
Last Update: $Date: 1998/05/28 18:07:38 $