Skip to content

Conversation

@ian-ross
Copy link
Member

This PR does a couple of things:

  1. Make the weather API a little easier to use: instead of creating a Weather object for each ground track and mission, a Weather object is built by just giving the directory where its input data is stored. The Weather object manages opening the weather data files and slicing them on demand as the get_ground_speed method is called.
  2. Adapted the tests to the new weather API setup.
  3. Did some drive-by reorganization of how data for tests is handled.

Copy link
Contributor

@aditeyashukla aditeyashukla left a comment

Choose a reason for hiding this comment

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

Makes total sense and looks good! We just need to update all usage of get_ground_speed in legacy.py re my comment

@aditeyashukla aditeyashukla merged commit ec74557 into MIT-LAE:main Dec 12, 2025
4 checks passed
@ian-ross ian-ross deleted the tidy-weather-api branch December 12, 2025 06:49
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.

2 participants