[production/GFS.v17] Add output_dir argument to log_restart_fh function#169
Merged
dpsarmie merged 1 commit intoMay 27, 2026
Merged
Conversation
20 tasks
DeniseWorthen
approved these changes
May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
NCO is requiring that subcomponent logs be written to the output or restart directories. This PR adds a new output_dir function to the log_restart_fh call and sets it to the restart_dir. The CMEPS logs will now appear in ./CMEPS_RESTART/.
There will be a develop version of this feature with user accessibility from configuration options, but for production, this will be the default mode.
Specific notes
Contributors other than yourself, if any: None
CMEPS Issues Fixed (include github issue #): No issue for this production change
Are changes expected to change answers? No
Any User Interface Changes (namelist or namelist defaults changes)? No
Testing performed
This was tested using the the UFSWM RT suite of tests on the production/GFSv17 branch