Skip to content

change how restart file is specified#623

Open
nmizukami wants to merge 2 commits intoESCOMP:mainfrom
nmizukami:bldnml_mod_restart
Open

change how restart file is specified#623
nmizukami wants to merge 2 commits intoESCOMP:mainfrom
nmizukami:bldnml_mod_restart

Conversation

@nmizukami
Copy link
Copy Markdown
Collaborator

@nmizukami nmizukami commented Apr 15, 2026

Here is how restart file setup works after this PR.

  1. get fname_state_in
  2. if fname_state_in in control file is 'STATE_IN_NC' AND cesm/ctsm run type is branch or hybrid, construct restart file based on RUN_REFCASE and RUN_REFDATE, RUN_REFTOD and set the constructed name to fname_state_in.
  3. if fname_state_in in control file is 'STATE_IN_NC' only, set "empty" to fname_state_in. (so cold start)
  4. neither 2 nor 3 == something other than "empty", trust user put a valid restart file name in control file. if not, mizuRoute will complains.

resolve #621

@nmizukami nmizukami requested a review from ekluzek April 15, 2026 20:51
@nmizukami nmizukami added enhancement Improving usability, performance or other types of enhancements cesm-coupling For cesm coupling labels Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cesm-coupling For cesm coupling enhancement Improving usability, performance or other types of enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ability to coldstart or use a different restart file for the RUN_TYPE=hybrid option for cesm-coupling

1 participant