- To: sergey.panov@xxxxxxxxxxx
- Subject: Re: [netcdfgroup] Problem using nc_put_vara_...() and nc_put_vars_...() functions.
- From: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
- Date: Fri, 17 Oct 2008 07:46:33 -0600
Sergey Panov <sergey.panov@xxxxxxxxxxx> writes:
> Thank you, it was an "operator error" - replacing 0-s with 1-s in count
> array fix the problem.
> I wish man page elaborated more on this topic. The statement that to
> write one element one has to set count to {1,1,...,1} is a hint easily
> mistaken for a typo.
>
> Regards,
> Sergey
>
Good idea.
I have added a warning to all the appropriate places in the C and
Fortran 77 API documents.
Thanks, and keep on netcdfing!
Ed
--
Ed Hartnett -- ed@xxxxxxxxxxxxxxxx
- References:
- [netcdfgroup] Problem using nc_put_vara_...() and nc_put_vars_...() functions.
- From: Sergey Panov
- Re: [netcdfgroup] Problem using nc_put_vara_...() and nc_put_vars_...() functions.
- From: Ed Hartnett
- Re: [netcdfgroup] Problem using nc_put_vara_...() and nc_put_vars_...() functions.
- From: Sergey Panov
- [netcdfgroup] Problem using nc_put_vara_...() and nc_put_vars_...() functions.