From cf890be8036eb8e33e66a6c328f563c081a5d464 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Fri, 24 Aug 2018 14:14:15 -0600 Subject: [PATCH] fixed docs --- libdispatch/dattput.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libdispatch/dattput.c b/libdispatch/dattput.c index 712375d6e..2a87699c9 100644 --- a/libdispatch/dattput.c +++ b/libdispatch/dattput.c @@ -61,9 +61,10 @@ nc_put_att_string(int ncid, int varid, const char *name, \ingroup attributes Write a text attribute. -Add or change a text attribute. If this attribute is new, -or if the space required to store the attribute is greater than -before, the netCDF dataset must be in define mode. +Add or change a text attribute. If this attribute is new, or if the +space required to store the attribute is greater than before, the +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 double attributes are adequate for most purposes.