From 33cc3c920c2e89abcf07cf5a1c181287748fadf3 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 3 Apr 2023 23:30:45 +0200 Subject: Added low clouds to the web interface --- waterspout_radar/web.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/waterspout_radar/web.py b/waterspout_radar/web.py index 63fa3fa..a3ee09b 100644 --- a/waterspout_radar/web.py +++ b/waterspout_radar/web.py @@ -10,10 +10,11 @@ def predictions(): body = "Predictions" body += "

Prediction


" body += "" - body += "" + body += "" for prediction in sorted(_storage.Storage(".waterspout/predictions.json"), key=lambda x: (x.time, x.swi)): body += "" body += f"
TimeΔTempDepthWindSWI
TimeLow CloudsΔTempDepthWindSWI
{prediction.time}" + body += f"{prediction.low_clouds}" body += f"{prediction.temperature_difference}" body += f"{prediction.convective_cloud_depth}" body += f"{prediction.wind}" -- cgit v1.1