Skip to content

Weather module [DRAFT]#18

Merged
aditeyashukla merged 18 commits into
MIT-LAE:mainfrom
prateekr9SF:feature_mission_weather
Jun 4, 2025
Merged

Weather module [DRAFT]#18
aditeyashukla merged 18 commits into
MIT-LAE:mainfrom
prateekr9SF:feature_mission_weather

Conversation

@prateekr9SF

Copy link
Copy Markdown
Contributor

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.

@aditeyashukla aditeyashukla marked this pull request as draft May 27, 2025 14:13
@prateekr9SF

Copy link
Copy Markdown
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:
-> Interpolate for time.

@aditeyashukla aditeyashukla merged commit 80b9645 into MIT-LAE:main Jun 4, 2025
1 check passed
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.

3 participants