Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gnssanalysis/gn_diffaux.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def sisre(
_logging.info(msg="plotting RAC difference")
_gn_plot.racplot(rac_unstack=rac_unstack, output=plot if isinstance(plot, str) else None)

if (clk_a is not None) & (clk_b is not None): # check if clk data is present
if (clk_test is not None) and (clk_baseline is not None): # check if clk data is present
clk_diff = (
compare_clk(
clk_a, clk_b, norm_types=norm_types, ext_dt=rac_unstack.index, ext_svs=rac_unstack.columns.levels[1]
Expand Down
2 changes: 1 addition & 1 deletion gnssanalysis/gn_io/sinex.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ def llh2snxdms(llh):
ll_stack = _pd.concat([llh_degminsec_df.LON, llh_degminsec_df.LAT], axis=0)
ll_stack = ll_stack.D.str.rjust(4).values + ll_stack.M.str.rjust(3).values + ll_stack.S.str.rjust(5).values
buf = ll_stack[:n_rows] + ll_stack[n_rows:] + llh_degminsec_df.HEI.str.rjust(8).values

# The following is a Numpy OR operator (not a standard Python bitwise OR):
buf[(height > 8000) | (height < -2000)] = " 000 00 00.0 00 00 00.0 000.0" # | zero_mask
return buf

Expand Down
2 changes: 1 addition & 1 deletion gnssanalysis/gn_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def log2snx(logglob, rnxglob, outfile, frame_snx, frame_dis, frame_psd, datetime
from .gn_io import igslog

if isinstance(rnxglob, list):
if (len(rnxglob) == 1) & (
if (len(rnxglob) == 1) and (
rnxglob[0].find("*") != -1
): # it's rnx_glob expression (may be better to check if star is present)
rnxglob = rnxglob[0]
Expand Down