Skip to content

Make constituent index lookup routines case insensitive - #765

Merged
peverwhee merged 6 commits into
NCAR:developfrom
peverwhee:case-insensitive-v0
Jul 15, 2026
Merged

Make constituent index lookup routines case insensitive#765
peverwhee merged 6 commits into
NCAR:developfrom
peverwhee:case-insensitive-v0

Conversation

@peverwhee

Copy link
Copy Markdown
Collaborator

Adds to_lower routine to ccpp_constituent_prop_mod.F90 and uses that to make the ccpp_constituent_index, ccpp_constituent_indices, and <host>_const_get_index interfaces case-insensitive.

Also removes redundant routine in scripts/host_cap.py

User interface changes?: No

Testing: 2 small mods to check case insensitivity in advection test.

@peverwhee peverwhee self-assigned this Jul 9, 2026
@peverwhee
peverwhee requested review from a team as code owners July 9, 2026 22:54
@peverwhee

Copy link
Copy Markdown
Collaborator Author

@dustinswales @mkavulich

Could one of you take a look at this? I know it's in v0 so it's not critical to y'all, but I'd like to get it in soon-ish

@climbfuji

Copy link
Copy Markdown
Collaborator

@peverwhee Please go ahead and merge whenever you are ready.

@peverwhee
peverwhee merged commit 766261c into NCAR:develop Jul 15, 2026
15 checks passed
climbfuji added a commit that referenced this pull request Jul 16, 2026
Format update of `feature/capgen-v1` from `develop` to resolve conflicts
after merging #765 into develop / #767 into `feature/capgen-v1`.

There's a small leftover change in
`end-to-end-tests/advection_auto_clone/cld_liq.F90` that was made in
#765 but not in #767. The other test data change in
`test/advection_test/test_host_data.F90` (see
https://github.com/NCAR/ccpp-framework/pull/765/changes#diff-04bf1167afd493d2ea37bd03d093e200ba8b563383bfd1cca3fc9126aca9c4a9)
is already in `feature/capgen-v1`.

Co-authored-by: Courtney Peverley <courtneyp@ucar.edu>
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.

3 participants