{ "cells": [ { "cell_type": "markdown", "id": "f1074f1f", "metadata": {}, "source": [ "# This notebook demonstrates how to read in and plot version 2.0 of the UMass FMCW data from VORTEX-SE 2016.\n", "This version of the data have been reprocessed to reduce the impact of spurious power spikes from the high-voltage power supply in the UMass FMCW's TWT amplifier. In 2017 and subsequent seasons, the transmitter was upgraded to solid state, and this problem was no longer present.\n", "\n", "The FMCW data are stored in NetCDF format. A great deal of analysis and visualization can be accomplished via the commonly-used XArray package for Python." ] }, { "cell_type": "code", "execution_count": 1, "id": "4efad07e", "metadata": {}, "outputs": [], "source": [ "import xarray as xr\n", "from glob import glob\n", "import pandas as pd\n", "import matplotlib.pyplot as plt\n", "from functools import partial" ] }, { "cell_type": "markdown", "id": "425d9edb", "metadata": {}, "source": [ "# Plot a single file of UMass FMCW observations.\n", "Each file contains approximately one hour of data." ] }, { "cell_type": "code", "execution_count": 2, "id": "27a3172b", "metadata": {}, "outputs": [], "source": [ "path_to_files = './' # Adjust this path to match your system\n", "fmcwFile = path_to_files + 'S20160307T180001.nc'" ] }, { "cell_type": "code", "execution_count": 3, "id": "a92e27fb", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
<xarray.Dataset>\n", "Dimensions: (time: 207, vels: 256, gate: 1024)\n", "Coordinates:\n", " * time (time) datetime64[ns] 2016-03-07T18:00:01 ... 2016-03-07T18:59:59\n", " * vels (vels) float32 -4.899 -4.861 -4.822 -4.784 ... 4.784 4.822 4.861\n", " * gate (gate) float32 1.0 5.0 10.0 15.0 ... 5.105e+03 5.11e+03 5.115e+03\n", "Data variables: (12/15)\n", " Zef (time, gate, vels) int16 ...\n", " sf (time, gate, vels) int16 ...\n", " sn (time, gate) int16 ...\n", " sff (time, gate, vels) int16 ...\n", " snr (time, gate) int16 ...\n", " Ze (time, gate) int16 ...\n", " ... ...\n", " sfp (time, gate, vels) int16 ...\n", " Zec (time, gate) int16 ...\n", " vec (time, gate) float32 ...\n", " snc (time, gate) int16 ...\n", " ncp (time, gate) float32 ...\n", " ablh (time) float64 1.441e+03 1.446e+03 ... 1.438e+03 1.455e+03\n", "Attributes:\n", " NetCDFRevision: UMass MIRSL and Purdue FMCW v2.0\n", " RadarName: UMa-FMCW\n", " PRF: 190.735\n", " Frequency: 2920000000.0\n", " Latitude: 34.6906\n", " Longitude: -86.8815