Skip to content

Fix durations in forcing config files for medium-range lagged ensemble#138

Merged
mxkpp merged 3 commits intodevelopmentfrom
maxkipp-laggedens-n2
Apr 14, 2026
Merged

Fix durations in forcing config files for medium-range lagged ensemble#138
mxkpp merged 3 commits intodevelopmentfrom
maxkipp-laggedens-n2

Conversation

@mxkpp
Copy link
Copy Markdown

@mxkpp mxkpp commented Apr 13, 2026

For the medium-range lagged ensemble workflow, this adjusts the realization durations (parameter ForecastInputHorizons) that are written in the forcing configuration files, to match the intended time-windowing.

This also improves error messaging (see below for details).

This should be reviewed in conjunction with related PRs on other repositories:

NGWPC/nwm-rte#52

NGWPC/nwm-msw-mgr#54

NGWPC/nwm-fcst-mgr#18

Changes

  • Updated forcing configuration files for medium-range lagged ensemble members to match intended time-windowing of those members (starting with member 2, each runs 6 hours aka 360 minutes longer than its previous member).
  • Improved error messaging in err_out_screen to include traceback in to the LOG, in addition to sending the traceback to stderr as had been done before.

Testing

  1. Tested initial ensemble setup (not ran to completion) using nwm-rte with command: docker_run python "/ngen-app/bin/bin_mounted/run_forecast.py" -n 2 -dt "2025-09-15 00:00:00" -rname "${fcst_run_name}_mr_le" -fconfig medium_range -le "" ""

Screenshots

Notes

  • For each member of the ensemble, the config file parameter RefcstBDateProc is overridden on-the-fly by nwm-fcst-mgr, but ForecastInputHorizons is taken as-is from each forcing config file.

Todos

Copy link
Copy Markdown

@jswade-rtx jswade-rtx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to adjust the lagged ensemble forcing engine templates.

@mxkpp
Copy link
Copy Markdown
Author

mxkpp commented Apr 14, 2026

I pushed one more minor improvement to the handling of error messages in err_handler.err_out_screen.

@mxkpp mxkpp merged commit 3fdcf46 into development Apr 14, 2026
6 checks passed
@mxkpp mxkpp deleted the maxkipp-laggedens-n2 branch April 14, 2026 13:08
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