Next: NF_INQ_VARIDS, Previous: NF_INQ_NCID, Up: Groups
Given a location id, return the number of groups it contains, and an array of their ncids.
INTEGER FUNCTION NF_INQ_GRPS(INTEGER NCID, INTEGER NUMGRPS, INTEGER NCIDS)
NCIDNUMGRPSNCIDSNF_NOERRNF_EBADIDNF_ENOTNC4NF_ESTRICTNC3NF_EHDFERRThis example is from nf_test/ftst_groups.F.
C What groups are there from the root group?
retval = nf_inq_grps(ncid, ngroups_in, grpids)
if (retval .ne. nf_noerr) call handle_err(retval)