Skip to content

Commit

Permalink
Add comment explaining logic behind wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
clementzach authored Feb 12, 2024
1 parent a1eb117 commit 798a8d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion forest/jasmine/traj2stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -1660,7 +1660,11 @@ def gps_stats_main(
participant_id, study_folder, "gps",
tz_str, time_start, time_end,
)

# If the data comes from a study thata hada GPS fuzzing,
# and the study was prior to March 2023, the longitude
# coordinates may be outside of the required range of
# (-180, 180). This chunk of code wraps out of range
# coordinates to be in that range
if (
("longitude" in data.columns)
and (
Expand Down

0 comments on commit 798a8d7

Please sign in to comment.