Problem in robin - basemap?

James Boyle wrote:

Jeff,

This is something I have noticed recently. If I set lon_0 = 180. using the robin projection , the parallels from 0 to 180 are drawn thicker than those from 180 to 360.
Perhaps the 0 to 180 are drawn twice - with some small offset - due some wraparound problem.
Enclosed is some code illustrating the problem and the pngs.
It is not a glaring difference, but I think real. It also shows up if you look carefully at the output from simpletest.py in your examples.

basemap .99.1 matplotlib 0.98.3 OS X 10.4
--Jim

m = basemap.Basemap(resolution='c',projection='robin',lon_0=180.)
parallels = numpy.arange(-90.,90.,30.)
m.drawparallels(parallels,labels=[1,0,0,0],color='r')
pylab.title('lon_0=180')
pylab.savefig('lon_0-180')
pylab.clf()

m = basemap.Basemap(resolution='c',projection='robin',lon_0=0.)
parallels = numpy.arange(-90.,90.,30.)
m.drawparallels(parallels,labels=[1,0,0,0],color='r')
pylab.title('lon_0=0')
pylab.savefig('lon_0-0')
pylab.clf()

Jim: I can't reproduce this, so I suspect it's been fixed since basemap 0.99.1. Can you upgrade and let me know whether that fixes it for you?

-Jeff

(P.S. CC'ing matplotlib-users)

ยทยทยท

------------------------------------------------------------------------

------------------------------------------------------------------------

--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...259...
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : Jeffrey S. Whitaker: NOAA Physical Sciences Laboratory