Mauro Cavalcanti wrote:
Dear ALL,
I am using Basemap version 0.90 with MPL version 0.98.3 under Linux
Ubuntu, both installed from Andrew Straw repository (I just prefer to
install from repositories via apt than directly from the sources,
although in this case I do not have always the latest versions).
Mauro: There never actually was a Basemap 0.90 - could you check that
version number again with
from mpl_toolkits.basemap import __version__
print __version__
0.99.2
See below for my comment on the speed of drawing rivers ..
I stumbled upon a few issues that I could not solve by looking at the
available documentation. They are not really critical for me, but I
would be interested in finding some more about them anyway.
Here they are:
i) When trying some of the projections listed in the Basemap
documentation, I got a message saying that this or that projection is
not available, what leads me to think that these projections have only
been included in later versions of Basemap. However, I could not find
this in the documentation. This is not critical for my current
project, as I have no need to offer so many projections, but I would
like to know.
ii) The plotting of rivers using the drawrivers() method is painfully
slow, even with resolution set to crude. The FAQ provided with the
Basemap source package offers an interesting suggestion for
potentially solving this, but an exemple would be in order (the FAQ
mentions an ireland.py example which I have however not found in the
examples directory).
Looked into this a bit and found that drawing rivers the first time is
slow, since the reading and processing of the river data is deferred
until the drawrivers method is called. In contrast, the coastlines are
read and processed on instance creation. I did this because most people
don't use the river data, and I didn't want to impose that penalty on
them on instance creation.
Subsequent calls to drawrivers (with the same Basemap instance) are very
fast.
-Jeff
iii) In the same context as the above, I would be interested in
knowing if there is some way to speed up the plotting of a map with
the Blue Marble image superimposed on it.
In general, I would like to suggest that the Basemap FAQ could be
expanded and made available in the website, along with, perhaps, some
the examples provided in the Basemap distribution package (in the same
way the examples are provided in the MPL page).
Well, hope this helps!
Have a nice weekend.
With best regards,
--
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/PSD1FAX : (303)497-6449
325 BroadwayBoulder, CO, USA 80305-3328
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users