editvar - Edits built-in variable attributes in TeraScan datasets

SYNOPSIS

editvar  [ parameter=value ... ]  [ inputfile ... ]

Parameters are: include_varsvar_units,   bad_valuescale_factor,   scale_offsetvalid_min,   valid_max.

DESCRIPTION

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.

PARAMETERS

include_vars

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.

var_units

New value for the units attribute of the variable. The default is the same as the current value.

bad_value

New value for the bad value. The default is the same as the current value.

scale_factor

New scale factor. The default is the same as the current value.

scale_offset

New offset value for scaling. The default is the same as the current value.

valid_min

New minimum value. The default is the same as the current value.

valid_max

New maximum value. The default is the same as the current value.

EXAMPLES

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>]
%

SEE ALSO

setattr,datasets

NOTES

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 $