Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Short WRF Tutorial for BNF

2025 DOE ARM BNF Summer School
Created by: Tim Juliano, NSF NCAR

About WRF

The Weather Research and Forecasting, or WRF, model is a powerful tool to simulate atmospheric phenomena ranging from turbulent microscale fronts to synoptic-scale hurricanes. WRF is used widely in the atmospheric science community, and more information about the model can be found here.

Tutorial Goals

In this tutorial, we’ll focus on a shallow convection case that occurred on April 11th, 2025. The main goals are for you to learn how to:

  1. Read WRF output files

  2. Extract model information for grid cells nearest to our ARM BNF sites

  3. Make time series, planview, and cross-section plots

Import libraries

Set paths to model outputs

Open files, load into dataset, and inspect

Loading...

Create a dictionary for our ARM sites so we can easily find them in the model

Subset the original WRF dataset so that it includes information for just our sites

Loading...

Now let’s make some plots!

First, time series plots comparing the different sites

<Figure size 1000x500 with 2 Axes>

Now let’s make a planview (x-y) plot showing sensible heat fluxes and liquid water path

Making plot for 2025-04-11 17:15
<Figure size 1400x600 with 4 Axes>

How about a nifty cross-section between S20 and S40

Note: we’re using the wrf-python package, but newer and less clunky packages exist

<Figure size 1200x600 with 2 Axes>