NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Suggested mod to ncvarget() interface


In situations where an entire variable is to be read in at once, it would be
convenient for programmers to be able to specify the start and count
arguments to ncvarget() as NULL.

        status = ncvarget(cdfid, varid, NULL, NULL, values);

Perhaps I'm the only person in the community who reads entire (small) arrays
in at once...

Skip (montanaro@xxxxxxxxxx)


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