We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Im needing altitude and sea level pressure parameters. Is there something Im missing?
The text was updated successfully, but these errors were encountered:
It's simple enough to convert one to the other. Check Wikipedia for the formula.
Sorry, something went wrong.
I use this code in my project. Seems to work well
# Station altitude in meters sta_alt = 276.0 # Station pressure to MSL Pressure conversion function # Formula source: https://gist.github.com/cubapp/23dd4e91814a995b8ff06f406679abcf def sta_press_to_mslp(sta_press, temp_c): mslp = sta_press + ((sta_press * 9.80665 * sta_alt)/(287 * (273 + temp_c + (sta_alt/400)))) logging.info(f"{mslp:.2f} hPa MSL") return mslp
No branches or pull requests
Im needing altitude and sea level pressure parameters. Is there something Im missing?
The text was updated successfully, but these errors were encountered: