Revision: 6723
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6723&view=rev
Author:   jswhit
Date:     2008-12-31 17:10:51 +0000 (Wed, 31 Dec 2008)

Log Message:
-----------
more comments added to document proj4 bug

Modified Paths:
--------------
    trunk/toolkits/basemap/lib/mpl_toolkits/basemap/proj.py

Modified: trunk/toolkits/basemap/lib/mpl_toolkits/basemap/proj.py
===================================================================
--- trunk/toolkits/basemap/lib/mpl_toolkits/basemap/proj.py     2008-12-31 
17:00:34 UTC (rev 6722)
+++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/proj.py     2008-12-31 
17:10:51 UTC (rev 6723)
@@ -99,7 +99,11 @@
             # raise an exception for ellipsoids - there appears to be a bug
             # in proj4 that causes the inverse transform to fail for points
             # more than 90 degrees of arc away from center point for ellipsoids
-            # (works fine for spheres)
+            # (works fine for spheres) - below is an example
+            #from pyproj import Proj
+            #p1 = Proj(proj='aeqd',a=6378137.00,b=6356752.3142,lat_0=0,lon_0=0)
+            #x,y= p1(91,0)
+            #lon,lat = p1(x,y,inverse=True) # lon is 89 instead of 91
             if self.ellipsoid:
                 msg = dedent("""
                 full disk (whole world) Azimuthal Equidistant projection can


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to