Restart Example
 

When running wrf.exe, we request restart files (wrfrst_d0*) These files can be especially useful for longer runs that may be interrupted for various reasons (e.g., run out of wall-clock time for a batch submission). In this case, you are not required to start over from the beginning. You can simply start the run at a time for which you have a wrfrst* file.

If you have already run the Single Domain case and have successfully created the wrfrst_d01_ file, all you need to do for a restart run is to make some changes to the namelist.input file, and re-run wrf.exe (step 5)

 

 


 

Set-up WRF

  • Make sure you are in the WRFV3 directory.    
     
     
  • cd to directory test/em_real
     
     
  • Edit the namelist.input file:




  • No need to run real.exe again, just run wrf.exe:
     
               wrf.exe
     
    If successful, this will generate the following history files:
     
             wrfout_d01_
             wrfout_d01__06:00:00
             wrfout_d01__09:00:00
             wrfout_d01__12:00:00
     
     
    Notice you do not get a wrfout file at the start time of 00 UTC. This is new since version 3.4.1 (to prevent overwriting the previously created file). If you wish to have a file output for the first time frame, you can add the following line *anywhere* in the &time_control section of the namelist:

            write_hist_at_0h_rst = .true.
     

Check your output:

    • Check to see what is printed to the log files.
    • Tail the log files and look for "SUCCESS COMPLETE WRF".
    • Type the following to see output times available in wrf history file:
       
          ncdump -v Times wrfout_d01_
       

    • Try the netcdf data browser 'ncview' to examine your wrf output file
      ncview wrfout*
    • Generate graphics with one of the supplied packages.


    Organization Suggestion:

    Recall the suggestion (from the "basic" case) to create a directory to put your files in. Do this again for this case:
    mkdir restart
    and then copy the necessary files into that directory to preserve them for potential later use.


If this was successful, you can continue to run another practical example.