Changeset 910 in lmdz_wrf for trunk/tools
- Timestamp:
- Jun 20, 2016, 1:40:03 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r909 r910 745 745 746 746 for attrn in varinf.attributes: 747 attrv = fvar.getncattr(attrn) 748 newar = newvar.setncattr(attrn, attrv) 747 newvarattr = newvar.ncattrs() 748 if not gen.searchInlist(newvarattr, attrn): 749 attrv = fvar.getncattr(attrn) 750 newar = newvar.setncattr(attrn, attrv) 749 751 750 752 fvar = ncf.renameVariable(fvarn, fvarn + 'rmdname') … … 16161 16163 tempt = temp.transpose() 16162 16164 qvt = qv.transpose() 16163 print fname + ' Lluis shapes varint:', varint.shape, 'prest:', prest.shape, \16164 'psfct:', psfct.shape, 'hgtt:', hgtt.shape,' tempt:', tempt.shape, 'qvt:',qvt.shape16165 16165 varinterp = fin.module_forinterpolate.interp( data_in=varint, \ 16166 16166 pres_field=prest, interp_levels=interplevs, psfc=psfct, \
Note: See TracChangeset
for help on using the changeset viewer.