MASTER - prod-cpl framework doesn't take into account EXACT_RESTART capability
in croco.in.base : When using exact_restart:
- you need to save 2 records in the restart files. In croco.in.base, NRPFRST need to be 0 instead of -1 (overwriting) =>
restart: NRST, NRPFRST / filename
<oce_nrst> 0
- when restarting, you nee to read the second record of the restart file =>
initial: NRREC filename
2
in oce_nam.sh, some needed modifications line 81
if [[ $exact_restart == 0 ]]; then
scrumt=$( ncdump -v scrum_time croco_ini.nc${agrif_ext}| grep "scrum_time = " | cut -d '=' -f 2 | cut -d ' ' -f 2)
else
# GC in case of exact restart
scrumt=$( ncdump -v scrum_time croco_ini.nc | grep "scrum_time = " | cut -d '=' -f 2 | cut -d ',' -f 2 | cut -d ';' -f 1)
# eGC
fi