Hi Ed,
> > I suggest we add one function:
> >
> > EXTERNL int
> > nc_inq_unlimdims(int ncid, int *numlimdimsp, int *unlimdimidsp);
> >
> > This function will return the number of unlimited dimensions in
> > nunlimdimsp, and an array of their ids in unlimdimidsp.
> >
> > Meanwhile, nc_inq_unlimdim will return the first defined unlimited
> > dimension, for backward compatibility.
> >
> > Any suggestions, corrections, rejections, projections, dejections,
> > directions, restrictions, or digressions are welcome.
>
> This looks ideal to me, except for the minor typo in the prototype:
>
> > EXTERNL int
> > nc_inq_unlimdims(int ncid, int *numlimdimsp, int *unlimdimidsp);
> nunlimdimsp
>
> In the documentation, I would specify that the int* unlimdimidsp
> pointer could be NULL if you just want to inquire about the number of
> unlimited dimensions without getting their IDs. This would also
> permit doing that first to allocate the right amount of space to hold
> the unlimited dimension IDs.
Seems sensible to me. (At least at this time in the development cycle :-)
Quincey