Skip to content

Commit 96b428a

Browse files
committed
ignore svs below 0 elevation for skyplot
1 parent e32031d commit 96b428a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gnss_lib_py/utils/visualizations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ def plot_skyplot(navdata, receiver_state, save=False, prefix="",
285285

286286
navdata = navdata.copy()
287287
navdata["az_sv_rad"] = np.radians(navdata["az_sv_deg"])
288+
navdata = navdata.where("el_sv_deg",0,"geq")
288289

289290
for c_idx, constellation in enumerate(_sort_gnss_ids(np.unique(navdata["gnss_id"]))):
290291
const_subset = navdata.where("gnss_id",constellation)

0 commit comments

Comments
 (0)