Skip to content

NCO scripts on the operational testbed cluster#69

Open
zhengtaocui wants to merge 11 commits into
developmentfrom
add_NCO_realtime_scripts
Open

NCO scripts on the operational testbed cluster#69
zhengtaocui wants to merge 11 commits into
developmentfrom
add_NCO_realtime_scripts

Conversation

@zhengtaocui

Copy link
Copy Markdown

Added the NCO scripts (Ecflow, job, and ex-scripts) as a new folder, nwm.v4.0.0

@mxkpp

mxkpp commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Which commands could I run to build and test this?

@mxkpp mxkpp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

With the ecFlow server (Docker) container that I added in this other branch: #73

I was able to run the ./install_testbed.sh script.

I did not test any tasks.

I think we can go ahead and merge this, with the understanding that we will rewrite parts of it to align with the design I put together for a Python / OOP implementation of the ecFlow client and using ecFlow as a formal communication medium: ngwpc-ecflow-design.docx

@zhengtaocui zhengtaocui force-pushed the add_NCO_realtime_scripts branch from 723fbca to 85fe0f8 Compare June 11, 2026 16:48
nwm-realtime/nwm_realtime_fcst.py:
- Add --config-name and --domain CLI options
- Run CONUS AnA and Extended AnA as two consecutive chunks with a state
  handoff, controlling each pass's window via the RTE --lookback option
  (AnA split 1h+2h, Extended AnA split 24h+4h)
- Archive each pass's Output/state_save to timestamped dirs named by the
  simulation end time (%Y%m%d%H)
- Read warm states from the timestamped state_save dir valid at the start
  of the current window (AnA: T0-3; Ext: T0-28; Short Range: T0)
- Hardcode container state path and pass --hydrofab_file (per self.gageid)
  to all RTE runs
- Forward RTE non-zero exit codes out of configureRTE/runRTE

scripts/exnwm.sh:
- Copy the first-run state_save/Output dirs using a per-CASETYPE offset
  (-2 for AnA, -4 for Extended AnA) to match each config's run-1 end time

ecf/model_envir.h:
- Export NDATE (prod_util ndate) used by exnwm.sh for the offset copies
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