39 use netcdf,
only: nf90_enotnc
42 integer,
intent(in):: fileid
43 character(len = *),
intent(out):: name
45 character(*),
parameter:: subname =
"GDNcFileName"
47 call beginsub(subname,
'fileid=%d', i=(/fileid/))
51 if (.not.
associated(identptr))
exit
52 if (identptr % id == fileid)
then
53 name = identptr % filename
54 call endsub(subname,
'name=<%c>', c1=trim(name))
57 identptr => identptr % next
61 call endsub(subname,
'err')
subroutine gdncfileinquirename(fileid, name)
subroutine, public storeerror(number, where, err, cause_c, cause_i)
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, public endsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca)
logical, save id_used
id_head が初期化済みかを示すフラグ
type(gd_nc_file_id_entry), pointer, save id_head