Clarify NMC labels as regional observations

This commit is contained in:
2569718930@qq.com
2026-04-06 12:47:52 +08:00
parent 0f5c658ba8
commit 26674cf2b7
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -168,7 +168,8 @@ class NmcSourceMixin:
city_meta = self.CITY_REGISTRY.get(str(city or "").strip().lower()) or {}
return [
{
"name": f"{meta.get('region_label') or current.get('station_name')} (NMC)",
"name": f"{meta.get('region_label') or current.get('station_name')}区域实况 (NMC)",
"station_label": f"{meta.get('region_label') or current.get('station_name')}区域实况 (NMC)",
"lat": city_meta.get("lat"),
"lon": city_meta.get("lon"),
"temp": current.get("current", {}).get("temp"),