MetPy icon indicating copy to clipboard operation
MetPy copied to clipboard

Add non-weighted pressure-based mean function

Open dopplershift opened this issue 2 years ago • 0 comments

While we have mean_pressure_weighted, we should add a corresponding integral-based mean calculation to go along with it. For instance, something like bunkers_storm_motion should probably be using that instead of numpy.mean, since the latter would be biased by uneven sampling of levels in a vertical profile. It should be as simple as taking mean_pressure_weighted and ripping out the weighting (and adjusting the denominator to p[0] - p[-1]).

Not sure what to call it...mean_vertical? vertical_mean? mean_non_weighted?

dopplershift avatar Sep 09 '21 19:09 dopplershift