Closed justin4046 closed 5 months ago
See recent commits if you're curious about the changes i made to this PR.
Thanks. This was my source for station pressure. https://www.weather.gov/media/epz/wxcalc/stationPressure.pdf Probably an unnecessary inhg conversion
Think you took the inverse of the exponent from wikipedia. And that exponent is a bit off on wikipedia for some reason. And getting rid of conversions helps of course :)
I'm getting the formula a bit more precise, not that it matters. Just wanted to also provide a reference as to which formula was used.
Your formula was off by 2ft at 10k ft and 6 ft at 40k ft. Which is obviously irrelevant but wanted to check the code vs this reference: https://www.weather.gov/media/epz/wxcalc/pressureAltitude.pdf