- Timestamp:
- Mar 19, 2015, 6:07:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/vertical_interpolation.py
r367 r368 314 314 varu = 'gpm' 315 315 varinterp = np.zeros((dimv[0], Nintvals, dimv[2], dimv[3]), dtype=np.float) 316 newvar = newnc.createVariable(var, 'f4', ('time','z','y','x')) 316 317 elif var == 'WRFrh': 317 318 print ' ' + main + ': computing relative humidity from WRF as ' + \ … … 331 332 varu = '%' 332 333 varinterp = np.zeros((dimv[0], Nintvals, dimv[2], dimv[3]), dtype=np.float) 334 newvar = newnc.createVariable(var, 'f4', ('time','z','y','x')) 333 335 elif var == 'WRFt': 334 336 print ' ' + main + ': computing temperature from WRF as ' + \ … … 342 344 varu = 'K' 343 345 varinterp = np.zeros((dimv[0], Nintvals, dimv[2], dimv[3]), dtype=np.float) 346 newvar = newnc.createVariable(var, 'f4', ('time','z','y','x')) 344 347 else: 345 348 print errormsg
Note: See TracChangeset
for help on using the changeset viewer.