Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

restart files were deleted when archiving after the run was completed?

lisa17

New Member
hello!
I have run B1850 for 30years,and set REST_N=5,because I want to save the restart file every five years
But at the end of the run, I found that only the last year's restart files were saved in the archived rest directory.
And I found "DOUT_S_SAVE_INTERIM_RESTART_FILES" value="FALSE" in env_run.xml. However, the following comment in env_run.xml indicates that this value defaults to true, I didn't make any changes, why the value of "DOUT_S_SAVE_INTERIM_RESTART_FILES" is false?

<entry id="DOUT_S_SAVE_INTERIM_RESTART_FILES" value="FALSE">
<type>logical</type>
<valid_values>TRUE,FALSE</valid_values>
<desc>Logical to archive all interim restart files, not just those at eor
If TRUE, perform short term archiving on all interim restart files,
not just those at the end of the run. By default, this value is TRUE.
The restart files are saved under the specific component directory
($DOUT_S_ROOT/$CASE/$COMPONENT/rest rather than the top-level $DOUT_S_ROOT/$CASE/rest directory).
Interim restart files are created using the REST_N and REST_OPTION variables.
This is for expert users ONLY and requires expert knowledge.
We will not document this further in this guide.</desc>
</entry>

There is no restart file in my archived rest directory for the first 25 years. Did the model delete those restart files when the files were transferred after the run completed? Can I get those restart files back?

Thanks very much! Any help is appreciated!
 

sacks

Bill Sacks
CSEG and Liaisons
Staff member
It looks like the problem here is in the documentation, and I have just submitted a fix for the future (Fix documentation of DOUT_S_SAVE_INTERIM_RESTART_FILES by billsacks · Pull Request #327 · ESCOMP/CMEPS). The default behavior is to NOT save interim restart files, and to delete these interim restart files when the case completes. That behavior is appropriate if you are saving restarts more frequently in case the model crashes or runs out of time, but if you want to save these interim restart files, then you need to set this xml variable to TRUE.

I'm sorry that this led you to lose some files that you wanted to save.
 

lisa17

New Member
That's alright. My understanding about it has improved through your reply.
Thank you very much.

Best wishes,
Shasha
 
Top