Changeset 1717 in lmdz_wrf


Ignore:
Timestamp:
Dec 13, 2017, 11:40:18 PM (7 years ago)
Author:
lfita
Message:

Fixing right order of variables to compute `var_hur'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diag_tools.py

    r1716 r1717  
    12951295    hur = q/(ws*1000.)
    12961296
     1297    print 'q:', q[5,5,5,5], 't:', t[5,5,5,5], 'p:', p[5,5,5,5]
     1298    print 'es:', es[5,5,5,5], 'ws:', ws[5,5,5,5], 'hur:', hur[5,5,5,5]
     1299
    12971300    return hur
    12981301
     
    13631366
    13641367        if Cdiag == 'hur':
    1365             """ Computing dew-point temperature
     1368            """ Computing relative humidity
    13661369            """
    13671370            vn = 'hur'
     
    13911394                p = gen.fill_Narray(p, ta*0., filldim=[0,2,3])
    13921395
    1393             self.values = var_hur(ta, p, hus)
     1396            self.values = var_hur(p, ta, hus)
    13941397            self.dims = [dictdims['time'], dictdims['plev'], dictdims['lat'],        \
    13951398              dictdims['lon']]
Note: See TracChangeset for help on using the changeset viewer.