Given ncid, find complete name of group. (Root group is named "/").
The name provided by this function is a full path name for the group is, with all parent groups included, separated with a forward slash (as in Unix directory names). For a name relative to the parent group See NF90_INQ_GRPNAME.
To find the length of the full name See NF90_INQ_GRPNAME_LEN.
function nf90_inq_grpname_full(ncid, len, name) integer, intent(in) :: ncid integer, intent(out) :: len character (len = *), intent(out) :: name integer :: nf90_inq_grpname_full
NCID
LEN
NAME
NF90_NOERR
NF90_EBADID
NF90_ENOTNC4
NF90_ESTRICTNC3
NF90_EHDFERR
This example is from test program nf_test/f90tst_grps.f90.
call check(nf90_inq_grpname_full(grpid1, len, name_in)) if (name_in .ne. grp1_full_name) stop 62