Changeset 2760 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Nov 13, 2019, 7:07:08 PM (5 years ago)
Author:
lfita
Message:

Fixing minor errors
Adding provided values in case of error in `DefineMap?'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r2757 r2760  
    30613061              "values, ", len(projvals), 'provided!!'
    30623062            print '    expected values', expvals
     3063            print '    provided:', projvals
    30633064            quit(-1)
    30643065        defmap=Basemap(projection=proj, llcrnrlon=projvals[0], llcrnrlat=projvals[1],\
     
    30743075              "values, ", len(projvals), 'provided!!'
    30753076            print '    expected values', expvals
     3077            print '    provided:', projvals
    30763078            quit(-1)
    30773079            m = Basemap(projection=proj, lat_0=projvals[0], lon_0=projvals[1],       \
     
    30873089              "values, ", len(projvals), 'provided!!'
    30883090            print '    expected values', expvals
     3091            print '    provided:', projvals
    30893092            quit(-1)
    30903093        defmap = Basemap(projection=proj, boundinglat=projvals[0], lon_0=projvals[1],\
     
    30953098        if len(projvals) != Nvals:
    30963099            expvals = ['boundinglat', 'lon_0']
    3097             print errrormsg
     3100            print errormsg
    30983101            print '  ' + fname + ": projection '" + proj + "' reequires ", Nvals,    \
    30993102              "values, ", len(projvals), 'provided!!'
    31003103            print '    expected values', expvals
     3104            print '    provided:', projvals
    31013105            quit(-1)
    31023106        defmap = Basemap(projection=proj, boundinglat=projvals[0], lon_0=projvals[1],\
Note: See TracChangeset for help on using the changeset viewer.