update_attribute.RdUpdate an attribute in ncout
update_attribute(ncout, var, key, val, prec)
| ncout | file handle for netCDF in which attributes should be updated |
|---|---|
| var | the name of the variable to which the attribute
is associated (or |
| key | the name of the attribute |
| val | the value of the attribute |
| prec | the precision of the attribute (or |