Changeset 1254 in lmdz_wrf for trunk/tools
- Timestamp:
- Nov 2, 2016, 7:24:51 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r1233 r1254 8641 8641 idim = 0 8642 8642 for vd in dndims: 8643 idim = dndims.index(vd)8644 8643 if searchInlist(udndims, vd): 8645 8644 if varv.shape[idim] - 1 == udims[vd]: … … 8652 8651 varv.shape[idim], 'as staggered dim' 8653 8652 newdims.append(vdstaggered[vd]) 8653 idim = idim + 1 8654 8654 8655 8655 if len(vdstaggered) > 1: … … 8659 8659 upstagslc = [] 8660 8660 downstagslc = [] 8661 for vd in vdstaggered.keys():8661 for vd in dndims: 8662 8662 idim = dndims.index(vd) 8663 8663 if vdstaggered[vd] != varv.shape[idim]:
Note: See TracChangeset
for help on using the changeset viewer.