Changeset 941 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jun 24, 2016, 10:50:29 AM (8 years ago)
Author:
lfita
Message:

Removing '_' from time units in 'coincident_CFtimes'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r933 r941  
    17581758        elif u == 'Kg m-2': lu='$kgm^{-2}$'
    17591759        elif u == 'kg/m2/s': lu='$kgm^{-2}s^{-1}$'
     1760        elif u == 'kg/m^2/s': lu='$kgm^{-2}s^{-1}$'
    17601761        elif u == 'kg/(m2*s)': lu='$kgm^{-2}s^{-1}$'
    17611762        elif u == 'kg/(s*m2)': lu='$kgm^{-2}s^{-1}$'
     
    26282629    import datetime as dt
    26292630    fname = 'coincident_CFtimes'
     2631
     2632    tunitA = tunitA.replace('_',' ')
     2633    tunitB = tunitB.replace('_',' ')
    26302634
    26312635    trefA = tunitA.split(' ')[2] + ' ' + tunitA.split(' ')[3]
Note: See TracChangeset for help on using the changeset viewer.