Changeset 1636 in lmdz_wrf


Ignore:
Timestamp:
Sep 10, 2017, 9:59:22 PM (7 years ago)
Author:
lfita
Message:

Adding format date conversion '/' to '-'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1635 r1636  
    1868818688            cftimes.append(gen.realdatetime1_CFcompilant(wrfdates, refDateTime, Tunits))
    1868918689    else:
    18690         itimeunits = timeobj.getncattr('units')
     18690        itimeunits = timeobj.getncattr('units').replace('/','-')
    1869118691        if itimeunits != tunit:
    1869218692            cftimes = gen.coincident_CFtimes(timev, tunit, itimeunits)
Note: See TracChangeset for help on using the changeset viewer.