Changeset 1170 in lmdz_wrf for trunk/tools/nc_var_tools.py
- Timestamp:
- Oct 10, 2016, 6:03:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r1167 r1170 16435 16435 unstg[1] = unstg[1] - 1 16436 16436 geop = np.zeros(tuple(unstg), dtype=np.float) 16437 geop = 0.5*(geop0[:,1:dimz ,:,:] + geop0[:,0:dimz-1,:,:]).astype('float64')16437 geop = 0.5*(geop0[:,1:dimz+1,:,:] + geop0[:,0:dimz,:,:]).astype('float64') 16438 16438 elif modname == 'LMDZ' or modname == 'cfLMDZ': 16439 16439 ovar1 = onc.variables['geop'] … … 16599 16599 tempt = temp.transpose() 16600 16600 qvt = qv.transpose() 16601 16601 16602 varinterp = fin.module_forinterpolate.interp( data_in=varint, \ 16602 16603 pres_field=prest, interp_levels=interplevs, psfc=psfct, \
Note: See TracChangeset
for help on using the changeset viewer.