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
NCID
XTYPE
NAME
SIZEP
NFIELDSP
NF90_NOERR
NF90_EBADID
NF90_ENOTNC4
NF90_ESTRICTNC3
NF90_EBADTYPE
NF90_EBADTYPEID
NF90_EHDFERR