[FIX] Update Zheng2024 plot to 2D#135
Merged
isaschmitz merged 3 commits intoMay 7, 2026
Merged
Conversation
added 2 commits
May 7, 2026 22:25
Updated `demo.ipynb` to show a 2D plot for the MFT of Zheng2024 like it is done for the MHT of CALAFAT2025.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the demo notebook to visualize Zheng2024 meridional freshwater transport (MFT) as a 2D time–latitude plot, matching the style used for Calafat2025 meridional heat transport (MHT), and introduces an ensemble-mean helper for ensemble datasets.
Changes:
- Split out
create_ensemble_mean_dataset()into its own cell and reuse it to compute an ensemble-mean dataset for Zheng2024. - Replace the Zheng2024 single-latitude timeseries plot with a 2D
plot_amoc_2d_data()call forMFT. - Add a (manual) colorbar label override for the new Zheng2024 2D plot.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Two small typos. Copilot also suggested to remove the manually overwritten colorbar, but I like that it shows how to manipulate the plot without having to go into the function `plot_amoc_2d_data()` itself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Updated
demo.ipynbto show a 2D plot for the MFT of Zheng2024 like it is done for the MHT of CALAFAT2025.Related Issues / Pull Requests:
Link any related issues, pull requests, or discussions: