Changeset 2728 in lmdz_wrf for trunk/tools/generic_tools.py
- Timestamp:
- Oct 18, 2019, 5:41:56 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r2720 r2728 11449 11449 # print 'closestint:',closestint,'Ibeg:',Ibeg,'val:',val,'dval:',dval 11450 11450 11451 while val < maxv:11451 while val <= maxv: 11452 11452 values.append(val) 11453 11453 val = val + dval 11454 11455 values = np.where(np.abs(values) < dval*10.e-5, 0., values) 11454 11456 11455 11457 return np.array(values, dtype=np.float)
Note: See TracChangeset
for help on using the changeset viewer.