python-training icon indicating copy to clipboard operation
python-training copied to clipboard

Update MetPy Case Study to use MetPy v1.0 API and features

Open jthielen opened this issue 3 years ago • 1 comments

As revealed by this StackOverflow question the MetPy Case Study workshop notebook uses out-of-date API for mpcalc.advection (like https://github.com/Unidata/python-training/issues/125), but also has a now-horrifying amount of boiler-plate code for things cleaned up with xarray handling in v1.0. So, I think this notebook could use a good update or overhaul!

xref (for other updates I could find in issue tracker): https://github.com/Unidata/python-training/issues/44, https://github.com/Unidata/python-training/issues/81

jthielen avatar Feb 07 '22 20:02 jthielen

I also found this to be the case (at least with regards to using the outdated Metpy Calc API) in the Frontogenesis example https://unidata.github.io/python-training/gallery/850hpa_frontogenesis/

jsillin avatar Feb 10 '22 12:02 jsillin