33   integer, 
intent(in):: dimord
    34   logical, 
intent(out):: err
    37   integer:: id, nd, ndimsp, stat, vid
    38   character(*), 
parameter:: subname = 
'GTVarAddDim'    44     call endsub(subname, 
"negative dimord=%d invalid", i=(/dimord/))
    51     call endsub(subname, 
"dimvar invalid")
    55     call endsub(subname, 
"dimvar nondimensional")
    58     call endsub(subname, 
"dimvar multidimensional")
    68   if (dimord > ndimsp + 1) 
then    76   map(id+1: nd+1) = map(id: nd)
    80   call inquire(dimvar, url=map(id)%url)
    81   map(id)%allcount = tmpmap%allcount
    82   map(id)%offset = tmpmap%offset
    83   map(id)%step = tmpmap%step
    84   map(id)%start = tmpmap%start
    85   map(id)%count = tmpmap%count
    86   map(id)%stride = tmpmap%stride
    89   call map_set(var, map=map, stat=stat)
    90   if (stat /= 0) 
goto 999
 
subroutine map_set(var, map, stat)
 
subroutine map_set_ndims(var, ndims, stat)
 
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 map_lookup(var, vid, map, ndims)
 
subroutine, public endsub(name, fmt, i, r, d, L, n, c1, c2, c3, ca)
 
subroutine map_resize(var, ndims)