Read and plot a Sodar fileΒΆ

This example shows how to read and display Sodar data from the Argonne National Laboratory (ANL) ATMOS site.

Author: Zachary Sherman

Shear, Wind Direction, and Speed at ANL ATMOS on 20230404
from arm_test_data import DATASETS
import matplotlib.pyplot as plt

import act

# Call the read_sodar function.
# Example file is a MFAS Sodar at the ATMOS site. More information
# on the sodar can be found here:
filename_sodar = DATASETS.fetch('sodar.20230404.mnd')
ds =

# Create an ACT TimeSeriesDisplay.
display = act.plotting.TimeSeriesDisplay(
    {'Shear, Wind Direction, and Speed at ANL ATMOS': ds}, subplot_shape=(1,), figsize=(15, 5)

# Plot shear with a wind barb overlay, while using a color vision
# deficiency (CVD) colormap.
display.plot('shear', subplot_index=(0,), cb_friendly=True)
display.plot_barbs_from_spd_dir('speed', 'dir')

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

Gallery generated by Sphinx-Gallery