39 use netcdf,
only: nf90_ebaddim, nf90_noerr, nf90_inq_dimid
44 character(*),
intent(in):: dimname
46 integer:: stat, dimid, i
47 character(*),
parameter:: subname =
'GDNcSearchDim'
49 call beginsub(subname,
'var=%d dimname=%c', i=(/var%id/), c1=trim(dimname))
52 if (stat /= nf90_noerr)
goto 999
54 stat = nf90_inq_dimid(ent%fileid, dimname, dimid)
55 if (stat /= nf90_noerr)
goto 999
57 if (dimid == ent%dimid)
then
62 if (.not.
associated(ent%dimids))
then
66 do, i = 1,
size(ent%dimids)
67 if (ent%dimids(i) == dimid)
then
74 call endsub(subname,
'result=%d', i=(/result/))
integer function gdncsearchdim(var, dimname)
integer, parameter, public gt_enomoredims
-101 以下: データ構造のエラー
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)
integer function, public vtable_lookup(var, entry)