how to make a time/year change in restart? #650
-
Hi there, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @PengyangSong, If I understood you correctly, you want to restart from 0001 and not 2700. Then, I would go to the mkdir restarts_0001
cp <list of restarts files with 27XX> restarts_0001
cd restarts_0001
mv <file ending with 27XX> <file ending with 0001> You also need to set some variables in your runscript: general:
lresume: True # we are making a restart
ini_parent_dir: "/path/to/your/restarts_0001 directory"
ini_restart_dir: "${general.ini_parent_dir}"
ini_parent_exp_id: <old-experiment-id>
ini_parent_date: "0001-MM-DD" # day when your parent simulation ends
initial_date: "YYYY-MM-DD" # start of your new simulation There is a section in our documentation that can also help you: Please make a check ( I hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Thanks! @denizural |
Beta Was this translation helpful? Give feedback.
Hi @PengyangSong,
If I understood you correctly, you want to restart from 0001 and not 2700. Then, I would go to the
restart/
directory of your parent simulation and copy the required files that new simulation needs to another directory. Eg.You also need to set some variables in your runscript: