Changeset 1856 in lmdz_wrf for trunk/tools/generic_tools.py
- Timestamp:
- Mar 25, 2018, 7:21:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r1854 r1856 474 474 fname = 'datetimeStr_conversion' 475 475 476 availableSio = {'cfTime,[units]': 'time in CF-convention format [units] = ' + \ 477 '[tunits] since [refdate]', \ 478 'matYmdHMS': 'numerical vector with [[YYYY], [MM], [DD], [HH], [MI], [SS]]', \ 479 'YmdHMS': '[YYYY][MM][DD][HH][MI][SS] format', \ 480 'Y-m-d_H:M:S': '[YYYY]-[MM]-[DD]_[HH]:[MI]:[SS] format', \ 481 'Y-m-d H:M:S': '[YYYY]-[MM]-[DD] [HH]:[MI]:[SS] format', \ 482 'Y/m/d H-M-S': '[YYYY]/[MM]/[DD] [HH]-[MI]-[SS] format', \ 483 'Y-m-dTH:M:SZ': '[YYYY]-[MM]-[DD]T[HH]:[MI]:[SS]Z UNIDATA format', \ 484 'WRFdatetime': "[Y], [Y], [Y], [Y], '-', [M], [M], '-', [D], [D], '_', " + \ 485 "[H], [H], ':', [M], [M], ':', [S], [S]"} 486 476 487 if StringDT[0:1] == 'h': 477 488 print fname + '_____________________________________________________________' … … 596 607 print ' ' + fname + ': type of String input date "' + typeSi + \ 597 608 '" not ready !!!!' 609 printing_dictionary(availableSio) 598 610 quit(-1) 599 611 … … 723 735 print errormsg 724 736 print ' ' + fname + ': type of output date "' + typeSo + '" not ready !!!!' 737 printing_dictionary(availableSio) 725 738 quit(-1) 726 739
Note: See TracChangeset
for help on using the changeset viewer.