Skip to content

Conversation

polinaesia
Copy link

@polinaesia polinaesia commented Sep 9, 2025

This PR keeps plots stable by replacing Intake-attached geolon_t/geolat_t on ht with the unmasked geolon_t/geolat_t coordinates from ocean_grid.nc (raised in #556). This is necessary because the coordinates currently attached by Intake are masked over continents (contain NaNs), and Cartopy fails to produce figure when x/y include NaNs (e.g. GEOSException: Points of LinearRing do not form a closed linestring)

What's improved:

  1. Time-averaging now happens after selecting bottom values (instead of before), which cuts compute time and memory.
  2. Figures now render the Arctic correctly
  3. Added gridlines and lon/lat labels.
  4. Fixed colourbar levels/ticks for consistent intervals.

What needs fixing:
Ensure Intake loader attaches unmasked geolon_t/geolat_t

p.s. I also added Claire's note on MOM5-to-MOM6 conversion raised in
#581.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@navidcy
Copy link
Collaborator

navidcy commented Sep 10, 2025

@polinaesia, the first comment in the PR is very descriptive -- nice!
Could you update the PR title to briefly describe what the PR does? E.g., "Adds snow in the maps in the tutorials"

@polinaesia
Copy link
Author

@navidcy I can't change the title, soz, will make it more informative next time

@navidcy
Copy link
Collaborator

navidcy commented Sep 10, 2025

This doesn't work for you?

@polinaesia polinaesia changed the title progress on #556 Reduces compute time & fixes maps Sep 10, 2025
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