From 89144357668e3ed0615f669b44b434c368e6e016 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Sun, 8 Feb 2026 02:50:08 +0800 Subject: [PATCH] feat: add multi-source weather data collection with OpenWeatherMap, Visual Crossing, and NOAA METAR. --- src/data_collection/weather_sources.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/data_collection/weather_sources.py b/src/data_collection/weather_sources.py index 3ddabc50..02083755 100644 --- a/src/data_collection/weather_sources.py +++ b/src/data_collection/weather_sources.py @@ -392,10 +392,11 @@ class WeatherDataCollector: "_t": int(time.time()), # 禁用缓存,强制刷新 } - # 对于美国市场,使用华氏度并请求多模型共识 + # 对于美国市场,使用华氏度 if use_fahrenheit: params["temperature_unit"] = "fahrenheit" - params["models"] = "ecmwf_ifs04,ncep_hrrr_conus" # 正确的模型名 + # 不使用 models 参数,让 Open-Meteo 用默认最优模型 + # NWS 已提供官方预报对比,无需 HRRR response = self.session.get( url,