DynCore: migrate scalar export fields to MAPL3 vector field bundles#389
Merged
Conversation
…aliases - enable History child component in adv-dyn and dyn-sa cap.yaml configs - add history.yaml for dyn-sa with vector field collections - expand adv-dyn history.yaml to include UV, D_UV_DTANA, UV_KE, UV_PHI, UV_QV vector collections - add alias() helper in cmpchk.py scripts to map U/V checkpoint vars to their indexed names (UV_1, UV_2) following the MAPL3 vector field naming convention
- remove vector_component_names from UV spec declarations - add export specs for D_UV_DTANA, UV_KE, UV_PHI, UV_QV as MAPL3 vector bundles - replace MAPL_StateGetPointer calls for scalar U/V exports with ESMF_StateGet + MAPL_FieldBundleGetPointer on the corresponding vector bundle - split MAPL use statement into per-group lines - remove stale commented-out CI option in .circleci/config.yml
tclune
reviewed
May 22, 2026
tclune
reviewed
May 22, 2026
| MAPL_FieldBundleAdd, MAPL_FieldBundleSameData, MAPL_FieldBundleGetPointer, & | ||
| MAPL_RESTART_SKIP, MAPL_RESTART_REQUIRED, MAPL_ArrayGather | ||
| use MAPL, only: MAPL_Verify, MAPL_Assert, MAPL_Return | ||
| use MAPL, only: WRITE_PARALLEL, MAPL_Am_I_Root, MAPL_MaxMin, MAPL_AreaMean |
Collaborator
There was a problem hiding this comment.
Note to all: I want to start lower casing the mapl prefix. But not in this PR as it only touched some of the USE statements in this repo.
tclune
approved these changes
May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrate DynCore export fields to MAPL3 vector field bundle conventions.
What changed
vector_component_namesfrom UV spec declarationsD_UV_DTANA,UV_KE,UV_PHI,UV_QVas MAPL3 vector bundlesMAPL_StateGetPointercalls for scalar U/V exports withESMF_StateGet+MAPL_FieldBundleGetPointeron the corresponding vector bundleusestatement into per-group lines.circleci/config.ymlValidation