Changeset 445 in lmdz_wrf
- Timestamp:
- May 28, 2015, 3:57:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/diagnostics.py
r444 r445 970 970 var0 = ncobj.variables[depvars[0]] 971 971 var1 = ncobj.variables[depvars[1]] 972 if depvars p[2] != 'WRFtime':972 if depvars[2] != 'WRFtime': 973 973 var2 = ncobj.variables[depvars[2]] 974 974 … … 981 981 982 982 # Transforming to a flux 983 if depvars p[2] != 'WRFtime':983 if depvars[2] != 'WRFtime': 984 984 dtimeunits = var2.getncattr('units') 985 985 tunits = dtimeunits.split(' ')[0]
Note: See TracChangeset
for help on using the changeset viewer.