Parse Wunderground history observations for settlement highs

This commit is contained in:
2569718930@qq.com
2026-03-25 18:38:34 +08:00
parent 7589fd74bf
commit 7de31ec429
4 changed files with 185 additions and 9 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ def is_exact_settlement_city(city: str) -> bool:
def apply_city_settlement(city: str, value: Optional[Number]) -> Optional[int]:
"""
根据城市返回最终的结算值:
- 香港/台北: 向下取整 (e.g. 28.9 -> 28)
- 香港: 向下取整 (e.g. 28.9 -> 28)
- 其他: WU 规则四舍五入
"""
if value is None: