Output Additional Variables in History File
 

In this example we are going to run wrf.exe again, but we are going to output additional variables that would not normally be found in the history file. There is an option to do this by adding an 'h' in the Registry.EM_COMMON file, but that would require issuing a 'clean -a' and then reconfiguring and recompiling. This makes use of the 'Runtime I/O' option (which you can read more about here), and it can simply be done from the namelist. Suppose that you would like to know how much temperature change is coming from radiation, PBL, cumulus and microphysics. We can output the variables RTHCUTEN, RTHBLTEN, RTHRATEN, and H_DIABATIC to analyze this.

 

There is no data pre-processing necessary. So as long as you still have wrfinput_d01 and wrfbdy_d01 files from a previous case, you can continue. If not, please return to the Single Domain case as generate these again.

 

 


 

Set-up WRF

  • Make sure you are in the WRFV3 directory.    
     
     
  • cd to directory test/em_real
     
     
  • Edit the namelist.input file
    The namelist for the standard case is perfect for this example. You will just need to make a few changes (see below). To ensure that the model runs fast, make sure that max_dom=1.





  • No need to run real.exe again, just run wrf.exe:
     
               wrf.exe
     
    If successful, you should see these new variables in your output file. You can determine this by doing an 'ncdump -h' on the wrfout* file. You can also view these variables using the 'ncview' option.
     
         

     

    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 output_additional_variables
    and then copy the necessary files into that directory to preserve them for potential later use.


You can now continue to run other practical examples.