Changeset 1822 in lmdz_wrf
- Timestamp:
- Mar 19, 2018, 9:09:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r1821 r1822 18483 18483 print ' from:', ovarin.shape, 'to', (dimt, dimz, dimy, dimx) 18484 18484 if isFR64: 18485 varin = np.zeros((dimt, dimz, dimy, dimx), dtype=np.float64) 18485 18486 varin0 = np.zeros((dimt, dimz, dimy, dimx), dtype=np.float64) 18486 18487 varin02 = np.zeros((dimt, dimz, dimy, dimx), dtype=np.float64) 18487 18488 else: 18489 varin = np.zeros((dimt, dimz, dimy, dimx), dtype=np.float) 18488 18490 varin0 = np.zeros((dimt, dimz, dimy, dimx), dtype=np.float) 18489 18491 varin02 = np.zeros((dimt, dimz, dimy, dimx), dtype=np.float) … … 18527 18529 print ' from:', ovarin.shape, 'to', (dimt, dimz, dimy, dimx) 18528 18530 if isFR64: 18531 varin = np.zeros((dimt, dimz, dimy, dimx), dtype=np.float64) 18529 18532 varin0 = np.zeros((dimt, dimz, dimy, dimx), dtype=np.float64) 18530 18533 varin02 = np.zeros((dimt, dimz, dimy, dimx), dtype=np.float64) 18531 18534 else: 18535 varin = np.zeros((dimt, dimz, dimy, dimx), dtype=np.float) 18532 18536 varin0 = np.zeros((dimt, dimz, dimy, dimx), dtype=np.float) 18533 18537 varin02 = np.zeros((dimt, dimz, dimy, dimx), dtype=np.float) … … 18540 18544 18541 18545 isgeop = False 18542 varattrs = gen.variables_values(' ua')18546 varattrs = gen.variables_values('va') 18543 18547 CFvn = varattrs[0] 18544 18548 newvarattr['standard_name'] = varattrs[1]
Note: See TracChangeset
for help on using the changeset viewer.