From f2e05178fe174849447e245f0060c4b337c158b1 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Wed, 4 Mar 2026 19:16:32 +0800 Subject: [PATCH] feat: implement FastAPI web map API for PolyWeather, integrating weather data collection, analysis, and Polymarket market data. --- web/app.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/app.py b/web/app.py index e7477b41..c563ac7f 100644 --- a/web/app.py +++ b/web/app.py @@ -117,10 +117,7 @@ def _analyze(city: str) -> Dict[str, Any]: city_lower = city.lower() cur_temp = _sf(mc.get("temp")) - # For Ankara, prioritize MGM over METAR as it's often more representative of city center - if city_lower == "ankara" and _sf(mg_cur.get("temp")) is not None: - cur_temp = _sf(mg_cur.get("temp")) - elif cur_temp is None: + if cur_temp is None: cur_temp = _sf(mg_cur.get("temp")) max_so_far = _sf(mc.get("max_temp_so_far"))