matplotlib / matplotlib/basemap
baselayers incorrect for some 'sper' projections.
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 817
- 派生
- 395
- PR 合并指标
- 30 天内没有已合并 PR
描述
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:
``` python
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.
``` python
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.

贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用两个 Basemap 示例重现该问题,在 nsper 使用 llcrnrx、llcrnry、urcrnrx 和 urcrnry 的显式值时,对比 shadedrelief、bluemarble 和 etopo。从 Basemap 投影和 shadedrelief 的入口点开始,并以链接的 gist 和屏幕截图作为参考。当基础图层使用显式角点坐标正确显示时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- data-visualization
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100