WRF: Weather Research and Forecasting model
The widely used open-source regional weather and climate model. Source code, documentation and user support.
Starter notes: always follow the official guide for your version.
Before you start
- WRF runs on Linux. On Windows use WSL 2 (Windows Subsystem for Linux) with Ubuntu.
- You need a Fortran and C compiler (
gfortran,gcc),make,perl,tcsh, and the netCDF libraries (C and Fortran, built with the same compilers). For parallel runs also install MPI (for example OpenMPI).
Main steps
- Download WRF and WPS (the pre-processing system) from the official GitHub pages.
- Set the
NETCDFenvironment variable, run./configurein the WRF folder (a common choice is the gfortran dmpar option), then./compile em_real. - In the WPS folder run
./configureand./compile. Download the static geographical data and your forcing data (for example ERA5 or GFS). - Run
geogrid.exe,ungrib.exe,metgrid.exe, then in the WRF run folderreal.exeandwrf.exe.
The online tutorial linked on this page walks through every step with sample data.
Know a good free resource? Found a broken link?
Tell us. We check every suggestion first, and we list only legitimate sources: official sites, open-access and openly licensed material, and software that its authors give away.