Skip to content

Convert Meridional Heat Transport to Intake #517

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

Merged
merged 4 commits into from
Jun 5, 2025

Conversation

rbeucher
Copy link
Contributor

@rbeucher rbeucher commented May 30, 2025

The following issues seemed to have previously been addressed:

close #321

@rbeucher rbeucher self-assigned this May 30, 2025
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@rbeucher rbeucher marked this pull request as ready for review June 4, 2025 06:23
@rbeucher rbeucher requested a review from charles-turner-1 June 4, 2025 06:25
@@ -6,21 +6,13 @@
"source": [
Copy link
Collaborator

@charles-turner-1 charles-turner-1 Jun 4, 2025

Choose a reason for hiding this comment

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

diff

-We are now ready to query the database and load the data to start our analysis.

+We are now ready to load the data to start our analysis.


Reply via ReviewNB

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch

@@ -6,21 +6,13 @@
"source": [
Copy link
Collaborator

@charles-turner-1 charles-turner-1 Jun 4, 2025

Choose a reason for hiding this comment

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

The green & blue lines (the heat fluxes we've computed here) have changed. It looks like at ~40S we're seeing a northward heat transport for a few degrees, which is different to before and almost certainly not right.

The green line has also shifted, although I'm less concerned by it - it looks like numerics to me - but we definitely need to work out why these have changed.


Reply via ReviewNB

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not the same experiment @charles-turner-1

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had to change it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

ahh, that makes sense. I'm still kinda concerned about the northward heat transport at 40S so I'll comb through it carefully, but fingers crossed it's just that.

@charles-turner-1
Copy link
Collaborator

ReviewNB has bungled the alignment, so I can't quite tell precisely what's changed, but there are definitely some issues with the updated calculations. Gonna dig into this a bit more deeply.

@rbeucher
Copy link
Contributor Author

rbeucher commented Jun 4, 2025

ReviewNB has bungled the alignment, so I can't quite tell precisely what's changed, but there are definitely some issues with the updated calculations. Gonna dig into this a bit more deeply.

That's because I got rid of method 3. See comments in #450

@charles-turner-1
Copy link
Collaborator

charles-turner-1 commented Jun 5, 2025

@rbeucher had a couple of issues with the chunking (I actually couldn't run the recipe) & I've replaced a workaround with a direct coordinate search.

I'm satisfied that northward heat transport is just a quirk of the model run & not any sort of issue with the calculation.

Ready to ship, if you're happy with my changes

@rbeucher
Copy link
Contributor Author

rbeucher commented Jun 5, 2025

Go for it 🎉

@charles-turner-1 charles-turner-1 merged commit 77144b2 into main Jun 5, 2025
3 checks passed
@charles-turner-1 charles-turner-1 deleted the intake_convert_MHT branch June 5, 2025 01:58
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.

Conversion of Meridional Heat Transport to intake Simplify Meridional Heat Transport notebook Use xarray functionality in Documented Examples
2 participants