MetPy icon indicating copy to clipboard operation
MetPy copied to clipboard

metpy.calc.boyden_index

Open raybellwaves opened this issue 2 years ago • 1 comments

What should we add?

Add boyden index to https://unidata.github.io/MetPy/latest/api/generated/metpy.calc.html#soundings (https://github.com/Unidata/MetPy/blob/main/src/metpy/calc/thermo.py)

I would like the boyden index to be added to metpy to help me understand the units.

I believe it fits metpy.calc.thermo which is a growing guide of meteorological indices/calculation.

I understand the the calculation is quite simple and therefore may not be worth adding to the API.

Reference

https://resources.eumetrain.org/data/1/15/stability.htm

https://glossary.ametsoc.org/wiki/Boyden_index

Boyden, C. J. 1963. Meteor. Mag.. 92. 198–210.

Boyden Index = Z(700-1000) - T700 - 200

raybellwaves avatar Sep 27 '23 01:09 raybellwaves

I agree that the Boyden Index is in the same vein as existing calculations like Total Totals, K Index, etc., which MetPy does calculate. So it would be worthwhile to include for completeness. But I wouldn't add it to understand the units! In fact. the implementation would need to strip units from the various ingredients to work, similar to what the sweat_index function does.

sgdecker avatar Oct 30 '23 18:10 sgdecker