|
From: Jeff W. <js...@fa...> - 2008-12-08 17:02:39
|
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). > > 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). > > 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.\ > Mauro: I just added a 'scale' keyword to bluemarble that downsamples the image to speed things up. scale=1.0 (the default) gives the same answer as before (the full resolution image). scale=0.5 downsamples the image to half the original size, speeding things up considerably (and using a lot less memory, which I think is the real problem). -Jeff > 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 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg |