Skip to content

Commit

Permalink
(chore) bit of cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
seballgeyer committed May 16, 2024
1 parent a29ce1c commit d58fcf5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gnssanalysis/gn_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,12 +552,10 @@ def orbq(input, output_path, format, csv_separation, json_format, hlm_mode, sate
if reject_re is not None:
logger.log(msg=f"Excluding satellites based on regex expression: '{reject_re}'", level=_logging.INFO)
reject_mask = sp3_a.index.get_level_values(1).str.match(reject_re)
sats_to_remove = sp3_a[reject_mask].index.get_level_values(1).unique().to_list()
sp3_a = sp3_a[~reject_mask]
reject_mask = sp3_b.index.get_level_values(1).str.match(reject_re)
sats_to_remove = sp3_b[reject_mask].index.get_level_values(1).unique().to_list()
sp3_b = sp3_b[~reject_mask]
# logger.log(msg=f"Removed the following satellites from file {i}: '{sats_to_remove}'", level=_logging.INFO)

rac = gn_io.sp3.diff_sp3_rac(
gn_aux.rm_duplicates_df(sp3_a.iloc[:, :3], rm_nan_level=1),
gn_aux.rm_duplicates_df(sp3_b.iloc[:, :3], rm_nan_level=1),
Expand Down

0 comments on commit d58fcf5

Please sign in to comment.