Need to add altitude to weather plugin for reliable forecasts
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with paperpi/plugins/met_no/met_no.py at the referenced configuration and request-building locations. Read how plugin configuration is handled and how the met.no URL is assembled; add support for an optional altitude value and include it in the request. Done means the configured altitude is sent and the forecast uses the appropriate elevation.
由索引模型根据 Issue 内容生成。
描述
Describe the bug
In some cases the met.no weather API supplies the incorrect altitude for a given Lat/Lon. It appears to default to 4949 meters for some locations. See Atlanta Georgia. This leads the temperature forecasts to be very wrong.
Valid forecast with supplied altitude (320m)
To Reproduce
Set up the weather plugin with the following values
Plugin: Weather Atlanta]
layout = layout
plugin = met_no
refresh_rate = 300
min_display_time = 50
max_priority = 2
location_name = Atlanta, Georgia
lat = 34.6
lon = 84.31
Expected behavior
The plugin should get the appropriate temperature forecast.
Additional context
This can be fixed by adding an altitude key to the plugin configuration and then updating the plugin to use an altitude value in the requested URL
- 主要语言
- Python
- 星标
- 205
- 派生
- 17
- 平均合并
- 3 小时 49 分钟
- 30 天内合并 PR
- 89
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
txoof/PaperPi 的其他 Issue
-
enhancement
难度 1/5 1 小时以内 新手友好度 75/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
area:plugins enhancement
难度 5/5 一周以上 新手友好度 25/100
维护者通常 1 天内回复
-
area:install enhancement
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
-
area:plugins
难度 2/5 1-3 小时 新手友好度 55/100
维护者通常 1 天内回复
相似的 Issue
-
URLValidator ignores an explicit empty scheme allowlist可能已有人在做 @IlyaKhalafi 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
tortoise/tortoise-orm#2393 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
frappe/frappe_docker#2046 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
complete_box_iou_loss / complete_box_iou: NaN gradients for zero-height boxes, NaN for point boxes未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
AXI SMU SPEC
难度 2/5 1-3 小时 新手友好度 62/100
tenstorrent/tt-oca-harness#3556 ·
维护者通常 1 天内回复