Next: , Previous: User Defined Types, Up: User Defined Data Types


5.2 Learn the IDs of All Types in Group: NF90_INQ_TYPEIDS

Learn the number of types defined in a group, and their IDs.

Usage

       function nf90_inq_typeids(ncid, ntypes, typeids)
         integer, intent(in) :: ncid
         integer, intent(out) :: ntypes
         integer, intent(out) :: typeids
         integer :: nf90_inq_typeids
NCID
The group id.
NTYPES
A pointer to int which will get the number of types defined in the group. If NULL, ignored.
TYPEIDS
A pointer to an int array which will get the typeids. If NULL, ignored.

Errors

NF90_NOERR
No error.
NF90_BADID
Bad ncid.

Example