Refresh product docs and observation freshness

This commit is contained in:
2569718930@qq.com
2026-06-06 21:46:23 +08:00
parent 524ae7c8cf
commit 11fd482378
24 changed files with 997 additions and 592 deletions
+3 -1
View File
@@ -20,7 +20,7 @@ _OBSERVATION_SOURCE_PROFILES: Dict[str, Dict[str, Any]] = {
},
"amsc_awos": {
"label": "AMSC AWOS",
"native_update_interval_sec": 60,
"native_update_interval_sec": 180,
"fresh_window_sec": 180,
"expected_grace_sec": 180,
"stale_after_sec": 900,
@@ -138,6 +138,8 @@ def canonical_observation_source_code(value: Any) -> str:
raw = str(value or "").strip().lower()
if not raw:
return "metar"
if "amsc" in raw:
return "amsc_awos"
if "amos" in raw:
return "amos"
if "jma" in raw: