Changeset 2458 in lmdz_wrf for trunk/tools/generic_tools.py
- Timestamp:
- Apr 22, 2019, 8:53:45 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r2457 r2458 15956 15956 return newtimevals 15957 15957 15958 times = [15.5, 45, 74.5, 105, 135.5, 166, 196.5, 227.5, 258, 288.5, 319]15959 times = [56649.5, 56680, 56710.5, 56741, 56771.5, 56802.5, 56833, 56863.5, 56894, 56924.5]15960 print fix_CFdates(times, 'days since 1850-01-01 00:00:00', 'noleap', \15961 'days since 1949-12-01 00:00:00')15958 #times = [15.5, 45, 74.5, 105, 135.5, 166, 196.5, 227.5, 258, 288.5, 319] 15959 #times = [56649.5, 56680, 56710.5, 56741, 56771.5, 56802.5, 56833, 56863.5, 56894, 56924.5] 15960 #print fix_CFdates(times, 'days since 1850-01-01 00:00:00', 'noleap', \ 15961 # 'days since 1949-12-01 00:00:00') 15962 15962 15963 15963 #quit()
Note: See TracChangeset
for help on using the changeset viewer.