Unidata / MetPy

MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data.
https://unidata.github.io/MetPy/
BSD 3-Clause "New" or "Revised" License
1.24k stars 413 forks source link

Calculate altimiter values from station pressure? #3369

Open nitrogen76 opened 8 months ago

nitrogen76 commented 8 months ago

What should we add?

It would be nice (unless I can't figure out how to do this with existing code, which is absolutely a posibility also) to be able to calculate altimeter values from station pressure (and of course height), as well as sea level pressure from station pressure (and temp and height)

I see we have the reverse for both, but it'd be nice to be able to convert the opposite.

Reference

Formula I currently use to do this in other code is this: https://www.weather.gov/media/epz/wxcalc/stationPressure.pdf

But would be nice if I could do it in other code with metpy as well

sgdecker commented 8 months ago

2586 is related to this.

dopplershift commented 7 months ago

We're probably not going to get to this for awhile, but would be happy to see someone tackle this, it should be straightforward. It doesn't look like the above PDF matches anything we do internally, so it would be good to track down a proper scholarly source for that if it's the best way to proceed.