fixed docs

This commit is contained in:
Ed Hartnett 2018-08-24 14:14:15 -06:00
parent 8847c843fb
commit cf890be803

View File

@ -61,9 +61,10 @@ nc_put_att_string(int ncid, int varid, const char *name,
\ingroup attributes \ingroup attributes
Write a text attribute. Write a text attribute.
Add or change a text attribute. If this attribute is new, Add or change a text attribute. If this attribute is new, or if the
or if the space required to store the attribute is greater than space required to store the attribute is greater than before, the
before, the netCDF dataset must be in define mode. netCDF dataset must be in define mode for classic formats (or
netCDF-4/HDF5 with NC_CLASSIC_MODEL).
Although it's possible to create attributes of all types, text and Although it's possible to create attributes of all types, text and
double attributes are adequate for most purposes. double attributes are adequate for most purposes.