Changeset 2276 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Dec 28, 2018, 3:46:34 PM (6 years ago)
Author:
lfita
Message:

Fixing right oder of dimensions in `WRFbnds'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diagnostics.py

    r2274 r2276  
    901901
    902902        dnamesvar = []
     903        dnamesvar.append('bnds')
     904        dnamesvar.append(ncobj.variables[depvars[0]].dimensions[1])
    903905        dnamesvar.append(ncobj.variables[depvars[2]].dimensions[2])
    904         dnamesvar.append(ncobj.variables[depvars[0]].dimensions[1])
    905         dnamesvar.append('bnds')
    906906        dvnamesvar = ncvar.var_dim_dimv(dnamesvar,dnames,dvnames)
    907907
Note: See TracChangeset for help on using the changeset viewer.