v3.0.5
SounderPy v.3.0.5 | CDSAPI Beta Transition; Plot Improvements; Minor bug fixes.
The Scoop:
Additions
- New text box encompassing 0-3km and 0-6km SRH & BWD, STP, SCP, 0-1 & 0-3km EHI
- Omega (vertical velocity) plots for model data
- New DCAPE (& DCIN) calculation
clean_data
dictionaries now include atitles
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.- Surface wind speed and direction modification via
modify_sfc
- Created the kwarg
clean_it
for all "get_ _data()" functions. IfFalse
, the function returns the raw data file that SounderPy loads without any cleaning.
Changed
- The
modify_sfc
kwarg must now be of typedict
instead oflist
. 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}
- Changed (corrected)
to_file()
CM1 output to include surface pressure, potential temperature and mixing ratio. Corrected mixing ratio units. - Refactored 'sounderpy/src/sounderpy'. Now, code for each data type retrieval is stored in separate modules (
acars_data.py
, etc.). Introduced autils.py
module for 'helper' functions - Increased required version number of the
cdsapi
package
Bug Fixes
- Introduced a function to check for, and correct, erroneous height data in University of Wyoming observed profiles
- Updated/corrected ERA5 access for new CDS API Beta
Removed
simple_sounding()
has been deprecated