feat: add Paris (CDG) weather query support

This commit is contained in:
AmandaloveYang
2026-02-18 09:35:34 +08:00
parent d4314ff5d7
commit c89ea41441
3 changed files with 18 additions and 0 deletions
+1
View File
@@ -334,6 +334,7 @@ def start_bot():
"atl": "atlanta", "亚特兰大": "atlanta",
"dal": "dallas", "达拉斯": "dallas",
"la": "los angeles", "洛杉矶": "los angeles",
"par": "paris", "巴黎": "paris",
}
# 1. 第一优先级:严格全字匹配
+5
View File
@@ -73,6 +73,11 @@ markets:
country: "USA"
latitude: 41.8781
longitude: -87.6298
- id: "paris"
city: "Paris"
country: "France"
latitude: 48.8566
longitude: 2.3522
# Logging
logging:
+12
View File
@@ -77,6 +77,18 @@ CITY_RISK_PROFILES = {
"warning": "距离远但地形平坦,偏差稳定可预测",
"season_notes": "夏季",
},
"paris": {
"risk_level": "medium",
"risk_emoji": "🟡",
"icao": "LFPG",
"airport_name": "Charles de Gaulle 机场",
"distance_km": 25.2,
"elevation_diff_m": 26,
"typical_bias_f": 1.5,
"bias_direction": "城市热岛效应:市区比机场偏暖1-2°C",
"warning": "机场在北郊,冬季北风时比市区更冷",
"season_notes": "夏季热浪期间偏差最大",
},
# 🟢 低危城市 - 数据相对靠谱
"toronto": {