Ignore:
Timestamp:
Nov 14, 2011, 9:56:08 PM (13 years ago)
Author:
acolaitis
Message:

PYTHON. Minor commit to avoid loosing stuff when gnome is down tomorrow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/myplot.py

    r382 r385  
    444444
    445445## Author: AS
    446 def define_proj (char,wlon,wlat,back=None,blat=False):
     446def define_proj (char,wlon,wlat,back=None,blat=None):
    447447    from    mpl_toolkits.basemap            import Basemap
    448448    import  numpy                           as np
     
    451451    meanlon = 0.5*(wlon[0]+wlon[1])
    452452    meanlat = 0.5*(wlat[0]+wlat[1])
    453     if not blat:
     453    if blat is None:
    454454        if   wlat[0] >= 80.:   blat =  40.
    455455        elif wlat[1] <= -80.:  blat = -40.
Note: See TracChangeset for help on using the changeset viewer.