Changeset 2472 in lmdz_wrf


Ignore:
Timestamp:
Apr 25, 2019, 1:52:28 PM (6 years ago)
Author:
lfita
Message:

Adding `proleptic_gregorian' to 'atetimeStr_conversion'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r2471 r2472  
    831831    availcftimeu = ['weeks', 'days', 'hours', 'minutes', 'seconds', 'milliseconds']
    832832    availcalendar = ['leap', '366d', 'gregorian', 'Gregorian', 'standard',           \
    833       'Standard', 'noleap', '365d', '360d']
     833      'Standard', 'noleap', '365d', '360d', 'proleptic_gregorian']
    834834
    835835    if type(StringDT) == type('S') and StringDT[0:1] == 'h':
     
    11091109        if not searchInlist(availcalendar , calendar):
    11101110            print errormsg
    1111             print '  ' + fname + ": calendar '" + + "' not ready !!"
     1111            print '  ' + fname + ": calendar '" + calendar + "' not ready !!"
    11121112            print '    avaialable ones:', availcalendar
    11131113            quit(-1)
Note: See TracChangeset for help on using the changeset viewer.