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