Skip to content

alexblackmer/WRF-Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

WRF-Practice

This is a partial codebase for the WRF practice I produced during my Numerical Weather Prediction class at the University of Utah. Only the driving namelist and batch files are included due to storage restraints.

Case

Workflow

Here is a step-by-step guide for running the WRF model with my code. Start with WRF Preprocessing System (WPS), run WRF model, and post-process with wrf-python.

WPS:

  1. Edit namelist.wps to preferred domain configuration
  2. Link initial conditions data to WPS

./link_grib.csh /path/to/your/data/*

  1. Run WPS script
  • In this case, run batch script

sbatch run_wps

  1. Use ncl to view domains

module load ncl
ncl util/plotgrids_new.ncl

  1. Check SLURM error and output files to ensure model
  2. Move to ../run directory

WRF Run:

  1. Change namelist.input to reflect the following
  • Domain info from namelist.wps
  • Physics schemes
  1. Link WPS files to WRF run

ln –s ../WPS/met_em* .

  1. Run WRF real batch script

sbatch run_real

  • Check SLURM output files for errors
  1. Run WRF final batch script

sbatch run_wrf

  • Check SLURM output file for errors

Post-Processing:

  1. Use ncview to view WRF output

'module load ncview'

  1. Develop wrf-python scripts for better visualizations

About

WRF Case Study and Practice for NWP Class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published