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

Fix era5 pipeline when year changes #65

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Fix era5 pipeline when year changes #65

merged 1 commit into from
Jan 6, 2025

Conversation

hannahker
Copy link
Collaborator

@hannahker hannahker commented Jan 6, 2025

This PR fixes a bug in the ERA5 retrieval when the current year and last month's year are not the same (ie. for Jan of every year -- the pipeline failed today because it was trying to get data for 2025-12-01). Instead of referencing cur_year, we now more explicitly reference last month's year.

@hannahker hannahker requested a review from isatotun January 6, 2025 17:33
Copy link
Collaborator

@isatotun isatotun left a comment

Choose a reason for hiding this comment

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

LGTM

@hannahker hannahker merged commit c127f5d into main Jan 6, 2025
1 check passed
@hannahker hannahker deleted the hotfix/era5-year branch January 6, 2025 17:42
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