Skip to content

Wire up Sl_ddvel (gas dry-dep coupling) and cam_in%dstflx (Fall_flxdst) to CMEPS via nuopc#523

Open
jimmielin wants to merge 2 commits into
ESCOMP:developmentfrom
jimmielin:hplin/sl-ddvel-coupler
Open

Wire up Sl_ddvel (gas dry-dep coupling) and cam_in%dstflx (Fall_flxdst) to CMEPS via nuopc#523
jimmielin wants to merge 2 commits into
ESCOMP:developmentfrom
jimmielin:hplin/sl-ddvel-coupler

Conversation

@jimmielin

Copy link
Copy Markdown
Collaborator

Tag name (required for release branches):
Originator(s): @jimmielin
AI tools used (if applicable; please also add the "AI-generated code" label to the PR):
What: claude-fable:5
How: scoped the NUOPC/CMEPS path and the CAM infrastructure.

Description (include the issue title, and the keyword ['closes', 'fixes', 'resolves'] followed by the issue number):

Describe any changes made to build system:

Describe any changes made to the namelist:

List any changes to the defaults for the input datasets (e.g. boundary datasets):

List all files eliminated and why:

List all files added and what they do:

M       src/cpl/nuopc/atm_import_export.F90
  - wire up Sl_ddvel, Fall_flxdst

M       src/data/registry.xml
  - fix dust dimensions in cam_in%dstflx
  - adds dust dimensions with a note that this is not configurable without a coordinated overhaul of the dust infrastructure coordinated with everyone else.

A       src/physics/utils/drydep_coupling.F90
A       src/physics/utils/drydep_coupling.meta
  - used to mirror NUOPC cap drydep_nflds for providing to physics schemes.
  - this must be in a separate module via a setter because simple re-export via USE is not accepted by capgen.

List all existing files that have been modified, and describe the changes:
(Helpful git command: git diff --name-status development...<your_branch_name>)

If there are new failures (compared to the test/existing-test-failures.txt file),
have them OK'd by the gatekeeper, note them here, and add them to the file.
If there are baseline differences, include the test and the reason for the
diff. What is the nature of the change? Roundoff?

derecho/intel/aux_sima:

derecho/gnu/aux_sima:

derecho/nvhpc/aux_sima (test is run via Github workflow. Only run the test manually if we need to save new baselines):

If this changes climate describe any run(s) done to evaluate the new
climate in enough detail that it(they) could be reproduced:

CAM-SIMA date used for the baseline comparison tests if different than latest:

hplin-ucar and others added 2 commits July 13, 2026 16:49
…uopc

Move the Fall_flxdst import out of the disabled (#if 0) optional-fields
block, following the Sl_ddvel pattern: the field was already advertised
(ungridded bounds 1:4, set_active_Fall_flxdst1), only the import copy was
disabled. The registry dstflx placeholder gains its bin dimension,
dust_size_bin_dimension (a registry-declared parameter = 4; the four-bin
assumption is a fixed structural contract with the land model, see
dstdry1-4/dstwet1-4), so the generated cam_in%dstflx matches the cap's
2-D copy (with med2mod_areacor, as this is a flux). The block's 'dry
deposition fluxes' comment was corrected to dust emission fluxes.
@jimmielin
jimmielin requested a deployment to CI-tests-on-CIRRUS July 13, 2026 21:01 — with GitHub Actions Waiting
@nusbaume
nusbaume requested a review from cacraigucar July 15, 2026 16:14
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.

2 participants