MetPy
MetPy copied to clipboard
MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data.
in metpy 1.3.1 this runs fine: ```python modelDataArray = xr.open_dataset("winds.grib2", engine="cfgrib").sel(isobaricInhPa=500) uwind = modelDataArray.u uwind = uwind.metpy.quantify() uwind = uwind.metpy.convert_units("m/s") vwind = modelDataArray.v vwind = vwind.metpy.quantify() vwind = vwind.metpy.convert_units("m/s") vortData...
There are some gremlins lurking in `interpolate_to_grid`, at least with this dataset: ```python import metpy.interpolate as minterp from metpy.io import add_station_lat_lon from siphon.simplewebservice.iastate import IAStateUpperAir df = IAStateUpperAir.request_all_data(datetime(1993, 3, 13,...
### What should we add? I wasn't sure if the overloading proposed below was Pythonic, but I see xarray does it frequently (e.g. [date_range](https://docs.xarray.dev/en/stable/generated/xarray.date_range.html)). Here's my specification: 1. All existing...
The current implementation, because it "stamps" the markers along (and tangent to) the path, the barbs/scallops can pull away from the path when it is highly curved, like shown below:...
### What should we add? This came up again in today's telecon, and while I thought we had an issue created for this, I saw that was not the case!...
### What went wrong? I have an `xarray.DataArray` wrapping a dask array. The `DataArray` has attributes including `units`, so I use the `da.metpy.quantify()` accessor method to turn it into a...
### What went wrong? I spent some time looking through open issues and stack overflow to make sure I am doing this correctly, but it appears MetPy 1.4 with Python...
Just documenting some desired enhancements to the GEMPAK io submodule brought up in the original PR, other issues, and side conversations, as well as some ideas I had while working...
### What should we add? The code below contains a fairly subtle bug, and the plot it generates is not the intended plot. (Comment out the "incorrect line" and uncomment...
As pieces for compatibility between Dask, Xarray, and Pint are coming together (e.g., [xarray/#4221](https://github.com/pydata/xarray/pull/4221), [pint/#1129](https://github.com/hgrecco/pint/pull/1129), [pint#1151](https://github.com/hgrecco/pint/pull/1151), https://github.com/dask/dask/pull/6393, among others that I likely missed) we should begin keeping track of progress...