How to run WRF

Revision as of 23:57, 11 December 2019 by C.carouge (talk | contribs)

NCAR provides a detailed tutorial on how to run WRF, but note:

  • Skip the configure and compile steps of the NCAR tutorial and go straight to the Basics tab. You should have followed the NCI-specific installation instructions for building the model at NCI before attempting to run the model
  • Skip the geogrid, ungrib, and metgrid steps as these are included and compiled during the installation step
  • To run the January 2000 tutorial case do not download the metgrid data; it is available at NCI, see below
  • When the tutorial says to run the model see below for local run scripts

Data for WRF

You need to ask for membership to the sx70 project here

Geographical data

The geographical data has been redownloaded to include all the data available from NCAR except the NMM data, this includes data only available over the US.

The new complete datasets are under:

  • For V3: /g/data/sx70/data/WPS_GEOG_v3
  • For V4: /g/data/sx70/data/WPS_GEOG_v4

The previous incomplete datasets are also present to ensure you can reproduce current inputs:

  • For V3: /g/data/sx70/data/WPS_GEOG_20180313
  • For V4: /g/data/sx70/data/WPS_GEOG_20190418

Meteorological data for the tutorial

The data needed to run the January 2000 tutorial case is stored under:

  • For V3 of WRF: /g/data/sx70/data/JAN00_v3
  • For V4 of WRF: /g/data/sx70/data/JAN00_v4

Run scripts for WPS, real.exe and wrf.exe

Example scripts to submit WPS, real.exe and wrf.exe to the queues (do not try to run these on the login nodes) are provided under WPS and WRFV3/run. The files are named run_WPS.sh, run_real and run_mpi. Those scripts allow you to run WRF from any filesystem independently from the location of the source code. In particular, you can copy WRFV3/run on /scratch as well as the inputs needed for WPS and then run from /scratch (which is recommended). Those files are good to use as-is for the tutorial. For other configurations, feel free to configure those to your needs.