Re: [netcdfgroup] Problem using nc_put_vara_...() and nc_put_vars_...() functions.

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


  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: