Skip to content

Add microphysics-related fields to sounding output - #288

Open
clark-evans wants to merge 4 commits into
ufs-community:noaa/developfrom
clark-evans:mp-soundings
Open

Add microphysics-related fields to sounding output#288
clark-evans wants to merge 4 commits into
ufs-community:noaa/developfrom
clark-evans:mp-soundings

Conversation

@clark-evans

Copy link
Copy Markdown
Collaborator

This PR adds microphysics-related fields (qc, qr, qi, qs, qg, and the explicit rain, snow, and graupel precipitation fields) to MPAS soundings in support of Winter Weather Experiment (and other) evaluations.

This PR is based on #216 as developed by @AndersJensen-NOAA, but strips away all of the TEMPO v3 additions that are obsolete because they've already been merged into this codebase. It also includes a bug fix identified by @AndersJensen-NOAA in a comment on #216.

Mandatory Questions

  • Does this PR include any additions or changes to external inputs (e.g., microphysics lookup tables, static data for gravity-wave drag -- things like that)?
    • no
  • Does this PR require updating one or more baselines for the CI tests? If so, what?
    • no

Reviews

  • Is this PR currently draft, still being worked on, or ready for review?
    • ready for review
  • For when this PR begins review, please list the developers/collaborators you'd like to prioritize for review; e.g.,:

1000.*qi, &
1000.*qs, &
1000.*qg, &
rainncv(stationCells(iStn)), &

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@clark-evans currently this outputs precipitation variables at every height level. I know, this a lazy way to do it. Can you have a coding agent modify this PR to output the 6 precipitation variables (after you merge my change) first and then output the height-dependent profiles?

I image the output could look something like:

header
rainncv snowncv graupelncv rainnc snownc graupelnc
pressure k=1  height k=1   tempc k=1
pressure k=2   height k=2   tempc k=2
pressure k=3   height k=3   tempc k=3

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I think this should be as easy as pulling the print statements before the do k=1,nVertLevels loop that handles the height-varying profiles?

Moves the time-step and run-total accumulated rain, snow, and graupel print statements to before the height-varying fields.
@clark-evans clark-evans mentioned this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Not assigned

Development

Successfully merging this pull request may close these issues.

2 participants