Weather module [DRAFT]#18
Merged
Merged
Conversation
Contributor
Author
|
This PR has been updated to compute the ground speed based on lat-;on position and elevation. A sample climb, cruise and descent trajectory is used to calculate the aircraft heading and a uniform grid interpolator is built to extract to u & v wind components based on position. Look at main.py to understand how the script functions. These functionalities should suffice to meet the L0 requirements. For L1, the following should be addressed: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds functionality to evaluate True Airspeed (TAS) as a function of aircraft position and altitude using ERA5 wind data.
A dummy trajectory is generated from
"../missions/sample_missions_10.json", and aircraft headings are computed using geodesic arcs between origin-destination (O-D) pairs. Interpolated wind vectors at a specified pressure level are used to calculate TAS and drift angles along the path.Future work will involve refactoring the implementation to query wind and heading at each collocation point, though the core logic is expected to remain unchanged.