4 use netcdf
, only: nf90_enotnc
7 integer,
intent(in):: fileid
8 character(len = *),
intent(out):: name
10 character(*),
parameter:: subname =
"GDNcFileName" 12 call beginsub(subname,
'fileid=%d', i=(/fileid/))
16 if (.not.
associated(identptr))
exit 17 if (identptr % id == fileid)
then 18 name = identptr % filename
19 call endsub(subname,
'name=<%c>', c1=trim(name))
22 identptr => identptr % next
26 call endsub(subname,
'err')
subroutine, public storeerror(number, where, err, cause_c, cause_i)
type(gd_nc_file_id_entry), pointer, save id_head
subroutine, public dbgmessage(fmt, i, r, d, L, n, c1, c2, c3, ca)
subroutine, public beginsub(name, fmt, i, r, d, L, n, c1, c2, c3, ca, version)
subroutine gdncfileinquirename(fileid, name)
subroutine, public endsub(name, fmt, i, r, d, L, n, c1, c2, c3, ca)