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

Several developments for the AMOC analysis #132

Merged
merged 30 commits into from
Oct 23, 2024
Merged

Several developments for the AMOC analysis #132

merged 30 commits into from
Oct 23, 2024

Conversation

ledm
Copy link
Collaborator

@ledm ledm commented Jun 20, 2024

This includes several developments for the AMOC analysis:

  • New regions
  • New datasets
  • New tool to make a generic map legend
  • Revisions to the remove mask from shelve tool
  • New self destruct code in mass
  • New circulation code
  • Ice area superceded ice extent
  • yml's now have yml anchors instead of repeating the same suites list.

@ledm ledm requested a review from valeriupredoi June 20, 2024 14:05
@ledm
Copy link
Collaborator Author

ledm commented Jun 20, 2024

The test is failing because I added the 500m layer to key_files/temperature.yml. Apparently, this fails the test?

Comment on lines +219 to +221
print('NorthAtlanticOcean - pre')
#xx = bvt.makeLonSafeArr(xx)
print('NorthAtlanticOcean', len(xx))
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
print('NorthAtlanticOcean - pre')
#xx = bvt.makeLonSafeArr(xx)
print('NorthAtlanticOcean', len(xx))

Copy link
Owner

Choose a reason for hiding this comment

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

yo can you maybe not do development in review mode, pls bud? I get an email everytime you "suggest" a change 🤣

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Github is annoying like that. I was told there's a setting somewhere that reduces the number of emails. I don't believe it personally.

@valeriupredoi
Copy link
Owner

The test is failing because I added the 500m layer to key_files/temperature.yml. Apparently, this fails the test?

I think it's tested against that file, let me see

Comment on lines +252 to +253
# mx *= np.ma.masked_outside(xx, -45., 15.).mask + np.ma.masked_outside(
# xy, 60., 80.).mask
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
# mx *= np.ma.masked_outside(xx, -45., 15.).mask + np.ma.masked_outside(
# xy, 60., 80.).mask

Comment on lines +259 to +260
# mx *= np.ma.masked_outside(xx, -45., 15.).mask + np.ma.masked_outside(
# xy, 60., 80.).mask
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
# mx *= np.ma.masked_outside(xx, -45., 15.).mask + np.ma.masked_outside(
# xy, 60., 80.).mask

Comment on lines +270 to +272
# if newSlice in ['WesternSubpolarNorthAtlantic', 'WSPNA',]:


Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
# if newSlice in ['WesternSubpolarNorthAtlantic', 'WSPNA',]:

@valeriupredoi
Copy link
Owner

yep, just add the "500m" member in the list here tests/integration/test_analysis_timeseries.py::test_load_key_file pls bud 🍺

@valeriupredoi
Copy link
Owner

@ledm you ready for this to be merged? All fine by me 👍

@ledm ledm merged commit 3444789 into main Oct 23, 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