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

Added a new subpolar North Atlantic region (SPNA) #127

Merged
merged 13 commits into from
Mar 26, 2024
Merged

Conversation

ledm
Copy link
Collaborator

@ledm ledm commented Mar 25, 2024

I'm adding a new subpolar North Atlantic region (SPNA), but while doing so, I found that there's a couple inefficiencies in the data loader.

This patch makes it much more efficient to load data as it now. Previously, if a single region or layer was missing, then all layers and regions were re-loaded. Now it checked whether the full permutation of all (region, layers, metrics) exists, and only loads the missing ones.

BTW, the SPNA is 35 W to 10 W, 40N to 65N. It's an interesting region for climate change! It's going to go into all the default UKESM analyses from now. Currently testing it in Temperature.yml.

This PR requires PR #126 to be completed.

@ledm ledm marked this pull request as ready for review March 26, 2024 11:55
@ledm ledm requested a review from valeriupredoi March 26, 2024 11:55
Copy link
Owner

@valeriupredoi valeriupredoi left a comment

Choose a reason for hiding this comment

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

very few lines of 🐍 for me to review, so all good, bud 🍺

@ledm
Copy link
Collaborator Author

ledm commented Mar 26, 2024

Okay, thanks! Merging.

Now is probably a good time for @DrYool to update his code with the main branch:

git fetch
git merge origin main

@ledm ledm merged commit 4ccdc3e into main Mar 26, 2024
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.

2 participants