Changeset 522 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jun 19, 2015, 6:42:40 PM (10 years ago)
Author:
lfita
Message:

Adding errormsg on wrong projection in 'draw_topo_geogrid_boxes'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r489 r522  
    32473247            m = Basemap(projection=map_proj, lat_0=lat2, lon_0=lon2, llcrnrlon=nlon, \
    32483248              llcrnrlat=nlat, urcrnrlon=xlon, urcrnrlat= xlat, resolution=map_res)
     3249        else:
     3250            print errormsg
     3251            print '  ' + fname + ": projection '" + map_proj + "' does not exist!!"
     3252            print '    existing ones: cyl, lcc'
     3253            quit(-1)
    32493254
    32503255        if len(olon[:].shape) == 1:
Note: See TracChangeset for help on using the changeset viewer.