Changeset 1389 in lmdz_wrf
- Timestamp:
- Dec 14, 2016, 5:04:32 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/diagnostics.py
r1382 r1389 1488 1488 # Removing the nonChecking variable-dimensions from the initial list 1489 1489 varsadd = [] 1490 diagoutvd = list(dvnames) 1490 1491 for nonvd in NONchkvardims: 1491 if gen.searchInlist(dvnames,nonvd): d vnames.remove(nonvd)1492 if gen.searchInlist(dvnames,nonvd): diagoutvd.remove(nonvd) 1492 1493 varsadd.append(nonvd) 1493 1494 1494 ncvar.insert_variable(ncobj, 'zg', diagout, dnames, d vnames, newnc)1495 ncvar.insert_variable(ncobj, 'zg', diagout, dnames, diagoutvd, newnc) 1495 1496 1496 1497 # WRFp pressure from WRF as P + PB … … 1572 1573 # Removing the nonChecking variable-dimensions from the initial list 1573 1574 varsadd = [] 1575 diagoutvd = list(dvnames) 1574 1576 for nonvd in NONchkvardims: 1575 if gen.searchInlist(dvnames,nonvd): d vnames.remove(nonvd)1577 if gen.searchInlist(dvnames,nonvd): diagoutvd.remove(nonvd) 1576 1578 varsadd.append(nonvd) 1577 1579 1578 ncvar.insert_variable(ncobj, 'ta', WRFt, dnames, d vnames, newnc)1580 ncvar.insert_variable(ncobj, 'ta', WRFt, dnames, diagoutvd, newnc) 1579 1581 1580 1582 # WRFua (U, V, SINALPHA, COSALPHA) to be rotated !!
Note: See TracChangeset
for help on using the changeset viewer.