35 use dc_trace
, only: beginsub, endsub, dbgmessage
37 type(gt_variable),
intent(in):: var
38 integer,
intent(in):: dimord
39 logical,
intent(out):: err
42 integer:: ndimsp, stat
43 character(*),
parameter:: subname =
'GTVarDelDim' 46 call beginsub(subname)
48 call endsub(subname,
"negative dimord=%d invalid", i=(/dimord/))
53 call endsub(subname,
"variable invalid")
55 else if (dimord > ndimsp)
then 56 call endsub(subname,
"dimord=%d not exist", i=(/dimord/))
63 map(dimord: ndimsp-1) = map(dimord+1: ndimsp)
subroutine map_set(var, map, stat)
subroutine map_set_ndims(var, ndims, stat)
subroutine gtvardeldim(var, dimord, err)
subroutine, public map_lookup(var, vid, map, ndims)