Skip to content

Add hindcast orchestration logger to hindcasting workflow - #41

Merged
jswade-rtx merged 5 commits into
developmentfrom
jwade_hindcast_logs
Jul 9, 2026
Merged

Add hindcast orchestration logger to hindcasting workflow#41
jswade-rtx merged 5 commits into
developmentfrom
jwade_hindcast_logs

Conversation

@jswade-rtx

Copy link
Copy Markdown

Adds a hindcast_logger to run_hindcast() so all orchestration-level messages are logged to a single fcst_mgr_hindcast.log file at the hindcast run's root folder in /Hindcast_Run/ instead of leaking into individual run log files. Previously, messages logged between runs (e.g. warm start initialized for cycle 3) were incorrectly appended to the prior run's log file because all hindcast logging shared a single fcst-mgr global logger. Since the hindcast root path is not created until the first build_fcst() call returns, early messages are buffered and flushed to hindcast_logger once it has been initialized.

@jswade-rtx
jswade-rtx requested a review from cmaynard-ngwpc July 7, 2026 20:30
@jswade-rtx

Copy link
Copy Markdown
Author

Tested by Carolyn on ngenCERF and confirmed that the new log file was viewable.

@jswade-rtx
jswade-rtx merged commit b828bd3 into development Jul 9, 2026
8 checks passed
@jswade-rtx
jswade-rtx deleted the jwade_hindcast_logs branch July 9, 2026 19:53
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