From 3c18c00617ef87bcea05066c172948e7c93c2288 Mon Sep 17 00:00:00 2001 From: betaBison Date: Thu, 10 Aug 2023 23:23:57 +0900 Subject: [PATCH] add verbose print statements --- gnss_lib_py/parsers/clk.py | 2 ++ gnss_lib_py/parsers/sp3.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gnss_lib_py/parsers/clk.py b/gnss_lib_py/parsers/clk.py index 93eaed50..10fb8ba6 100644 --- a/gnss_lib_py/parsers/clk.py +++ b/gnss_lib_py/parsers/clk.py @@ -118,6 +118,8 @@ def interpolate_clk(self, navdata, window=6, verbose=False): available_svs_from_clk = np.unique(self["gnss_sv_id"]) for gnss_sv_id in np.unique(navdata["gnss_sv_id"]): + if verbose: + print("interpolating clk for ",gnss_sv_id) navdata_id = navdata.where("gnss_sv_id",gnss_sv_id) navdata_id_gps_millis = np.atleast_1d(navdata_id["gps_millis"]) diff --git a/gnss_lib_py/parsers/sp3.py b/gnss_lib_py/parsers/sp3.py index 12a15a5d..99de481e 100644 --- a/gnss_lib_py/parsers/sp3.py +++ b/gnss_lib_py/parsers/sp3.py @@ -130,6 +130,8 @@ def interpolate_sp3(self, navdata, window=6, verbose=False): available_svs_from_sp3 = np.unique(self["gnss_sv_id"]) for gnss_sv_id in np.unique(navdata["gnss_sv_id"]): + if verbose: + print("interpolating sp3 for ",gnss_sv_id) navdata_id = navdata.where("gnss_sv_id",gnss_sv_id) navdata_id_gps_millis = np.atleast_1d(navdata_id["gps_millis"])