Changeset 2250 in lmdz_wrf for trunk/tools/generic_tools.py


Ignore:
Timestamp:
Nov 27, 2018, 7:49:55 PM (6 years ago)
Author:
lfita
Message:

Adding:

  • `draw_river_pattern: Function to plot rivers' patterns from ORCHIDEE's routing scheme file ('routing.nc' and 'river_desc.nc')
  • Fixing other issues
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r2238 r2250  
    1038310383    latexsymb = {}
    1038410384
     10385    if type(itext) != type('S.'):
     10386        print warnmsg
     10387        print '  ' + fname + ": passed text '", itext, "' is not a string type !!"
     10388        print '    passed type:', type(itext), 'transforming it to string'
     10389        itext = str(itext)
     10390
    1038510391    Litext = len(itext)
    1038610392    for ic in range(Litext):
Note: See TracChangeset for help on using the changeset viewer.