From 1cf7545c9324f85d09371c5900a4994200cb9715 Mon Sep 17 00:00:00 2001 From: ztimson Date: Mon, 14 Sep 2026 08:46:54 -0400 Subject: [PATCH] Fixed sonde climb rate and freq --- client/src/components/WeatherBalloon.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/src/components/WeatherBalloon.vue b/client/src/components/WeatherBalloon.vue index 2f7d412..89fbb25 100644 --- a/client/src/components/WeatherBalloon.vue +++ b/client/src/components/WeatherBalloon.vue @@ -96,8 +96,7 @@ const speedVal = computed(() => { const climbVal = computed(() => { if (latest.value?.climb == null) return null - - const v = vertical.value.convert(Number(latest.value.vertical_speed)) + const v = vertical.value.convert(Number(latest.value.climb)) return v >= 0 ? `+${v}` : String(v) }) @@ -424,7 +423,7 @@ onUnmounted(() => {
Type: {{ latest?.type || 'Unknown' }} - Freq: {{ latest?.frequency?.toFixed(2) || '—' }} MHz + Freq: {{ latest?.freqMhz?.toFixed(2) || '—' }} MHz