Time-Height Scatter Plot

This will show how to use the time-height scatter plot function that’s part of the TimeSeries Display.

sgpsondewnpnC1.b1 tdry on 20190101, sgpsondewnpnC1.b1 rh on 20190101
import matplotlib.pyplot as plt
import act
from act.tests import sample_files

# Read in radiosonde data
ds = act.io.arm.read_arm_netcdf(sample_files.EXAMPLE_SONDE1)

# Create scatter plots of the sonde data
display = act.plotting.TimeSeriesDisplay(ds, figsize=(7, 6), subplot_shape=(2,))
display.time_height_scatter('tdry', plot_alt_field=True, subplot_index=(0,))
display.time_height_scatter('rh', subplot_index=(1,), cvd_friendly=True, day_night_background=True)


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

Gallery generated by Sphinx-Gallery