Closed aidanheerdegen closed 6 years ago
Can you see any problems with this @nicjhan? I've done this so cice5 can conform more to the payu
way of running as part of adding manifest support. I believe it is backwards compatible so shouldn't break anything.
The idea is the iced*.nc
restart file can be linked to an INPUT
directory (input_dir
) and then a new restart can be written to a RESTART
directory (restart_dir
).
I have merged this as there were no objections.
Previously model input was all read from restart_dir and then restarts were written to the same directory.
This change adds input_dir to the setup_nml namelist. By default, if input_dir is not specified in the namelist it will be set to the same as restart_dir, reproducing previous behaviour, and so making this backwards compatible.
If input_dir is specified then all inputs will be read from the specified directory, and restarts will be written to restart_dir.