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

Add fallback TMI and allow for string returns #136

Merged
merged 1 commit into from
Jun 8, 2024
Merged

Conversation

lieselwd
Copy link
Member

@lieselwd lieselwd commented Jun 8, 2024

Added a fallback TMI estimation based off day of year in case of API issues. Also allows for a string to be the TMI because there are TMIs with a "A" or "B" suffix for mid day amendments as per https://skybrary.aero/articles/north-atlantic-operations-organised-track-system, which may be causing the N/A return as reported in #134.

@lieselwd lieselwd requested a review from williammck June 8, 2024 03:25
@lieselwd lieselwd self-assigned this Jun 8, 2024
@lieselwd lieselwd added bug Something isn't working enhancement New feature or request labels Jun 8, 2024
@lieselwd lieselwd merged commit 7dc7fe5 into development Jun 8, 2024
@lieselwd lieselwd deleted the tmi-na-fix branch June 8, 2024 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant