From 09bdb4aabefcffba9c830389acded6b412ee7185 Mon Sep 17 00:00:00 2001 From: Kim - DG9VH Date: Wed, 4 Nov 2020 12:50:31 +0100 Subject: [PATCH] Added METAR-Decoder for RIC 1062 and 1063 --- html/js/functions.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html/js/functions.js b/html/js/functions.js index 7b77277..362e9ee 100644 --- a/html/js/functions.js +++ b/html/js/functions.js @@ -96,6 +96,9 @@ function getMessage(logline) { if (4520 == parseInt(getRIC(logline))) { message = rot1(message); } + if (1062 == parseInt(getRIC(logline)) || 1063 == parseInt(getRIC(logline))) { + message = message + "
Decoded: " + JSON.stringify(parseMETAR(message)); + } return message; }