Changeset 1696 in lmdz_wrf for trunk/tools/diag_tools.py


Ignore:
Timestamp:
Dec 7, 2017, 8:47:17 PM (7 years ago)
Author:
lfita
Message:

Fixing computation of 'C_td' it requires 'hus'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diag_tools.py

    r1687 r1696  
    13111311            """
    13121312            vn = 'td'
    1313             CF3Dvars = ['ta', 'plev', 'hur']
     1313            CF3Dvars = ['ta', 'plev', 'hus']
    13141314            for v3D in CF3Dvars:
    13151315                if not vars3D.has_key(v3D):
     
    13311331            ta = ncobj.variables[vars3D['ta']][:]
    13321332            p = ncobj.variables[vars3D['plev']][:]
    1333             hur = ncobj.variables[vars3D['hur']][:]
     1333            hur = ncobj.variables[vars3D['hus']][:]
    13341334
    13351335            self.values = var_td(ta, p, hur)
Note: See TracChangeset for help on using the changeset viewer.