use lightweight MADIS health probe

This commit is contained in:
2569718930@qq.com
2026-06-11 14:29:56 +08:00
parent d314aa04d7
commit 5fa3fb8999
2 changed files with 49 additions and 1 deletions
+2 -1
View File
@@ -2082,9 +2082,10 @@ def get_ops_health_check(request: Request) -> dict[str, Any]:
# MADIS (NOAA)
try:
t0 = _time.perf_counter()
r = _r.get(
r = _r.head(
"https://madis-data.ncep.noaa.gov/madisPublic1/data/LDAD/hfmetar/netCDF/",
timeout=timeout,
allow_redirects=True,
)
results["madis"] = {
"ok": r.ok,