Refresh product docs and observation freshness
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user