Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

wrfout files with a different number of frames in a restart run

chenghao

New member
I am running a 10-day simulation with the following settings in my namelist:

history_interval = 60, 60, 60,
frames_per_outfile = 6, 6, 6,
restart = .true.,
restart_interval = 2880,
io_form_history = 2
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2

Due to walltime restriction, I restarted my simulation using the last wrfrst file (wrfrst_d03_2023-08-21_00:00:00). However, the first output file in my restart run is wrfout_d03_2023-08-23_00:00:00, which contains only 2 time frames (UTC0 and UTC1). Then the next output file starts at UTC1 instead of UTC6 (wrfout_d03_2023-08-23_01:00:00), which has 6 frames as specified in the namelist (UTC1, 2, 3, 4, 5, and 6). This means that I have two duplicate UTC1 frames. I have also checked these two UTC1 frames and they are only slightly different. Do you know why the wrfout files in the restart run were not written at UTC0 and UTC6 with six frames each as expected?

Thanks,

Chenghao
 
Chenghao,

Please add the following 2 options to your namelist, then try again:

override_restart_timers = .true.,

write_hist_at_0h_rst = .true.,

If your previous wrfout file includes the output at the restart time, then you can set the second option to .false.
 
Top