-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial setup of WRF-runner #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code fails for me when running geogrid.exe as I had another geogrid table linked. Once I changed my namelist.wps, the program ran with no issues. So, I think that it would be good to add a line which explicitly links the geogrid table required in wrf-runner.sh.
Just as a note, both geogrid.exe and metgrid.exe failed silently, which made identifying where the program failed difficult. This would need to be addressed within those programs though.
I can reproduce this e.g. with
Indeed it happily continues to run ungrib. Geogrid returns a 0 exit status despite the logged ERROR. Same for metgrid later on. |
For now I've linked the ARW table. We could consider to ship our own geogrid table with this WRF-runner in the future, depending on whether it needs to be customized (much). |
The error originates here: The I suspect adding an integer to the |
Opened wrf-model/WPS#252 to see if this can be addressed in WPS. |
@ClaireDons could you have another go at this and approve/merge if ok? Then you can follow up with updated namelists, and getting w2w into the workflow. |
I reran the code and it runs through all WPS processes successfully and fails at the expected point, so will merge now. |
This adds a script and proposed workflow for running WPS/WRF.
Notes
To review this:
Check that you can run the script both on the login node (kill the job once it reaches WRF) and as a batch job through slurm, and that it reaches the command to execute WRF.
Currently WRF fails because there is an issue with the namelist; fixing the namelist can be part of a future issue.