- Timestamp:
- Jul 17, 2018, 11:20:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/diagnostics.py
r1943 r1944 1117 1117 # WRFp pressure from WRF as P + PB 1118 1118 elif diagn == 'WRFp': 1119 1120 diagout = WRFp 1119 var0 = ncobj.variables[depvars[0]][:] 1120 var1 = ncobj.variables[depvars[1]][:] 1121 1122 diagout = var0 + var1 1121 1123 1122 1124 ncvar.insert_variable(ncobj, 'pres', diagout, dnames, dvnames, newnc) … … 1485 1487 # Adding that additional variables required to compute some diagnostics which 1486 1488 # where not in the original file 1489 print ' adding additional variables...' 1487 1490 for vadd in varsadd: 1488 1491 if not gen.searchInlist(newnc.variables.keys(),vadd) and \
Note: See TracChangeset
for help on using the changeset viewer.