pressure2qnh

Correcting station pressure to qnh


Keywords
pressure, qnh, Raspberry, Pi, kanutsanun, bouking
License
MIT
Install
pip install pressure2qnh==0.0.2

Documentation

pressure2qnh version 1.0.0

Correcting atmospheric pressure at station to find QNH

Installation

Use the package manager pip to install pressure2qnh.

pip install pressure2qnh

Solution for numpy error in Raspberry pi

ERROR: libf77blas.so.3: cannot open shared object file: No such file or directory

SOLVE:
sudo apt-get install libatlas-base-dev
or
pip3 uninstall numpy  # remove previously installed version
apt install python3-numpy

Usage

from pressure2qnh import CorrectPressure
"""Temperature_sensor = degree celsiue
Pressure_sensor = hPa(mbar)
Latitude = decimal
station_height = meters"""
obj = CorrectPressure(Temperature_sensor=29.0, Pressure_sensor=1013.8,
        Latitude=10.72, station_height=13.657)
qnh = obj.cal_qnh()

License

MIT

... ...
email kanutsanun.b@gmail.com
Build README https://dillinger.io/