ADAPTED RESTART IN MESOSCALE AND LES.
Warning: MMM always puts the initialization state as the first frame in outputs :
init,frame1,frame2,...,frameN
Hence, when using runs restarting from one another, one will get:
init,frame1,frame2,...,frameN
frameN,frameN+1,...,frame2N
Dont forget to remove the initialization frame before concatenating your netcdfs !!
HOW TO USE THE RESTART IN LES AND MESOSCALE ?
Exemple :
=========
INITIALIZE FIRST RUN (ideal.exe or real.exe)
FIRST RUN
FIRST RUN
EXTRACT FROM namelist.input:
&time_control
run_seconds = 60 !! Duration of simulation [LES: !=0]
history_interval_s = 10 !! Frequency of outputs in seconds [LES: !=0]
frames_per_outfile = 37 !! Size of time dimension in files
start_year = 9999 !! Idealized simulation [LES: 9999]
start_month = 01
start_day = 01
start_hour = 00
start_minute = 00
start_second = 00
end_year = 9999 !! Idealized simulation [LES: 9999]
restart = .false. !! (*) whether this run is a restart run
restart_interval = 1 !! (*) restart output file interval in minutes
io_form_history = 2 !! (*) Choice of NETCDF for ouputs
io_form_restart = 2 !! (*) Choice of NETCDF for ouputs
io_form_input = 2 !! (*) Choice of NETCDF for ouputs
io_form_boundary = 2 !! (*) Choice of NETCDF for ouputs
debug_level = 0 !! (*) Verbose level
/
This will produce a restart file : wrfrst_d01_9999-01-01_00:01:00
(and a regular output file)
SECOND RUN, RESTART FROM FIRST
YOU DONT NEED TO RECOMPUTE START FILES (no need for ideal.exe or real.exe)
EXTRACT FROM namelist.input:
&time_control
run_seconds = 60 !! Duration of simulation [LES: !=0]
history_interval_s = 10 !! Frequency of outputs in seconds [LES: !=0]
frames_per_outfile = 37 !! Size of time dimension in files
start_year = 9999 !! Idealized simulation [LES: 9999]
start_month = 01
start_day = 01
start_hour = 00
start_minute = 01
start_second = 00
end_year = 9999 !! Idealized simulation [LES: 9999]
restart = .true. !! (*) whether this run is a restart run
restart_interval = 1 !! (*) restart output file interval in minutes
io_form_history = 2 !! (*) Choice of NETCDF for ouputs
io_form_restart = 2 !! (*) Choice of NETCDF for ouputs
io_form_input = 2 !! (*) Choice of NETCDF for ouputs
io_form_boundary = 2 !! (*) Choice of NETCDF for ouputs
debug_level = 0 !! (*) Verbose level
/
This requires wrfrst_d01_9999-01-01_00:01:00 to be present
This will produce a restart file : wrfrst_d01_9999-01-01_00:02:00
etc ad infinitum !