Skip to content

Conversation

@willaguiar
Copy link
Collaborator

Fixes issue #590

Notebook converted back from model-agnostic to MOM6-based. Specific additional directions are given on how to alter the notebook to work with MOM5 (ACCESS-OM2-01). An additional if statement was added, to convert the temperature for potential to conservative, only when the input variable is potential temperature. This line comes with a warning, and was added so the code can work correctly by just changing the diagnostic variables for MOM5 ( i.e., the conditional only perform the conversion when the output is named according to the MOM6 standard naming for potential density)

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@navidcy navidcy changed the title revert agnosticity and make notebook MOM6 specific Revert agnosticity and make Surface Water Mass Transformation Recipe MOM6 specific Sep 9, 2025
@navidcy
Copy link
Collaborator

navidcy commented Sep 9, 2025

is this ready to be reviewed @willaguiar?

@navidcy navidcy added 🛸 updating An existing notebook needs to be updated MOM6 🛸 labels Sep 9, 2025
@willaguiar
Copy link
Collaborator Author

Yes!

@navidcy navidcy self-requested a review September 9, 2025 05:41
@julia-neme julia-neme self-requested a review October 2, 2025 04:54
@@ -8,7 +8,7 @@
"\n",
Copy link
Collaborator

@julia-neme julia-neme Oct 2, 2025

Choose a reason for hiding this comment

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

LOVE THE TABLE

Given that we remove the client info (I like), should we also include here session requirements? I.e. choose a large one?


Reply via ReviewNB

@@ -8,7 +8,7 @@
"\n",
Copy link
Collaborator

@julia-neme julia-neme Oct 2, 2025

Choose a reason for hiding this comment

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

Line #20.    warnings.filterwarnings("ignore", category = FutureWarning)

Apparently this is bad practice and we should not use :(


Reply via ReviewNB

@@ -8,7 +8,7 @@
"\n",
Copy link
Collaborator

@julia-neme julia-neme Oct 2, 2025

Choose a reason for hiding this comment

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

Maybe the functions are not the clearer way to do this? but I think it might be too much for this pull request, it can be done after this is merged!


Reply via ReviewNB

@@ -8,7 +8,7 @@
"\n",
Copy link
Collaborator

@julia-neme julia-neme Oct 2, 2025

Choose a reason for hiding this comment

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

Do these values represent upwelling/downwelling? My understanding was that positive means waters becoming denser, negative waters become lighter. If they are dense enough or not to subduct depends on surrounding stratification. And then because this is at the surface becoming lighter does not trigger upwelling. But maybe I'm wrong?


Reply via ReviewNB

Copy link
Collaborator

@julia-neme julia-neme Oct 10, 2025

Choose a reason for hiding this comment

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

Having done a bit of reading the magnitude that is related to upwelling/downwelling is the derivative of the transformation rate with respect to density ($\partial \Omega / \partial \sigma$). This is because the derivative represents convergence/divergences of mass, and if the lateral advection into the region is negligible, convergences/divergences need to be compensated by vertical movements. So the positive peak does indicate the amount downwelling (its $\int_{\sigma{0}}^{\sigma_{peak}} \frac{ \partial \Omega}{\partial \sigma }d\sigma = 10Sv$.

I'm not sure if this is correct then, but would the amount upwelled would then be 30Sv? Need @adele-morrison @AndyHoggANU to help me jaja

@@ -8,7 +8,7 @@
"\n",
Copy link
Collaborator

@julia-neme julia-neme Oct 2, 2025

Choose a reason for hiding this comment

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

Maybe comment in line about this being an integration? Multiplying by area and summing?


Reply via ReviewNB

@@ -8,7 +8,7 @@
"\n",
Copy link
Collaborator

@julia-neme julia-neme Oct 2, 2025

Choose a reason for hiding this comment

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

Why no more plot of the shelf mask?


Reply via ReviewNB

@@ -8,7 +8,7 @@
"\n",
Copy link
Collaborator

@julia-neme julia-neme Oct 2, 2025

Choose a reason for hiding this comment

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

I don't think the plots have been done!


Reply via ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MOM6 🛸 🛸 updating An existing notebook needs to be updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants