Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple WRF analysis/plotting examples
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This is a simple example for plotting WRF output using several standard Python libraries:\n",
"\n",
"1. [xray](http://xray.readthedocs.org/en/stable/) - netCDF reading and data manipulation\n",
"2. [matplotlib](http://matplotlib.org/) - Python basic plotting library\n",
"3. [cartopy](http://scitools.org.uk/cartopy/docs/latest/index.html) - Geographic plotting library build on matplotlib\n",
"\n",
"If you're already using Anaconda, then the easiest way to install these will be to simply go to your command line and execute:\n",
"\n",
"```bash\n",
"conda install xray matplotlib cartopy\n",
"```\n",
"\n",
"Alternatively, you could use `pip` or install them from source, but that's not recommended. Other libraries to consider would be [iris](http://scitools.org.uk/iris/docs/latest/index.html) for reading in/handling netCDF data, or [matplotlib basemap](http://matplotlib.org/basemap/) for geographic plotting."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Reading in data\n",
"\n",
"Using `xray`, it's trivial to read in a netCDF dataset. I've attached a timeslice of output from a simulation of a mid-latitude squall line in the file [squall_slice.nc]() for this purpose."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import xray\n",
"\n",
"dataset = xray.open_dataset(\"squall_slice.nc\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Normally, you'd use `ncdump -h squall_slice.nc` from the command line to inspect this file, but we can do something equivalent using xray."
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": false,
"scrolled": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<xray.Dataset>\n",
"Dimensions: (Time: 1, bottom_top: 80, bottom_top_stag: 81, south_north: 100, west_east: 500)\n",
"Coordinates:\n",
" XLAT (Time, south_north, west_east) float32 0.0 0.0 0.0 0.0 ...\n",
" XLONG (Time, south_north, west_east) float32 0.0 0.0 0.0 0.0 ...\n",
" * Time (Time) int64 0\n",
" * bottom_top (bottom_top) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ...\n",
" * bottom_top_stag (bottom_top_stag) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 ...\n",
" * south_north (south_north) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ...\n",
" * west_east (west_east) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...\n",
"Data variables:\n",
" P (Time, bottom_top, south_north, west_east) float32 11.1484 ...\n",
" PB (Time, bottom_top, south_north, west_east) float32 96225.7 ...\n",
" PH (Time, bottom_top_stag, south_north, west_east) float32 0.0 ...\n",
" PHB (Time, bottom_top_stag, south_north, west_east) float32 0.0 ...\n",
" PSFC (Time, south_north, west_east) float32 0.0 0.0 0.0 0.0 ...\n",
" QCLOUD (Time, bottom_top, south_north, west_east) float32 0.0 ...\n",
" QRAIN (Time, bottom_top, south_north, west_east) float32 0.0 ...\n",
" QVAPOR (Time, bottom_top, south_north, west_east) float32 0.0196612 ...\n",
" T (Time, bottom_top, south_north, west_east) float32 1.60981 ...\n",
" T2 (Time, south_north, west_east) float32 0.0 0.0 0.0 0.0 ...\n",
"Attributes:\n",
" TITLE: OUTPUT FROM WRF V3.6 MODEL\n",
" START_DATE: 2011-04-25_18:00:00\n",
" SIMULATION_START_DATE: 2011-04-25_18:00:00\n",
" WEST-EAST_GRID_DIMENSION: 501\n",
" SOUTH-NORTH_GRID_DIMENSION: 101\n",
" BOTTOM-TOP_GRID_DIMENSION: 81\n",
" DX: 1000.0\n",
" DY: 1000.0\n",
" STOCH_FORCE_OPT: 0\n",
" GRIDTYPE: C\n",
" DIFF_OPT: 2\n",
" KM_OPT: 2\n",
" DAMP_OPT: 0\n",
" DAMPCOEF: 0.003\n",
" KHDIF: 0.0\n",
" KVDIF: 0.0\n",
" MP_PHYSICS: 9\n",
" RA_LW_PHYSICS: 0\n",
" RA_SW_PHYSICS: 0\n",
" SF_SFCLAY_PHYSICS: 0\n",
" SF_SURFACE_PHYSICS: 0\n",
" BL_PBL_PHYSICS: 0\n",
" CU_PHYSICS: 0\n",
" SF_LAKE_PHYSICS: 0\n",
" SURFACE_INPUT_SOURCE: 1\n",
" SST_UPDATE: 0\n",
" GRID_FDDA: 0\n",
" GFDDA_INTERVAL_M: 0\n",
" GFDDA_END_H: 0\n",
" GRID_SFDDA: 0\n",
" SGFDDA_INTERVAL_M: 0\n",
" SGFDDA_END_H: 0\n",
" HYPSOMETRIC_OPT: 1\n",
" SF_URBAN_PHYSICS: 0\n",
" SHCU_PHYSICS: 0\n",
" MFSHCONV: 0\n",
" FEEDBACK: 1\n",
" SMOOTH_OPTION: 2\n",
" SWRAD_SCAT: 1.0\n",
" W_DAMPING: 0\n",
" DT: 5.0\n",
" RADT: 0.0\n",
" BLDT: 0.0\n",
" CUDT: 0.0\n",
" AER_OPT: 0\n",
" SWINT_OPT: 0\n",
" AER_TYPE: 1\n",
" AER_AOD550_OPT: 1\n",
" AER_ANGEXP_OPT: 1\n",
" AER_SSA_OPT: 1\n",
" AER_ASY_OPT: 1\n",
" AER_AOD550_VAL: 0.12\n",
" AER_ANGEXP_VAL: 1.3\n",
" AER_SSA_VAL: 1.4013e-45\n",
" AER_ASY_VAL: 1.4013e-45\n",
" MOIST_ADV_OPT: 1\n",
" SCALAR_ADV_OPT: 1\n",
" TKE_ADV_OPT: 1\n",
" DIFF_6TH_OPT: 0\n",
" DIFF_6TH_FACTOR: 0.12\n",
" OBS_NUDGE_OPT: 0\n",
" BUCKET_MM: -1.0\n",
" BUCKET_J: -1.0\n",
" PREC_ACC_DT: 0.0\n",
" SF_OCEAN_PHYSICS: 0\n",
" ISFTCFLX: 0\n",
" ISHALLOW: 0\n",
" ISFFLX: 0\n",
" ICLOUD: 0\n",
" ICLOUD_CU: 0\n",
" TRACER_PBLMIX: 1\n",
" SCALAR_PBLMIX: 0\n",
" GRAV_SETTLING: 0\n",
" DFI_OPT: 0\n",
" WEST-EAST_PATCH_START_UNSTAG: 1\n",
" WEST-EAST_PATCH_END_UNSTAG: 500\n",
" WEST-EAST_PATCH_START_STAG: 1\n",
" WEST-EAST_PATCH_END_STAG: 501\n",
" SOUTH-NORTH_PATCH_START_UNSTAG: 1\n",
" SOUTH-NORTH_PATCH_END_UNSTAG: 100\n",
" SOUTH-NORTH_PATCH_START_STAG: 1\n",
" SOUTH-NORTH_PATCH_END_STAG: 101\n",
" BOTTOM-TOP_PATCH_START_UNSTAG: 1\n",
" BOTTOM-TOP_PATCH_END_UNSTAG: 80\n",
" BOTTOM-TOP_PATCH_START_STAG: 1\n",
" BOTTOM-TOP_PATCH_END_STAG: 81\n",
" GRID_ID: 1\n",
" PARENT_ID: 0\n",
" I_PARENT_START: 1\n",
" J_PARENT_START: 1\n",
" PARENT_GRID_RATIO: 1\n",
" CEN_LAT: 0.0\n",
" CEN_LON: 0.0\n",
" TRUELAT1: 0.0\n",
" TRUELAT2: 0.0\n",
" MOAD_CEN_LAT: 0.0\n",
" STAND_LON: 0.0\n",
" POLE_LAT: 0.0\n",
" POLE_LON: 0.0\n",
" GMT: 0.0\n",
" JULYR: 0\n",
" JULDAY: 1\n",
" MAP_PROJ: 0\n",
" MAP_PROJ_CHAR: Cartesian\n",
" MMINLU: \n",
" NUM_LAND_CAT: 24\n",
" ISWATER: 0\n",
" ISLAKE: 0\n",
" ISICE: 0\n",
" ISURBAN: 0\n",
" ISOILWATER: 0\n",
" history: Wed Oct 14 10:17:31 2015: ncks -d Time,0 -v PH,PHB,T,P,PB,PSFC,T2,QRAIN,QVAPOR,QCLOUD,XLAT,XLONG squall3d_03z.nc -o squall_slice.nc\n",
" NCO: 4.4.7\n"
]
}
],
"source": [
"print(dataset)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We can look into more detail at a given field, too, to see what metadata is attached to it. Note that the default container that `xray` provides, the **Dataset**, implements the standard dictionary interface, so it's easy to grab data fields."
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<xray.DataArray 'QRAIN' (Time: 1, bottom_top: 80, south_north: 100, west_east: 500)>\n",
"[4000000 values with dtype=float32]\n",
"Coordinates:\n",
" XLONG (Time, south_north, west_east) float32 0.0 0.0 0.0 0.0 0.0 ...\n",
" * bottom_top (bottom_top) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ...\n",
" * Time (Time) int64 0\n",
" * south_north (south_north) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...\n",
" XLAT (Time, south_north, west_east) float32 0.0 0.0 0.0 0.0 0.0 ...\n",
" * west_east (west_east) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ...\n",
"Attributes:\n",
" FieldType: 104\n",
" MemoryOrder: XYZ\n",
" description: Rain water mixing ratio\n",
" units: kg kg-1\n",
" stagger: \n"
]
}
],
"source": [
"rain = dataset['QRAIN']\n",
"print(rain)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"To illustrate simple data manipulation, let's compute total rain amount for each model column in the `y` dimension, and plot against `x`. This will give us an idea of where the squall line is located in the model domain. \n",
"\n",
"Rather than use giant loops over all the model dimensions, we'll use the convenience tools exposed by `xray`. See [here](http://xray.readthedocs.org/en/stable/data-structures.html?highlight=pipe) for more details."
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"x = 'west_east'\n",
"y = 'south_north'\n",
"z = 'bottom_top'\n",
"t = 'Time'\n",
"\n",
"total_rain = (rain.load()\n",
" .sum(dim=[y, z], keep_attrs=True)\n",
" .squeeze())"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Plotting simple data like this is very straightforward, but as a reminder:"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.text.Text at 0x11309b810>"
]
},
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgo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K5CYII=\n",
"text/plain": [
"<matplotlib.figure.Figure at 0x10fcc6390>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"%matplotlib inline\n",
"import matplotlib.pyplot as plt\n",
"\n",
"fig = plt.figure()\n",
"ax = fig.add_subplot(111, aspect=200.)\n",
"\n",
"lines = ax.plot(total_rain[x], total_rain, color='k', lw=2)\n",
"ax.set_xlabel(x)\n",
"ax.set_ylabel(\"Total rain ({})\".format(total_rain.units))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"---\n",
"\n",
"That's the basic example. Suppose, now, we wanted to visualize contours of liquid water content in a 2D slice of the storm? That's easy to do using the aggregation features from `xray` and the same basic plotting interface. However, we'll also use the \"selection\" feature to choose a slice through the model domain; see [here](http://xray.readthedocs.org/en/stable/indexing.html) for more."
]
},
{
"cell_type": "code",
"execution_count": 54,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"liq_water = dataset['QRAIN'] + dataset['QCLOUD']\n",
"liq_water.attrs['long_name'] = \"Total water mixing ratio\"\n",
"liq_water.attrs['units'] = \"kg/kg\"\n",
"\n",
"liq_water_slice = (liq_water.load()\n",
" .isel(south_north=slice(30, 70),\n",
" bottom_top=slice(0, 40),\n",
" west_east=slice(100, 320))\n",
" .mean(y, keep_attrs=True)\n",
" .squeeze())"
]
},
{
"cell_type": "code",
"execution_count": 73,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAVIAAAD1CAYAAAACu30NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJztnX3wHWWV5z8XkLyAGqL8CBDezOjB0VGCEXdGYwG6FoiI\nNYUTKV8QXFxXZaxxmRpwViClgkMUd8FlQYtYK6MFM2uxvKnjKuxMtEolE40OxBM2wTjJAAn8CC9G\nf0C4+0d33/Tt2/fefu+nu8+n6lby69v99Hm6b3/7POd5Ob1+v49hGIaRnQPqNiCMiLwE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prIuVXbcvY/fCGlVRmS6S8kynh\nHsXs+yDwMVX9dmR76fcohS2l36OktoS+P5lynqEleA7ThcA38Zro3wROUtXNkXKqeI4S2xOmsBip\n7zGeDpyD12z/GPBOVd3jbzsM+DVeh9AOIGnO5T/Fc90fAa7G66Xf4X/3X/zyfoUXU/pKVERDhN8Y\nie1R1Y14Taq1vg1LgPP87x7AE/FL8Xr2rgXOjRGLD+EJ/aUi8lTo85mqbZmyX9XXJUrh9ygFpd+j\npFRxjzJSxjP0MHAm3jCjx4HLgbPGiFYVz1EaewbYws6GYRg5sSmihmEYOTEhNQzDyIkJqWEYRk5M\nSA3DMHJiQmoYhpETE1LDMIycmJAahmHkxITUMAwjJyakhmEYOfn/LLqxcmqffYgAAAAASUVORK5C\nYII=\n",
"text/plain": [
"<matplotlib.figure.Figure at 0x1157ea5d0>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"from matplotlib.colors import BoundaryNorm\n",
"\n",
"levels = [0, 1e-5, 2e-5, 5e-5, 1e-4, 2e-4, 5e-4, 1e-3, 2e-3, ]\n",
"cmap = plt.get_cmap(\"Oranges\")\n",
"norm = BoundaryNorm(levels, ncolors=cmap.N, clip=True)\n",
"\n",
"fig = plt.figure(figsize=(5., 4.))\n",
"ax = fig.add_subplot(111)\n",
"\n",
"cf = ax.contourf(liq_water_slice, \n",
" levels=levels, cmap=cmap, norm=norm)\n",
"cb = plt.colorbar(cf, ax=ax, orientation='horizontal', format=\"%1.0e\")"
]
},
{
"cell_type": "code",
"execution_count": 74,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"pres = (dataset['P'] + dataset['PB']) * 0.01\n",
"pres.attrs['long_name'] = 'Total pressure'\n",
"pres.attrs['units'] = 'mb'"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"language": "python",
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.10"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment