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

trying to get rid of MSLP overwrite #2053

Merged
merged 2 commits into from
Sep 7, 2023
Merged

trying to get rid of MSLP overwrite #2053

merged 2 commits into from
Sep 7, 2023

Conversation

trontrytel
Copy link
Member

No description provided.

@trontrytel
Copy link
Member Author

cc: @szy21 - could you take a look when you have the time? I basically changed MSLP to p_ref_theta any time I saw it next to potential temperature. But I wasn't sure about the Held-Suarez forcing and some of the initial conditions.

I think the changed cases in the CI look fine. One timed-out on me. I'll retry.

cc: @nefrathenrici - looks promising!

Copy link
Member

Choose a reason for hiding this comment

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

I think it might be more consistent to change MSLP to p_ref_theta in the initial conditions in this file as it is used in p = p_0 * π_exn^(cp_d / R_d), so π_exn = (p / p_0)^(R_d/cp_d) when p_0 = p_ref_theta. It probably doesn't matter much though, as it is just the initial condition.

Copy link
Member Author

Choose a reason for hiding this comment

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

I kept the MSLP in the isothermal one and in the baroclinic wave initial conditions, but changed the rest. Lets see what the CI thinks about that

Copy link
Member

@szy21 szy21 left a comment

Choose a reason for hiding this comment

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

The changes look good to me, thanks!

@trontrytel
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Sep 6, 2023
2053: trying to get rid of MSLP overwrite r=trontrytel a=trontrytel



Co-authored-by: Anna Jaruga <ajaruga@caltech.edu>
@bors
Copy link
Contributor

bors bot commented Sep 7, 2023

Build failed:

@trontrytel
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Sep 7, 2023
2053: trying to get rid of MSLP overwrite r=trontrytel a=trontrytel



Co-authored-by: Anna Jaruga <ajaruga@caltech.edu>
@bors
Copy link
Contributor

bors bot commented Sep 7, 2023

Build failed:

  • docbuild

@szy21
Copy link
Member

szy21 commented Sep 7, 2023

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 7, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit b0d14a2 into main Sep 7, 2023
7 of 8 checks passed
@bors bors bot deleted the aj/MSLP branch September 7, 2023 02:13
@charleskawczynski
Copy link
Member

Amazing work, everyone! 👏👏👏

I tried doing this years ago, and was unsuccessful, it’s great to see that this is finally fixed!

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

Successfully merging this pull request may close these issues.

Separate between MSLP and theta reference pressure
3 participants