Changeset 385 for trunk/UTIL/PYTHON/myplot.py
- Timestamp:
- Nov 14, 2011, 9:56:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/myplot.py
r382 r385 444 444 445 445 ## Author: AS 446 def define_proj (char,wlon,wlat,back=None,blat= False):446 def define_proj (char,wlon,wlat,back=None,blat=None): 447 447 from mpl_toolkits.basemap import Basemap 448 448 import numpy as np … … 451 451 meanlon = 0.5*(wlon[0]+wlon[1]) 452 452 meanlat = 0.5*(wlat[0]+wlat[1]) 453 if not blat:453 if blat is None: 454 454 if wlat[0] >= 80.: blat = 40. 455 455 elif wlat[1] <= -80.: blat = -40.
Note: See TracChangeset
for help on using the changeset viewer.