basemap icon indicating copy to clipboard operation
basemap copied to clipboard

baselayers incorrect for some 'sper' projections.

Open flamingbear opened this issue 10 years ago • 2 comments
trafficstars

This may be related to #168, but might not.

If your 'sper' basemap is set up to choose corners using xy values, then the baselayers are not displayed properly. These all fail: bluemarble, shadedrelief, and etopo.

Any help would be great. Thanks

Does what I expect:

h = 15000.; lon_0 = -115; lat_0 = 55

m = Basemap(projection='nsper',satellite_height=h*1000.,\
            lon_0=lon_0,lat_0=lat_0,resolution='l')
m.drawparallels(np.arange(-90.,120.,30.))
m.drawcoastlines()
m.shadedrelief(scale=.2)

Fails to correctly display the base layer.

m = Basemap(projection='nsper',satellite_height=h*1000.,\
            lon_0=lon_0,lat_0=lat_0,resolution='l',\
            llcrnrx=-4000000,llcrnry=0,urcrnrx=4000000,urcrnry=5000000)
m.drawparallels(np.arange(-90.,120.,30.))
m.drawcoastlines()
m.shadedrelief(scale=.2)

Here's a gist with what I'm seeing https://gist.github.com/flamingbear/76eeb588c006965361c6

and a screenshot. screen shot 2015-08-14 at 1 05 42 pm

flamingbear avatar Aug 14 '15 22:08 flamingbear

Ping?

flamingbear avatar Oct 06 '15 16:10 flamingbear

Sorry we haven't gotten back to you. Indeed, this looks like a serious bug that needs to be addressed. I will be focusing on Basemap bugs soon, once matplotlib 1.5 gets finalized.

On Tue, Oct 6, 2015 at 12:40 PM, Matt Savoie [email protected] wrote:

Ping?

— Reply to this email directly or view it on GitHub https://github.com/matplotlib/basemap/issues/199#issuecomment-145922452.

WeatherGod avatar Oct 07 '15 13:10 WeatherGod