Skip to content

[capgen-v1] Have '_load_metadata_files' use the host model python logger if present. - #782

Merged
climbfuji merged 1 commit into
NCAR:feature/capgen-v1from
nusbaume:python_log_fix
Sep 8, 2026
Merged

climbfuji merged 1 commit into
NCAR:feature/capgen-v1from
nusbaume:python_log_fix

Conversation

@nusbaume

@nusbaume nusbaume commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Updates the _load_metadata_files() routine to use a host-provided python logger, if present (otherwise it falls back to _LOGGER).

User interface changes?: No

Fixes: #781 - 'Reading <host/scheme> metadata' logging message repeated twice when capgen-v1 called from CAM-SIMA

The code fix itself was provided by Claude Opus 5.

Testing:
test removed: N/A
unit tests: PASS
system tests:
manual testing: Successfully ran a CAM-SIMA case.

@nusbaume nusbaume self-assigned this Sep 4, 2026
@nusbaume
nusbaume requested review from a team as code owners September 4, 2026 20:42

@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.

Thanks for fixing this!

@climbfuji
climbfuji merged commit e21f3db into NCAR:feature/capgen-v1 Sep 8, 2026
8 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.

2 participants