From f7a37904598d60c81626727ddc9685ef338f3d9a Mon Sep 17 00:00:00 2001
From: Lan <ldam@passcal.nmt.edu>
Date: Fri, 18 Aug 2023 16:12:57 -0600
Subject: [PATCH] revert changes involve in GPS

---
 .../plotting_widget/multi_threaded_plotting_widget.py        | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py b/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py
index 7bf3f9212..17f0520db 100644
--- a/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py
+++ b/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py
@@ -144,6 +144,11 @@ class MultiThreadedPlottingWidget(PlottingWidget):
                     #  instruction here
                     self.processing_log.append((msg, LogType.WARNING))
 
+                # These channels contain GPS data which are only shown in
+                # the GPS dialog.
+                if chan_id in {'GLO', 'VLO', 'VLA', 'GLA', 'VEL', 'VNS', 'GNS',
+                               'GEL'}:
+                    continue
                 plotting_data[chan_id]['chan_db_info'] = chan_db_info
         if not_plot_chans != []:
             msg = (f"The database settings 'plotType' or 'height' show not to "
-- 
GitLab