MetPy
MetPy copied to clipboard
MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data.
#### Description Of Changes This PR adds a function to find local maximum and minimum using the `spicy.ndimage.maximum_filter` and `spicy.ndimage.minimum_filter` and a separate function to easily plot extrema on a...
`scipy.spatial` has some compiled/optimized [distance calculations](https://docs.scipy.org/doc/scipy/reference/spatial.distance.html). It seems like we should be able to make some gains by using these instead of our hand-rolled, pure-Python versions.
Add parsing of TTAA/TTBB messages. This will facilitate replacing the netcdf-perl decoders TDS uses for the (unhosted) upper air netcdf files.
### What went wrong? In Python 3.12 the `datetime.utcnow()` functionality is removed. The solution is to move to timezone aware datetime objects with ```python import datetime as datetime, UTC date...
Added `ring_labels` and `grid_ticks` parameters to the `add_grid` function in the `Hodograph` class. This enhancement enables the customization of wind speed labels/ticks and grid ticks on the hodograph. #### Checklist...
### What went wrong? I installed metpy recently on a Windows system Installed via conda first, then used pip to cross-check. Both the ways, it shows no issues while installation....
The Magnus type formula used fopr the calculation of saturation vapor pressure (thermo.py, line 771) return sat_pressure_0c * np.exp(17.67 * (temperature - 273.15 * units.kelvin) / (temperature - 29.65 *...
#### Description Of Changes This PR updates `thickness_hydrostatic` and `thickness_hydrostatic_from_relative_humidity` to return the full atmospheric profile through an additional parameter `full_profile`. A test is added, but let me know if...
#### Description Of Changes This request adds lapse rate options for the moist_lapse function in MetPy. Currently moist_lapse calculates a moist adiabat by integrating the moist adiabatic lapse rate defined...
### What should we add? Many of our datasets in earth systems science have dimensions in x, y, z, and t. While this makes for easy multi-dimensional analysis, it does...