From fd0636e4e5292ed584745c73d58f6a0118d929b4 Mon Sep 17 00:00:00 2001
From: Jakob Stendahl <jakob.stendahl@outlook.com>
Date: Wed, 27 Apr 2022 02:59:32 +0200
Subject: Add chip showing that value is estimated, and add bt value

---
 src/components/PredictedSpaceWeather.svelte | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/components/PredictedSpaceWeather.svelte')

diff --git a/src/components/PredictedSpaceWeather.svelte b/src/components/PredictedSpaceWeather.svelte
index 35f1a84..2282a40 100644
--- a/src/components/PredictedSpaceWeather.svelte
+++ b/src/components/PredictedSpaceWeather.svelte
@@ -20,10 +20,12 @@
         }
 
         // First just reorganize the space_weather data
-        predictions = $space_weather.usnoaa_data_raw.noaa_planetary_k_index_forecast.map(
+        let forecast = $space_weather.usnoaa_data_raw.noaa_planetary_k_index_forecast.filter(x => x.observed !== "observed");
+        predictions = forecast.map(
             pred => ({
                 "time": pred.time,
                 "kp": pred.kp,
+                "observed": pred.observed,
                 "temp": null,
                 "clouds": null,
                 "hasNOMETData": $earth_weather.available
-- 
cgit v1.2.3

