LATEST VERSION: v2.0.6 | RELEASED: October 4th, 2023 | COPYRIGHT Kyle J Gillett, 2023
A Python package that helps you to access and plot vertical profile data for meteorological analysis
Make sure your environment has the required dependencies:
pip install sounderpy
Find it at https://pypi.org/project/sounderpy/
import sounderpy as spy
year = '2011'
month = '04'
day = '27'
hour = '22'
latlon = [33.19, -87.46]
method = 'rap'
raw_data = spy.get_model_data(method, latlon, year, month, day, hour)
clean_data = spy.parse_data(raw_data)
and boom! Now you have a callable dictionary of vertical profile reanalysis data including...
You can make a quick sounding plot of the data using built-in MetPy plotting functions! Just call...
spy.metpy_sounding(clean_data)
or for a hodograph-only plot...
spy.metpy_hodograph(clean_data)
or a looping GIF using this tutorial: SounderPy Looping GIF Tutorial
in AMS format:
Harris, C.R., Millman, K.J., van der Walt, S.J. et al. Array programming with NumPy. Nature 585, 357362 (2020). DOI: 10.1038/s41586-020-2649-2.
Hoyer, S. & Hamman, J., (2017). xarray: N-D labeled Arrays and Datasets in Python. Journal of Open Research Software. 5(1), p.10. DOI: https://doi.org/10.5334/jors.148
J. D. Hunter, "Matplotlib: A 2D Graphics Environment", Computing in Science & Engineering, vol. 9, no. 3, pp. 90-95, 2007.
Ryan M. May, Sean C. Arms, Patrick Marsh, Eric Bruning, John R. Leeman, Kevin Goebbert, Jonathan E. Thielen, Zachary S Bruick, and M. Drew. Camron. Metpy: a Python package for meteorological data. 2023. URL: Unidata/MetPy, doi:10.5065/D6WW7G29.
Ryan M. May, Sean C. Arms, John R. Leeman, and Chastang, J. Siphon: A collection of Python Utilities for Accessing Remote Atmospheric and Oceanic Datasets. Unidata. 2017. [Available online at https://github.com/Unidata/siphon.] doi:10.5065/D6CN72NW.
Pauli Virtanen, Ralf Gommers, Travis E. Oliphant, Matt Haberland, Tyler Reddy, David Cournapeau, Evgeni Burovski, Pearu Peterson, Warren Weckesser, Jonathan Bright, Stfan J. van der Walt, Matthew Brett, Joshua Wilson, K. Jarrod Millman, Nikolay Mayorov, Andrew R. J. Nelson, Eric Jones, Robert Kern, Eric Larson, CJ Carey, lhan Polat, Yu Feng, Eric W. Moore, Jake VanderPlas, Denis Laxalde, Josef Perktold, Robert Cimrman, Ian Henriksen, E.A. Quintero, Charles R Harris, Anne M. Archibald, Antnio H. Ribeiro, Fabian Pedregosa, Paul van Mulbregt, and SciPy 1.0 Contributors. (2020) SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nature Methods, 17(3), 261-272.