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

Update U10 to be resolved wind; add variable for U10+gusts #440

Merged
merged 3 commits into from
Mar 26, 2024

Conversation

megandevlan
Copy link
Collaborator

Description of changes

This PR revises the definition of U10 to be only the large-scale resolved winds, as was the case before gusts were added to CMEPS/CAM. The merged U10 (large-scale + gusts) is now output as a separate variable.

Specific notes

Note that duu10n is still reflective of the merged U10, as this is the wind speed used to compute actual surface fluxes. But the U10 that's output is back to being un-merged.

Contributors other than yourself, if any:
Credit to @quantheory for pointing out the issue and developing a fix for E3SM here E3SM-Project/E3SM@5813d41

CMEPS Issues Fixed (include github issue #):
#438

Are changes expected to change answers? (specify if bfb, different at roundoff, more substantial)
The change in U10 could shift some things.

Any User Interface Changes (namelist or namelist defaults changes)?
Not on the CMEPS side.

Testing performed

Please describe the tests along with the target model and machine(s)
If possible, please also added hashes that were used in the testing
Tested on Derecho in a global configuration, using tag cesm2_3_17b.

@megandevlan
Copy link
Collaborator Author

megandevlan commented Mar 26, 2024

The second piece of this PR ("Fix calculation of gustiness") is the critical piece at this point. The modification follows the new formulation we're using to add gustiness to U10, wherein the gust component is moved inside the square-root calculation of vmag:
vmag = max(seq_flux_atmocn_minwind, sqrt( (ubot(n)-us(n))**2 + (vbot(n)-vs(n))**2 + (1.0_R8*ugust(min(rainc(n),6.94444e-4_r8))**2)) )

@cacraigucar
Copy link
Contributor

@jedwards4b - This is a fix that folks want in before @cecilehannay starts up her runs (and before cesm2_3_beta17 is made)

Copy link
Collaborator

@jedwards4b jedwards4b left a comment

Choose a reason for hiding this comment

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

LGTM

@jedwards4b jedwards4b merged commit 084dd8d into ESCOMP:main Mar 26, 2024
2 checks passed
@cacraigucar
Copy link
Contributor

@jedwards4b - Is there a tag for these changes (so I can use them in CAM)?

@megandevlan megandevlan deleted the mdfowler/gustMods_updateU10 branch March 27, 2024 14:10
@jedwards4b
Copy link
Collaborator

cmeps0.14.55

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.

None yet

3 participants