From cfefdc6814f5ab892a742d59592f3cf054dc255c Mon Sep 17 00:00:00 2001 From: bert hubert Date: Wed, 11 Nov 2020 16:49:16 +0100 Subject: [PATCH] add osnma output --- html/doalles.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/html/doalles.js b/html/doalles.js index c6d991e..419746b 100644 --- a/html/doalles.js +++ b/html/doalles.js @@ -14,7 +14,7 @@ function maketable(str, arr) enter(). append("tr"); - var columns = ["sv", "best-tle", "iod", "eph-age-m", "latest-disco", "time-disco", "sisa", "health", "alma-dist", "delta-utc", "sources", "db", "rtcm-eph-delta-cm","rtcm-clock-dclock0", "prres", "elev", "last-seen-s"]; + var columns = ["sv", "best-tle", "iod", "eph-age-m", "latest-disco", "time-disco", "sisa", "health", "alma-dist", "osnma", "sources", "db", "rtcm-eph-delta-cm","rtcm-clock-dclock0", "prres", "elev", "last-seen-s"]; // append the header row thead.append("tr") @@ -130,6 +130,13 @@ function maketable(str, arr) else if(column == "norad") { ret.value = row["best-tle-norad"]; } + else if(column == "osnma" && row["osnma"] != null) { + if(row["osnma"]==true) + ret.value="ON!"; + else + ret.value="off"; + } + else if(column == "delta-utc" && row["delta-utc"] != null) { ret.value = row["delta-utc"]+'a0: '+row["a0"]+'
a1: '+row["a1"]+'
wn0t: ' + row["wn0t"]+'
t0t: '+row["t0t"]+'
'; ret.Class = 'CellWithComment';