Skip to content

Commit

Permalink
add verbose print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
betaBison committed Aug 10, 2023
1 parent cdcfef6 commit 3c18c00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnss_lib_py/parsers/clk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])

Expand Down
2 changes: 2 additions & 0 deletions gnss_lib_py/parsers/sp3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])

Expand Down

0 comments on commit 3c18c00

Please sign in to comment.