set sdfattr

set sdfattr varname attribute_type attribute_name attribute_value

Sets attribute metadata to be included in the output file created with the sdfwrite command.

Usage Notes

This command is available in GrADS v2.0.a3 or higher.

The reset command will release all the attributes from memory. To do this without resetting all the other user-specified options, use the clear sdfwrite command.

Examples

set sdfattr precip String units mm/day
set sdfattr precip String long_name Daily Precipiation
set sdfattr precip double actual_range 0,57.5