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

Lightning threat indexes #628

Merged
merged 61 commits into from
Mar 24, 2023
Merged

Conversation

SamuelTrahanNOAA
Copy link
Contributor

@SamuelTrahanNOAA SamuelTrahanNOAA commented Feb 27, 2023

Description

Calculates the lightning threat index product from HRRR, inside CCPP and sends it to UPP for output.

The algorithm was originally ported from HRRR to the GFDL_atmos_cubed_sphere NGGPS diagnostics, using the w variable in both implementations. I've moved it to CCPP's maximum hourly diagnostics, but it still needs w in the formulation, so I've added the dynamical core's w variable as wgrs to match the u & v winds which are ugrs and vgrs.

Issue(s) addressed

ufs-community/ufs-weather-model#1632
NOAA-EMC/UPP#672

Testing

How were these changes tested?

A 3km test case from a time that had some lightning was run and compared to the HRRR output. Developers of the scheme found the results to be comparable. There'll be more extensive testing after this is merged and running in parallels.

What compilers / HPCs was it tested with?

Hera intel.

Are the changes covered by regression tests? (If not, why? Do new tests need to be added?)

No, because there are no 3km test cases in ufs-weather-model for the RRFS, and the 13km are unable to produce lightning. If someone has an idea for how to fix this, please comment here.

Have the ufs-weather-model regression test been run? On what platform?

Yes, hera.intel, but I'll run again soon after updating to the top of develop.

  • Will the code updates change regression test baseline? If yes, why? Please show the baseline directory below.

Many regression test results may change due to updating to the latest UPP and adding fields to regional output.

  • Please commit the regression test log files in your ufs-weather-model branch

As you wish.

Dependencies

If testing this branch requires non-default branches in other repositories, list them.
Those branches should have matching names (ideally)

Do PRs in upstream repositories need to be merged first?
If so add the "waiting for other repos" label and list the upstream PRs

io/post_fv3.F90~ Outdated Show resolved Hide resolved
Copy link
Contributor

@WenMeng-NOAA WenMeng-NOAA 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 for the in-line post part look good to me.

@grantfirl
Copy link
Collaborator

grantfirl commented Mar 23, 2023

@jkbk2004 @SamuelTrahanNOAA ufs-community/ccpp-physics#42 is merged. Looks like NOAA-GFDL/GFDL_atmos_cubed_sphere#243 needs to be merged next.

@jkbk2004
Copy link
Collaborator

@SamuelTrahanNOAA cubed-sphere pr was merged.

.gitmodules Outdated Show resolved Hide resolved
@SamuelTrahanNOAA
Copy link
Contributor Author

The .gitmodules, ccpp/physics, and atmos_cubed_sphere now point to the authoritative branches.

@jkbk2004
Copy link
Collaborator

jkbk2004 commented Mar 24, 2023

@SamuelTrahanNOAA correct cubed-sphere hash is NOAA-GFDL/GFDL_atmos_cubed_sphere@a4450fb can you revert the change in .gitmodules as well?

@SamuelTrahanNOAA
Copy link
Contributor Author

Sorry, that was the wrong PR. I just updated this one. It should be right, now.

@jkbk2004 jkbk2004 merged commit f3eeba0 into NOAA-EMC:develop Mar 24, 2023
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.

8 participants