Examine the WRF ARW Source Code


Move into the WRF/ directory:

cd WRF

Inside this directory, you will find a number of files and directories. Below are descriptions of some of the files and directories to pay special attention to:



• The README files contain useful information about the code and how to set up and run the model.


Source Code Directories

dyn_em/: Directory for ARW dynamics and numerics
dyn_nmm/: Directory for NMM dynamics and numerics, which is no longer developed or supported
dyn_exp/: Directory for a 'toy' dynamic core
external/: Directory containing external packages, such as those for IO, time–keeping, and MPI
frame/: Directory containing modules for the WRF framework
inc/: Directory containing 'include' files
main/: Directory for main routines, such as wrf.F, and all executables after compilation
phys/: Directory for all physics modules
share/: Directory containing mostly modules for WRF mediation layer and WRF I/O
tools/: Directory containing tools for developers

Scripts

clean/: Script to clean created files and executables
compile/: Script for compiling the WRF code
configure/: Script to create the configure.wrf file, which prepares for compilation

Makefile: Top–level makefile
Registry/: Directory for WRF Registry files
arch/: Directory where compile options are gathered
run/: Directory where one may run WRF
test/: Directory that contains several test case directories, may also be used to run WRF



Now that you have a feel for the WRF source code, you are ready to configure WRF for your computer.



Configure WRF