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

[netCDF #YBS-812664]: NetCDF4 C manual



Hi Junchang,

> I'm learning the NetCDF4 C API. I found an omission error in the manual
> netcdf-c.pdf:   On page 114 when the nc_put_var API is described,  the
> manual says that "ncid NetCDF ID, from a previous call to nc open or nc
> create". Acutally if the variable is defined under a group, ncid should
> be the group ID.  I wasted hours  due to the use of file ID, before I
> carefully read the sample program in the tutorial.

Sorry for your wasted time and thanks for pointing out this error!  We will
correct it before the netCDF-4.2 release, and perhaps save many other users 
the time caused by this oversight.

In explanation, the documentation was true for the netCDF-3 API, but not
modified appropriately in the transition to netCDF-4.  There are several
places in the documentation where this must be fixed.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: YBS-812664
Department: Support netCDF
Priority: Normal
Status: Closed