Skip to content

Shell script to run WRF experiments with different settings

Notifications You must be signed in to change notification settings

Urban-M4/wrf-runner

Repository files navigation

WRF Runner

  • Run a complete WPS/WRF experiment in one go
  • Make a dedicated directory for each experiment
  • The original WRF source code is untouched
  • Namelists under version control so you can always go back

How to use

It assumes you have a compiled WRF and WPS with the following folder structure

Make sure the paths are set up correctly on your system and match with the paths in wrf_runner.sh. Modify (and commit) the namelists as seen fit, then call the runner:

# Run interactive job
bash wrf_runner.sh

# Or submit as batch job to slurm queue
sbatch wrf_runner.sh

This will create a new folder in $HOME/Urban-M4/experiments/<timestamp> where all output and intermediate files are stored, and run all steps for WPS and WRF.

Notes

f90nml is used to format and modify namelists from the command line. Beware that:

To do

  • Use MODIS_LCZ landuse with wudapt-to-wrf (checkout this branch)
  • Use the "standard" heatwave case for amsterdam
  • Use IFS analysis for initial/boundary conditions
  • Use custom WUR landuse from summer in the city (checkout different branch of WRF?)
  • Use custom river temperatures from rijkswaterstaat(?)
  • Enable additional custom landuse for building albedo/emissivity
  • Add some default plots of input/output for quick inspection of results

About

Shell script to run WRF experiments with different settings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages