Changeset 1700 in lmdz_wrf


Ignore:
Timestamp:
Dec 8, 2017, 5:46:00 PM (7 years ago)
Author:
lfita
Message:

Adding filling of 4D pressure variable for computation of 'td'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diag_tools.py

    r1696 r1700  
    13331333            hur = ncobj.variables[vars3D['hus']][:]
    13341334
     1335            if len(ta.shape) != len(p.shape):
     1336                p = fill_Narray(p, ta*0., filldim=[0,2,3])
     1337
    13351338            self.values = var_td(ta, p, hur)
    13361339            self.dims = [dictdims['time'], dictdims['plev'], dictdims['lat'],        \
Note: See TracChangeset for help on using the changeset viewer.