baselayers incorrect for some 'sper' projections.
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
使用两个 Basemap 示例重现该问题,在 nsper 使用 llcrnrx、llcrnry、urcrnrx 和 urcrnry 的显式值时,对比 shadedrelief、bluemarble 和 etopo。从 Basemap 投影和 shadedrelief 的入口点开始,并以链接的 gist 和屏幕截图作为参考。当基础图层使用显式角点坐标正确显示时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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.

- 主要语言
- Python
- 星标
- 817
- 派生
- 395
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
matplotlib/basemap 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
matplotlib/basemap#368 ·
-
难度 4/5 3-5 天 新手友好度 48/100
matplotlib/basemap#652 · 2 条评论 · 5 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 45/100
matplotlib/basemap#649 · 2 个 reaction ·
-
难度 5/5 一周以上 新手友好度 35/100
matplotlib/basemap#646 ·
-
难度 2/5 1-3 小时 新手友好度 48/100
matplotlib/basemap#645 · 2 条评论 ·
查看 matplotlib/basemap 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
anthropics/skills#1811 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
speaches-ai/speaches#678 ·
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
datalayer/mcp-compose#42 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
conda-forge/spacy-feedstock#177 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
UKGovernmentBEIS/inspect_evals#2523 ·