[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: Error in NetCDF User's Guide for C (?)]



Hi Simon,

> I think I found an error in the Unidata NetCDF User's Guide for C
> (http://my.unidata.ucar.edu/content/software/netcdf/guidec/guidec-1.html)
> 
>   I might be wrong - I've just started using this stuff, but in
> section 8.2 (Create an Attribute), I think the line in the example
> has 1 too many parameters - the parameter "NC_CHAR" shouldn't be
> there:   
> 
> status = nc_put_att_text (ncid, NC_GLOBAL, "title", NC_CHAR, strlen(title), 
> title)   
> 
> Nice guide by the way - very nice to use.

Thanks for reporting the error.  You're right and it's now fixed in
the online version and in version 3.6.0 that will be available soon.

--Russ