Skip to content

Noahmp no stcslcadj at0inc#326

Merged
grantfirl merged 8 commits into
ufs-community:ufs/devfrom
tsga:noahmp_no_stcslcadj_at0inc
Oct 29, 2025
Merged

Noahmp no stcslcadj at0inc#326
grantfirl merged 8 commits into
ufs-community:ufs/devfrom
tsga:noahmp_no_stcslcadj_at0inc

Conversation

@tsga
Copy link
Copy Markdown

@tsga tsga commented Oct 17, 2025

Description of Changes:

After adding soil moisture (SLC) and temperature (STC) increments in ccpp-physics/Noahmp driver, adjustments are made to ensure consistency between liquid/frozen soil moisture and temperature. Currently this is applied even when all the increments are (intentionally) 0. We do not want to change the physics model predicted states when no/zero increments are added to STC and SLC.

The changes introduced in this PR check and skip the adjustment section if the magnitude of an increment is zero (below threshold).

Tests Conducted:

Tested by running a low-res (C384C192) global workflow case with Soil DA, and comparing it to previous outputs without the code changes here. The results outputs have the expected changes.

UFSWM RT tests are currently running.

Dependencies:

Related PR: NOAA-EMC/noahmp/pull/18 (NOAA-EMC/noahmp#18)

Issue (optional):

ufs-community/ccpp-physics/issues/323

tsga and others added 7 commits October 15, 2025 15:46
* ufs/dev:
  Remove non-warning log write statement
  fix typo
  make some Thompson parameters public
  move calculation of av_i
  make some Thompson tuning parameters externally accessible
  bugfix: initialize data so it is never NaN. See NCAR/ccpp-physics Issue 1155 for details
  add parameterized type for canopy_utils_mod function arguments
  Update physics/PBL/SATMEDMF/satmedmfvdifq.meta
  Update physics/PBL/SATMEDMF/satmedmfvdifq.F
  Update physics/PBL/SATMEDMF/satmedmfvdifq.F
  address reviewer's comments
  physics/Interstitials/UFS_SCM_NEPTUNE/GFS_time_vary_pre.scm.F90: check that w3emc is using the expected precision
  physics/Interstitials/UFS_SCM_NEPTUNE/GFS_time_vary_pre.fv3.F90: check that w3emc is using the expected precision
  Remove copy_error calls from one-thread region. Access errmsg and errflg directly.
  Remove unused label and unnecessary return statement. Change one more "can not" to cannot.
  Insert return calls if an error occurs, remove unnecessary return statements. More cleanup
  Remove return call from inside OpenMP region
  Insert return calls if an error occurs, remove unnecessary returns at the end of subroutines, remove duplicate print statements
  Insert return calls if an error occurs
…_main_2025_09_04"

This reverts commit cf752f7, reversing
changes made to e6949b3.
…25_09_04

Sync from NCAR/main + Thompson params
@gspetro-NOAA
Copy link
Copy Markdown

Testing completed successfully on parent WM PR #2941. This PR can begin the merge process.

@grantfirl grantfirl merged commit 881ee0d into ufs-community:ufs/dev Oct 29, 2025
3 checks passed
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.

5 participants