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

Bugfix flight time through midnight utc #53

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

Conversation

sylvainvdm
Copy link

Written with the idea to put the date in the igc file. Can imagine you have some ideas about this implementation. Have not invested effort yet to fix tests etc. Curious what your thoughts are

opensoar/competition/soaringspot.py Outdated Show resolved Hide resolved
opensoar/competition/soaringspot.py Outdated Show resolved Hide resolved
opensoar/competition/soaringspot.py Outdated Show resolved Hide resolved
opensoar/competition/soaringspot.py Outdated Show resolved Hide resolved
@GliderGeek
Copy link
Owner

Nice step, good idea also to hit two birds with one stone in this MR (timezone aware datetimes + de-duplication)! did not yet look at the tests

@sylvainvdm
Copy link
Author

Nice step, good idea also to hit two birds with one stone in this MR (timezone aware datetimes + de-duplication)! did not yet look at the tests

Have updated the branch and fixed mosts of the tests. Could you check what's going wrong with the remaining two tests? Code is very nested and hard to figure out what's happening exactly

@bubeck
Copy link

bubeck commented Sep 13, 2024

aerofiles v1.4.0 released with the needed changes: https://github.com/Turbo87/aerofiles/releases/tag/v1.4.0
A description of the new functionality can be found here: https://aerofiles.readthedocs.io/en/latest/guide/igc-reading.html

Let me know, if there are any problems.

@GliderGeek
Copy link
Owner

Thanks @bubeck, now back from holiday we will start changing it here

@@ -357,6 +356,7 @@ def _get_waypoint_fixes(self, outlanded, sector_fixes, outside_sector_fixes=None
if outside_sector_fixes is None:
outside_sector_fixes = list()

# this doesnt work due to latest aerofiles version
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this still needs to be addressed

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aerofiles==1.4.0
beautifulsoup4==4.12.3
geojson==3.1.0
shapely==2.0.6
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

decide what to do with this. fixing them completely might be too strict. this is a library that is used by others. they need some freedom to use other versions

@@ -1,6 +1,12 @@
OpenSoar
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(not related to this line)
If all looks good, do final check with Pysoar on some comps

@@ -1,6 +1,12 @@
OpenSoar
Copy link
Owner

@GliderGeek GliderGeek Nov 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(not related to this line)
Determine new version number (backwards incompatible maybe?) and write changelog

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.

4 participants