Changeset 585 in lmdz_wrf for trunk/tools
- Timestamp:
- Jul 8, 2015, 1:09:39 PM (10 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing.py
r562 r585 2390 2390 varextra = np.squeeze(objextra[tuple(slicevar)]) 2391 2391 2392 drw.plot_points(xptval, yptval, lonv, latv, varextra, varextrav, gtit, mapvalues,\ 2392 if mapvalues == 'None': 2393 mapV = None 2394 else: 2395 mapV = mapvalues 2396 2397 drw.plot_points(xptval, yptval, lonv, latv, varextra, varextrav, gtit, mapV, \ 2393 2398 kindfigure, pointcolor, ptlabels, locleg, figureko, figuren) 2394 2399 -
trunk/tools/drawing_tools.py
r563 r585 2643 2643 m = Basemap(projection=map_proj, lat_0=lat2, lon_0=lon2, llcrnrlon=nlon, \ 2644 2644 llcrnrlat=nlat, urcrnrlon=xlon, urcrnrlat= xlat, resolution=map_res) 2645 else: 2646 print errormsg 2647 print ' ' + fname + ": map projecion '" + map_proj + "' not ready!!" 2648 print ' available: cyl, lcc' 2649 quit(-1) 2645 2650 2646 2651 # lons, lats = np.meshgrid(vlon, vlat) … … 2656 2661 parallels = pretty_int(nlat,xlat,5) 2657 2662 m.drawparallels(parallels,labels=[False,True,True,False]) 2658 # else: 2663 else: 2664 x = vlon 2665 y = vlat 2659 2666 # plt.xlim(0,dx-1) 2660 2667 # plt.ylim(0,dy-1)
Note: See TracChangeset
for help on using the changeset viewer.