[netcdfgroup] valid range for ncid?

Hello,

I have a question about the C interface (probably also for fortran):

What is the valid range of the (group or dataset) ncid's returned by
calls to nc_create, nc_open, or nc_inq_ncid?  Can I assume that a
valid ncid will always be strictly > 0?  Or >= 0?

I have the same question for varids and dimids.  It seems that these
are numbered incrementally, starting at 0.  Can I assume they will not
be negative, or is such a guarantee deliberately left out of the
interface?

best,

Thomas



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