Changeset 398 for trunk/UTIL/PYTHON/myplot.py
- Timestamp:
- Nov 18, 2011, 1:51:41 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/myplot.py
r396 r398 488 488 meanlat = 0.5*(wlat[0]+wlat[1]) 489 489 if blat is None: 490 ortholat=meanlat 490 491 if wlat[0] >= 80.: blat = 40. 491 492 elif wlat[1] <= -80.: blat = -40. 492 493 elif wlat[1] >= 0.: blat = wlat[0] 493 494 elif wlat[0] <= 0.: blat = wlat[1] 495 else: ortholat=blat 494 496 #print "blat ", blat 495 497 h = 50. ## en km … … 498 500 llcrnrlat=wlat[0],urcrnrlat=wlat[1],llcrnrlon=wlon[0],urcrnrlon=wlon[1]) 499 501 elif char == "moll": m = Basemap(rsphere=radius,projection='moll',lon_0=meanlon) 500 elif char == "ortho": m = Basemap(rsphere=radius,projection='ortho',lon_0=meanlon,lat_0= meanlat)502 elif char == "ortho": m = Basemap(rsphere=radius,projection='ortho',lon_0=meanlon,lat_0=ortholat) 501 503 elif char == "lcc": m = Basemap(rsphere=radius,projection='lcc',lat_1=meanlat,lat_0=meanlat,lon_0=meanlon,\ 502 504 llcrnrlat=wlat[0],urcrnrlat=wlat[1],llcrnrlon=wlon[0],urcrnrlon=wlon[1]) … … 605 607 "T_NADIR_DAY": "%.0f",\ 606 608 "T_NADIR_NIT": "%.0f",\ 609 "TEMP_DAY": "%.0f",\ 610 "TEMP_NIGHT": "%.0f",\ 607 611 "tpot": "%.0f",\ 608 612 "TSURF": "%.0f",\
Note: See TracChangeset
for help on using the changeset viewer.