Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressure altitude correction based on takeoff elevation #47

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

jkretz
Copy link
Contributor

@jkretz jkretz commented Sep 8, 2023

This PR picks up #161 in the PySoar repo.

Instead of manually entering takeoff elevation, it reads it from the igc file, as soaringspot writes takeoff elevation into the file (see LCU::HPELVELEVATION). An altitude correction is calculated by comparing it to the median pre-takeoff pressure altitude. Pre-takeoff fixes are determined via a groundspeed threshold.

This correction is subsequently applied to all pressure altitudes in task_results, resulting in better comparability in altitudes at turnpoints.

@jkretz jkretz closed this Sep 3, 2024
@jkretz jkretz force-pushed the takeoff_elevation_correction branch from f7b4131 to b8d955a Compare September 3, 2024 06:42
@jkretz jkretz reopened this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant