Recent Releases of SounderPy

SounderPy - v3.3.0

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 a ylim to 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 for mode='winter' figures), map_layers and map_label (adding your own data to the map inset), and return_fig (return the figure and its panels for customization). Many of these also work on build_hodograph(), build_composite(), and build_vad_hodograph().
  • Publication figures (experimental): spy.build_publication_sounding() draws journal-sized figures
    for AMS and AGU journals, and every build_* function takes return_fig=True to hand back its figure
    (custom figures tutorial).
  • Your own data on the map inset with map_layers and map_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. Setting mode='auto' will generate a winter figure when the surface wet-bulb is below 35°F, and a new show_obs=True kwarg 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_sfc adds 'mix', 'blend', and 'replace' methods, and the NEW spy.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 file command: read a local SHARPpy-format sounding (--latlon LAT LON adds 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 as 270 25;
    • --modify-sfc: change the surface, e.g. T=30 Td=21 or T=-6 method=blend depth=300;
    • --radar {mosaic,single,none} and --radar-time {sounding,now}: the map's radar;
    • --parcels and --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=True to 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() and vad_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()'s colors_to_use, ls_to_use, alphas_to_use, and lw_to_use (now colors,
    linestyles, alphas, and linewidths), make_cm1_profile() / make_wrf_profile() (now
    spy.from_cm1() / spy.from_wrf()), and the data modules (now in sounderpy.data).
  • spy.smooth_profile() defaults to the Savitzky-Golay filter (passing sigma alone 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:

https://sounderpy.app/docs/

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

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett 4 days ago

SounderPy - v3.2.0

SounderPy v3.2.0 | Restored RAP/RUC & UW Data Access, New CLI, Plot Improvements, and Major Documentation Updates

SounderPy v3.2.0 is a major update focused on restoring data access, adding new ways to use SounderPy, and improving plotting, packaging, testing, and documentation.

Highlights

Added

  • Fully operational Command Line Interface (CLI) for retrieving, plotting, analyzing, and exporting sounding data.
  • New RAP/RUC GRIB2 retrieval workflow that accesses the grib2 archives from NOAA AWS for modern RAP data and NCEI for historical RAP/RUC data.
  • Expanded automated testing, including live network smoke tests.
  • New and expanded documentation, tutorials, plot gallery, case studies, and clean_data schema documentation, in addition to automated GitHub Pages documentation deployment.
  • Ability to import sounding data from a standardized SHARPPY file.
  • Dots Per Inch (DPI) parameter for sounding and hodograph figures to control resolution

Changed

  • Restored and modernized RAP/RUC analysis access.
  • Improved data-retrieval errors handling and archive fallback behavior.
  • Restored University of Wyoming RAOB access.
  • Moved file output tools to new file_io module
  • Improved packaging and handling of bundled SHARPpy components.

Install

As of 9/3/2026, the v3.2.0 release is pending through PyPi. In the meantime, SounderPy v3.2.0 can be installed directly from GitHub:

pip install https://github.com/kylejgillett/sounderpy/releases/download/v3.2.0/sounderpy-3.2.0-py3-none-any.whl

Once available on PyPI:

pip install --upgrade sounderpy

...or with conda:

conda install conda-forge::sounderpy

Documentation

For full details, examples, tutorials, and API documentation:

https://kylejgillett.github.io/sounderpy/

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett 3 months ago

SounderPy - v3.1.0

The Scoop:

Additions

  1. None

Changed

  1. Changed the logic used to pull RAOB data from UWyo. Now a user may use a 3 or 4 digit ICAO ID, but some 3-digit IDs (the suffixes) are the same so 4 digits are recommended ("KABR" instead of "ABR" because there is also a "PABR")

Bug Fixes

  1. Corrected NEXRAD s3 bucket from "s3://noaa-nexrad-level2" to "s3://unidata-nexrad-level2"
  2. Updated datetime references that used utcnow() to use timezone aware datetime

Removed

  • None

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett about 1 year ago

SounderPy - v3.0.9

SounderPy v.3.0.9 | New features, plot improvements, minor bug fixes

The Scoop:

Additions

  1. Ability to plot single-site WSR-88D radar reflectivity on map inset and toggle between the single-site and CONUS mosaic reflectivity.
  2. Ability to plot a "boundary axis" on the hodograph (using build_sounding() & build_hodograph()) as a simple straight, dashed line. Do so with hodo_boundary which must be set to a dict of two lists: {"angle":[45], "color":['blue']} -- this will plot a blue dashed line at an angle of 45 degrees from north on the hodograph. This is useful for visualizing flow relative to front or boundary.
  3. Ability to merge two profiles together using a weighted average technique along a normalized height axis. To do so, use .merge_profiles(profile_a, profile_b, weight_a)
  4. Ability to smooth a single profile at a time (via simple SciPy gaussian smoother). To do so, use: .smooth_profile(clean_data, sigma)

Changed

  1. Changed the show_radar kwarg to radar in plotting functions (build_sounding(), build_hodograph()). Now, to remove the radar plot, set radar=None. Otherwise use "mosaic" or "single" to use CONUS mosaic reflectivity or single-site WSR-88D reflectivity, respectively.

Bug Fixes

  1. Updated colors and alphas of various aspects of the full_sounding() for better readability when using dark mode
  2. Created a new function to handle converting storm motion u & v to cardinal direction strings to replace existing MetPy function that sometimes results in "UND".
  3. Cleaned up documentation and overall repo structure
  4. Updated LICENSE to include SHARPpy reference

Removed

  • None

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett over 1 year ago

SounderPy - v3.0.8

SounderPy v.3.0.8 | Minor bug fixes

image

The Scoop:

Additions

  1. None

Changed

  1. None

Bug Fixes

  1. Corrected a bug when performing downdraft CAPE/CIN/profile calculations on ACARS profiles as discussed in #36. The calculations fail when there is insufficient data (700hPa-500hPa) on shorter ACARS profiles. As such, the calculations are now simply bypassed if the data is insufficient.
  2. Adjusted the warnings associated with the DCAPE/DCIN calculations to communicate the issue described above.

Removed

  • None

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett almost 2 years ago

SounderPy - v3.0.7

SounderPy v.3.0.7 | Stepwise CAPE & CIN plot, CM1 height logic corrections, fixed PWAT formatting bug

Example of new plot:
image

The Scoop:

Additions

  1. Added stepwise CAPE and CIN plot presented by @rvanasa in #33, #34, & #35

Changed

  1. None

Bug Fixes

  1. Corrected height logic for CM1 processes in .to_file() and .make_cm1_profile(), added convert_to_AGL param to .to_file() (defaults to True)
  2. Corrected stupid PWAT text formatting issue on full sounding plots when plotting CM1 data -- why that was a thing, I have no idea

Removed

  • none

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett almost 2 years ago

SounderPy - v3.0.6

SounderPy v.3.0.6 | CM1 and WRF data processing, minor bug fixes, SounderPy Cookbook

The Scoop:

Additions

  1. Added wrf_utils.py module & make_wrf_profile() function to process WRF output into SounderPy format
  2. Added cm1_utils.py module & make_cm1_profile() function to process CM1 input_sounding files into SounderPy format
  3. Updated docs to include the Beginner's SounderPy Cookbook

Changed

  1. Removed beta Barnes-style interpolation function for modify_sfc(). Will rework this in future releases.
  2. Cleaned up a few components of the docs

Bug Fixes

  1. Introduced pressure units check for RAP/RUC data
  2. Made a correction to the to_file() function to properly output sfc values and above hgt-above-sfc values into CM1 format

Removed

  • none

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett almost 2 years ago

SounderPy - v3.0.5

SounderPy v.3.0.5 | CDSAPI Beta Transition; Plot Improvements; Minor bug fixes.

The Scoop:

Additions

  1. New text box encompassing 0-3km and 0-6km SRH & BWD, STP, SCP, 0-1 & 0-3km EHI
  2. Omega (vertical velocity) plots for model data
  3. New DCAPE (& DCIN) calculation
  4. clean_data dictionaries now include a titles sub-dictionary that contains pre-made dynamic plot titles based on the data. This allows users to edit the titles if they wish, and it makes implementing custom data sources easier.
  5. Surface wind speed and direction modification via modify_sfc
  6. Created the kwarg clean_it for all "get_ _data()" functions. If False, the function returns the raw data file that SounderPy loads without any cleaning.

Changed

  1. The modify_sfc kwarg must now be of type dict instead of list. This allows users to modify surface temperature, dewpoint, wind speed, wind direction or any combination of the four. Ex: modify_sfc={'T':30, 'ws':15}
  2. Changed (corrected) to_file() CM1 output to include surface pressure, potential temperature and mixing ratio. Corrected mixing ratio units.
  3. Refactored 'sounderpy/src/sounderpy'. Now, code for each data type retrieval is stored in separate modules (acars_data.py, etc.). Introduced a utils.py module for 'helper' functions
  4. Increased required version number of the cdsapi package

Bug Fixes

  1. Introduced a function to check for, and correct, erroneous height data in University of Wyoming observed profiles
  2. Updated/corrected ERA5 access for new CDS API Beta

Removed

simple_sounding() has been deprecated

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett about 2 years ago

SounderPy - v3.0.4

SounderPy v3.0.4 | Plot improvements and minor bug fixes to v3.0.3

example-sounding_light

The Scoop:

Additions

  1. Wetbulb-0C hgt annotation and value readout
  2. Map inset with sounding location and MRMS mosaic radar data (when available)
  3. Effective Inflow Layer Kinematic values readout
  4. Most Unstable Max Parcel Level annotation
  5. Published the radar hodograph plot function
  6. Added a 'user modified surface' tool, allowing users to modify the surface temperature and dewpoint of a profile -- ex: kwarg modify_sfc=[24.3, 20.1] when using build_sounding()

Changed

  1. Improved readability of hodograph hgt markers
  2. Slightly adjusted some colors of readout values for improved readability
  3. Relaxed matplotlib upper version bound

Bug Fixes

  1. Implemented a fix for BUFKIT stations with names such as 'p#3' so URLs to the data won't fail
  2. Corrected BUFKIT forecast hour mismatch for NAM and GFS data
  3. Corrected the name mismatch for BUFKIT NAM3km and NAMNEST
  4. Corrected some calculation errors / improved calculations in the 'radar profile calc' class.

Removed

None, but simple_sounding() will be deprecated in a future release

Full Changelog: https://github.com/kylejgillett/sounderpy/compare/v3.0.3...v3.0.4

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett over 2 years ago

SounderPy - SounderPy v3.0.3

SounderPy v3.0.3 | Minor bug fixes to v3.0.2

The Scoop:

Additions

  1. Add gitignore, remove binary stuff from repo by @akrherz in https://github.com/kylejgillett/sounderpy/pull/21

Changed

  1. None.

Bug Fixes

  1. Plot failure when plotting custom storm motions with ACARS profiles without enough data to calculate Bunkers Storm motions. Fixed, changed a parameter to sm_u instead of rm_u.
  2. Hodograph plot mixed-layer variable set to most-unstable variables. Fixed, switched MU variables to ML variables.

Removed

None

New Contributors

Full Changelog: https://github.com/kylejgillett/sounderpy/compare/v3.0.2...v3.0.3

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett over 2 years ago

SounderPy - SounderPy v3.0.2

SounderPy v3.0.2 | "The Parcel Update"

example-sounding_dark

The Scoop:

Additions

  1. ecape-parcel-py specialized parcel calculation and plotting logic
  2. Relative humidity w/ height annotations on 'full' sounding plot
  3. 6-9km kinematic parameters added to the 'kinematics' parameter print-out box on 'full' sounding and hodograph plots
  4. User-defined and custom storm motion support using the kwarg storm_motion
  5. Accept Matplotlib colormaps for composite-sounding plots using the cmap kwarg
  6. VAD hodograph plot function and data retrieval function added, but dependency issues exist -- full release of these features will be delayed.

Changed

  1. Composite-sounding plots now default to matplotlib colormap 'viridis' instead of a hard-coded list of colors. Users can still use the color_to_use kwarg or the new cmap kwarg to override the colors used.
  2. The thermodynamics section of the 'full' sounding plot was rearranged. 'SR-ECAPE' (SB, MU & ML) replaced the 'NCAPE' section.
  3. Storm motion logic was reworked in the .calc module to use 'sm_u'/'sm_v' instead of 'rm_u'/'rm_v' so that all calculations and plotting responds to user-defined storm motion.
  4. Some aspects of the skew-t plot layout were adjusted for improved readability. DGZ, HGZ, Max-lapse rate, and EIL annotations are now located on the left of the plot.

Bug Fixes

  1. Band-aid-ed missing BUFKIT dewpoints so parcel calculations stop failing on BUFKIT forecast model data
  2. Fixed ERA5 data parsing issue

Removed

None

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett over 2 years ago

SounderPy - SounderPy 3.0.1

Introducing SounderPy v3.0.1

A primarily bug-fix release for v3.0.0 with a few additions for improved functionality of existing tools.

The Scoop:

Additions

  1. First implementation of VAD Hodograph plot function that plots NEXRAD VWP VAD data on a hodograph: build_vad_hodograph(). Currently still in development. This tool will not yet be fully included in v3.0.1, but likely will be in the next release.
  2. Ability to target specific RAP-RUC datasets when using get_model_data() using the dataset kwarg.
  3. Ability to determine a 'box average' size when using get_model_data() using the box_avg_size kwarg. See the Changed section for more info.

Changed

  1. Model reanalysis data now uses an 'area-average' or 'box-sounding' approach to build a vertical profile of reanalysis data. I.e., by default, a user must pass a lat/lon point to get_model_data(), SounderPy will extract data for a 0.1x0.1 degree box and average the data together to build an averaged-point profile. Users may declare a desired box size using the box_avg_size kwarg.

Bug Fixes

  1. Corrected EIL-SRH plot on hodographs
  2. Corrected 0-1km Streamwise Vorticity value on sounding and hodograph plots
  3. Improved Freezing-Point calculation using interpolation scheme.
  4. Corrected last-forecast-hour BUFKIT data retrieval issue and created an error message for when an invalid forecast hour is requested.
  5. Corrected RAOB site ID issue -- users can now request data using a WMO ID or ICAO ID.

Removed

None

Looking ahead to the future

  1. IN THE WORKS: New ECAPE operations, allowing for the plotting of different ECAPE parcel traces and user-specified parcel-types
  2. VAD VWP Hodograph plots.

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett almost 3 years ago

SounderPy - SounderPy v3.0.0

Introducing SounderPy v3.0.0 (Pre-Release)

Summary

Version 3.0.0 of SounderPy brings exciting to features and improvements to existing functionality. This release will provide users with enhanced plotting capabilities, improved user-interface, and cleaner code overall.

Some major upgrades include... a number of new and improved plotting tools that create one-of-a-kind sounding and hodograph plots, new parameter calculations utilizing Sharrpy functionality and a new documentation site.

The Scoop:

Additions

  1. New plot creation abilities using the new build_sounding() and build_hodograph() functions.
  2. Composite sounding plots using the new build_composite() function. This will allow users to analyze several profiles at once.
  3. A 'Dark Mode' setting for sounding, hodograph, and composite plots.
  4. A color-blind friendly setting for sounding plots that turns the green dewpoint trace to blue.
  5. Redesigned package structure, including the base sounderpy.py module, a calc.py module, and a plot.py module.
  6. A new stand-alone documentation site that offers clear, easy-to-find documentation for SounderPy's funtionality. Available, under construction, here.
  7. A print out of general thermodynamic and kinematic parameters of a given profile to the console when data is retrieved by SounderPy.

Changed

  1. Functions build_sounding() and build_hodograph() replace metpy_sounding() and metpy_hodograph()
  2. get_model_data() keyword argument method changed to model
  3. Some warnings were changed to exceptions and other warnings were made more concise to address specific issues and improve the code's user-interface.
  4. Computed thermodynamic and kinematic properties of a profile were changed to the widely accepted Sharppy calculation methods. This allows for increased reliability in functioning calculations and for more parameters that can be included in plots. SounderPy now directly uses the Sharrpy package for calculations of profile properties.

Bug Fixes

  1. Minor bugs were addressed throughout the code. Some of these include...
    • The NWS-hosted METAR site list was removed from its online location a couple months ago. SounderPy now has its only METAR site list for finding METAR lat/lon sites.
    • Some data retrieval functions would only like station ID's in upper-case ('APX'), this bug was fixed so lines like the following will be accepted: spy.get_obs_data('apx', '2022', '05', '20', '18')

Examples of new plots available with SounderPy functionality:

New Full Sounding Plot:

example-sounding_light

New Composite Sounding Plot using 'Dark Mode'

example-composite_dark

New Hodograph Plot in 'Dark Mode'

example-hodograph_dark

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett almost 3 years ago

SounderPy - SounderPy 2.0.6

SounderPy v2.0.6 will feature a few bug fixes to the plotting functions from v2.0.5.

Fixed

  • Erroneous dewpoint data from the NCEP-FNL and BUFKIT archived forecasts have been removed. I.e., bad data (considered less than -130C in this case) are set to nans to improve calculations. This is considered a 'test' and may be slightly modified in later updates.
  • MetPy CAPE/CIN calculations were changed from MetPy's surface_based_cape_cin() to MetPy's cape_cin() which seems to both perform better and handle possibly erroneous data better. This was done for SB, ML & MU CAPE/CIN.
  • An improved way to set the temperature axis bounds was created to ensure that the profile plots somewhat in the 'middle' of the skew-t for the best possible readability.

An example of the dewpoint corrections with correct MetPy CAPE/CIN calculations:

yayyyy

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett about 3 years ago

SounderPy - SounderPy 2.0.6

SounderPy v2.0.6 will feature a few bug fixes to the plotting functions from v2.0.5.

Fixed

  • Erroneous dewpoint data from the NCEP-FNL and BUFKIT archived forecasts have been removed. I.e., bad data (considered less than -130C in this case) are set to nans to improve calculations.
  • MetPy CAPE/CIN calculations were changed from MetPy's surface_based_cape_cin() to MetPy's cape_cin() which seems to both perform better and handle possibly erroneous data better. This was done for SB, ML & MU CAPE/CIN.
  • An improved way to set the temperature axis bounds was created to ensure that the profile plots somewhat in the 'middle' of the skew-t for the best possible readability.

An example of the dewpoint corrections with correct MetPy CAPE/CIN calculations:

yayyyy

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett about 3 years ago

SounderPy - SounderPy 2.0.5

ANNOUNCING SOUNDERPY VERSION 2.0.5!

SounderPy v2.0.5 will feature a number of new tools, improvements to existing functionality, and a few bug fixes from v2.0.4.

LATEST VERSION: v2.0.5 | RELEASED: September 29, 2023 | COPYRIGHT Kyle J Gillett, 2023

VISIT SOUNDERPY DOCUMENTATION HERE

CHANGELOG:

New Features

  • Access to Aircraft Communications, Addressing and Reporting System (ACARS) vertical profile data with acars_data()
    • Listing recent profiles for a given date and time: acars_data(year, month, day, hour).list_profiles()
    • Getting a profile after using .list_profiles: acars_data(year, month, day, hour).get_profile(profile)
  • NCEP FNL 0.25deg Gridded Reanalysis Dataset using the get_model_data() function by setting the method kwarg to 'ncep'.
  • Ability to output SounderPy data to a SHARPPY input file.

Changed

  • Finding station lat-lon data is now condensed into a single function: get_latlon(station_type, station_id) where station_type can be buoy, raob, igra, metar, or bufkit.
    • This change depreciates the following functions: buoy_latlon(), metar_latlon(), raob_latlon(), igra_latlon(), metar_latlon() and bufkit_latlon().
  • Outputting data to a file is now condensed into a single function: to_file(file_type, filename), where file_type can be csv, cm1, or sharppy.
    • This change depreciates the following functions: to_csv() and to_cm1.
  • MetPy sounding and hodograph plots are now more advanced.

Fixed

  • Improved Docs
  • Corrected Bufkit data output lat-lon data

EXAMPLE PLOTS:

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett about 3 years ago

SounderPy - SounderPy 2.0.4

Release number 2 of SounderPy!

  • NOTE: this version of SounderPy is 2.0.4

sounderpyv204_release

New Features

  • IGRAv2 Archive Access via get_obs_data() -- just specify an IRGA station ID for the kwarg station!
  • Most-recent RAP analysis data access via get_model_data() -- specify the method kwarg as 'rap-now'
  • Most-recent & archive BUFKIT data access via get_bufkit_data() -- GFS, NAM, NAMNEST, RAP, HRRR, SREF, & HIRESW data
  • Ability to find a lat/lon pair of a US buoy/CMAN site -- buoy_latlon('site-id')
  • Ability to find a lot/lon pair for a IGRA site -- igra_latlon('site-id')
  • Ability to save plots to a file -- metpy_sounding(clean_data, 'save')
  • Ability to save parsed data as a csv -- to_csv(clean_data)
  • Ability to save parsed data to CM1 input file -- to_cm1(clean_data)
  • Ability to plot profile data on a MetPy Hodograph! metpy_hodograph(clean_data, 'show')
  • GitHub Wiki Documentation

Changed

  • metpy_sounding() function now offers two rendering options, a user can specify kwarg method as 'show' to display the plot inline, or as 'save' to save the plot as a .png image. If 'save' is chosen, the kwarg filename can be set to a user-specified file location and name.
    • Example: metpy_sounding(clean_data, 'save', '/your-file-path/your-file-name')
  • all clean_data dicts now include the key site-info which include site information, model/data information and time information.

Fixed

  • Improved Docs
  • Made minor corrections to get_docs() function
  • Added CHANGLOG.md
  • fixed requirements.txt, thus allowing dependencies to automatically load upon installing SounderPy

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett over 3 years ago

SounderPy - SounderPy 1.0.0

SounderPy is finally here!

Start using this package by using pip install sounderpy.

Check out the documentation at: https://github.com/kylejgillett/sounderpy/blob/main/DOCUMENTATION.md

Full Changelog: https://github.com/kylejgillett/sounderpy/commits/v1.0.0

Atmosphere - Atmospheric Composition and Dynamics - Python
Published by kylejgillett over 3 years ago