Skip to content

[feature/capgen-v1-cleanup-01] Make constituent index lookup routines case insensitive#766

Merged
climbfuji merged 5 commits into
NCAR:feature/capgen-v1-cleanup-01from
peverwhee:case-sensitive-v1
Jul 10, 2026
Merged

[feature/capgen-v1-cleanup-01] Make constituent index lookup routines case insensitive#766
climbfuji merged 5 commits into
NCAR:feature/capgen-v1-cleanup-01from
peverwhee:case-sensitive-v1

Conversation

@peverwhee

@peverwhee peverwhee commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR is the same as #765, but for branch feature/capgen-v1-cleanup-01.

Adds to_lower routine to capgen/src/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.

User interface changes?: No

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

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

Copy link
Copy Markdown
Collaborator

Thanks for creating this PR. I'll test it and update the PR description accordingly.

@climbfuji climbfuji changed the title Make constituent index lookup routines case insensitive [feature/feature/capgen-v1-cleanup-01] Make constituent index lookup routines case insensitive Jul 10, 2026
@climbfuji climbfuji changed the title [feature/feature/capgen-v1-cleanup-01] Make constituent index lookup routines case insensitive [feature/capgen-v1-cleanup-01] Make constituent index lookup routines case insensitive Jul 10, 2026

@climbfuji climbfuji left a comment

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.

Works like a charm, thank you!

I'll merge this right away, because it's for the feature/capgen-v1-cleanup-01 branch.

@climbfuji climbfuji merged commit d2cb10b into NCAR:feature/capgen-v1-cleanup-01 Jul 10, 2026
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