Repository navigation
SounderPy v3.3.0 | Rebuilt Plotting, Winter Soundings, Publication Figures, RRFS Data, and a New Documentation Home
SounderPy v3.3.0 rebuilds the plotting module, adds winter and publication figures, and makes every figure easier to customize.
What's New
📈 Figure Updates
- Rebuilt plot module: most figures are about 50% faster, with custom colors (
theme), a custom
watermark (spy.set_watermark()), and aylimto zoom the skew-T. - New
build_sounding()kwargs:max_levels(reduce the number of vertical levels of a profile),ylim(zoom the skew-T into a particular layer),theme(custom figure colors),sr_hodo(storm-relative hodograph),mode('severe','winter', or'auto'),show_obs(the nearest surface observation formode='winter'figures),map_layersandmap_label(adding your own data to the map inset), andreturn_fig(return the figure and its panels for customization). Many of these also work onbuild_hodograph(),build_composite(), andbuild_vad_hodograph(). - Publication figures (experimental):
spy.build_publication_sounding()draws journal-sized figures
for AMS and AGU journals, and everybuild_*function takesreturn_fig=Trueto hand back its figure
(custom figures tutorial). - Your own data on the map inset with
map_layersandmap_label
(custom map data tutorial). - Rebuilt composite soundings with figure improvements and parameter read-outs, and rebuilt VAD hodographs with map, radar, and boundary options.
- New parameter readouts on the full sounding: composite indices in the thermodynamics box, EIL depth and
heights, 0-10 km bulk shear and theta-e difference, PBL height and transport wind, improved layout for ML/MU parcel heights, updated watermark, new data source attribution line, and numerous other small improvements to the plot layout.
❄️ NEW Winter Soundings
build_sounding(mode='winter')draws a winter-focused sounding built around precipitation type, snow growth, and
winter hazards. Settingmode='auto'will generate a winter figure when the surface wet-bulb is below 35°F, and a newshow_obs=Truekwarg adds the latest (nearest) surface observation to the figure (See the winter soundings tutorial!).spy.winter_params(clean_data).calc()returns the dictionary of winter parameters.
🧮 Calculations
- NEW severe parameters: 0-10 km bulk shear and the low-to-midlevel theta-e difference (for MCSs; Cohen et al. 2007), PBL depth and transport wind (for air quality), EIL bottom height, top height, and depth, SHIP, MLBRN, TT, KI, and 700-500 hPa lapse rate.
- UPDATED/CORRECTED parameters: Streamwise vorticity bug counted antistreamwise layers as streamwise; STP/SCP used EIL shear in kts (now m/s).
- Every parameter, its units, and its source are listed on the
Parameters & References documentation page. - Settings:
modify_sfcadds'mix','blend', and'replace'methods, and the NEWspy.modify_surface()returns the modified profile itself, to compare or save;spy.smooth_profile()adds a Savitzky-Golay filter.
🌦️ Data Sources
- BUFKIT now serves the RRFS; NAM, NAMNEST, SREF, and HIRESW are no longer available as "latest runs" (discontinued; but NAM and NAMNEST are available as archived runs)
- RRFS, HRRR, and RAP may now fall back to NOMADS NCEP's BUFR dataset when Penn State is behind or an archived run is missing.
- NEW Station list: observed soundings use a packaged WMO/ICAO/IGRAv2 station list, with an ICAO fallback for the
Wyoming archive. This list is a best-guess combination of 5 data sources to limit incorrect site names, IDs, and locations. - Dewpoints are now calculated (when possible) for older IGRA v2 soundings that don't ship dewpoint.
- Thread-safe RAP/RUC GRIB parsing.
💻 Command Line Interface Updates
- NEW
filecommand: read a local SHARPpy-format sounding (--latlon LAT LONadds its location for the map). - NEW options:
--params: print key calculated parameters (CAPE, SRH, shear, and precip type with--mode winter);--mode {severe,winter,auto}and--obs: winter soundings and the nearest surface observation;--storm-motion:right_moving,left_moving,mean_wind, or a direction and speed such as270 25;--modify-sfc: change the surface, e.g.T=30 Td=21orT=-6 method=blend depth=300;--radar {mosaic,single,none}and--radar-time {sounding,now}: the map's radar;--parcelsand--background-parcels: custom parcel codes.
- Options now match the Python functions, with clearer warnings.
🐞 Bug Fixes
- ACARS airport elevations corrected, CIN doesn't accumulate above the LFC, HGZ identification, extra moist adiabats on thin zoomed skew-Ts, and figures now close after
save=Trueto preserve memory.
📚 NEW HOME for Documentation!
- Freshly redesigned docs now live at sounderpy.app/docs, with new Plot Settings, Publication Figures, and Parameters & References pages.
- Also, each source module now includes a text header with its docs and references.
⚠️ Changes to Note
sounding_params(...).calc()andvad_params(...).calc()return a dictionary instead of a tuple.- Renamed, with the old names still working (with a
FutureWarning) until a later release:
build_composite()'scolors_to_use,ls_to_use,alphas_to_use, andlw_to_use(nowcolors,
linestyles,alphas, andlinewidths),make_cm1_profile()/make_wrf_profile()(now
spy.from_cm1()/spy.from_wrf()), and the data modules (now insounderpy.data). spy.smooth_profile()defaults to the Savitzky-Golay filter (passingsigmaalone still uses the
Gaussian filter).
Install
SounderPy v3.3.0 is now available on PyPi:
pip install --upgrade sounderpy
...or with conda:
conda install conda-forge::sounderpy
Documentation
For full details, examples, tutorials, and API documentation:
Citing SounderPy
If SounderPy contributes to your work, please cite: Gillett, K. J., 2025: SounderPy: An atmospheric sounding
visualization and analysis tool for Python. J. Open Source Software, 10(112), 8087,
https://doi.org/10.21105/joss.08087
