Get the number of fields, length in bytes, and name of a compound type.
In addtion to the NF90_INQ_COMPOUND function, three additional functions are provided which get only the name, size, and number of fields.
function nf90_inq_compound(ncid, xtype, name, size, nfields)
integer, intent(in) :: ncid
integer, intent(in) :: xtype
character (len = *), intent(out) :: name
integer, intent(out) :: size
integer, intent(out) :: nfields
integer :: nf90_inq_compound
function nf90_inq_compound_name(ncid, xtype, name)
integer, intent(in) :: ncid
integer, intent(in) :: xtype
character (len = *), intent(out) :: name
integer :: nf90_inq_compound_name
function nf90_inq_compound_size(ncid, xtype, size)
integer, intent(in) :: ncid
integer, intent(in) :: xtype
integer, intent(out) :: size
integer :: nf90_inq_compound_size
function nf90_inq_compound_nfields(ncid, xtype, nfields)
integer, intent(in) :: ncid
integer, intent(in) :: xtype
integer, intent(out) :: nfields
integer :: nf90_inq_compound_nfields
NCIDXTYPENAMESIZEPNFIELDSPNF90_NOERRNF90_EBADIDNF90_ENOTNC4NF90_ESTRICTNC3NF90_EBADTYPENF90_EBADTYPEIDNF90_EHDFERR