Plot a timeseries of sounding dataΒΆ

This is a simple example for how to plot multiple columns in a TimeseriesDisplay.

Author: Maxwell Grover

sgpmetE13.b1 temp_mean on 20190101, sgpmetE13.b1 temp_std on 20190101, sgpmetE13.b1 rh_mean on 20190101, sgpmetE13.b1 rh_std on 20190101, sgpmetE13.b1 wdir_vec_mean on 20190101, sgpmetE13.b1 wdir_vec_std on 20190101
from arm_test_data import DATASETS
from matplotlib import pyplot as plt

import act

# Read in MET files.
met_wildcard_list = [
met_filenames = [DATASETS.fetch(file) for file in met_wildcard_list]
met_ds =

# Plot data
display = act.plotting.TimeSeriesDisplay(met_ds)
display.add_subplots((3, 2), figsize=(15, 10))
display.plot('temp_mean', color='tab:red', subplot_index=(0, 0))
display.plot('rh_mean', color='tab:green', subplot_index=(1, 0))
display.plot('wdir_vec_mean', subplot_index=(2, 0))
display.plot('temp_std', color='tab:red', subplot_index=(0, 1))
display.plot('rh_std', color='tab:green', subplot_index=(1, 1))
display.plot('wdir_vec_std', subplot_index=(2, 1))

Total running time of the script: (0 minutes 0.707 seconds)

Gallery generated by Sphinx-Gallery