Post · 1 min read· p. 39

WELMEC standarised gravity formula

ahrs.utils.wgs84.welmec_gravity(lat: float, h: float = 0.0) → float : Reference normal gravity of WELMEC’s gravity zone

code
Gravity zones are implemented by European States on their territories for
weighing instruments that are sensitive to variations of gravity
[[Sec23](/u/fab8b0a9fec670cf#id82)].

Manufacturers may adjust their instruments using the reference gravity
formula:

g=9.780318(1+0.0053024sin⁡2(ϕ)−0.0000058sin⁡2(2ϕ))−0.000003085h\mathrm{g} = 9.780318(1 + 0.0053024\sin^2(\phi) - 0.0000058\sin^2(2\phi)) - 0.000003085h
where ϕ\phi is the geographical latitude and hh is the height above sea level in meters. Parameters: : - **lat** (*float*) – Geographical Latitude, in decimal degrees. - **h** (*float, default: 0.0*) – Mean sea level height, in meters. Returns: : **g** – Normal gravity at given point in space, in m/s^2. Return type: : float Examples ```default

ahrs.utils.welmec_gravity(52.3, 80.0) # latitude = 52.3°, height = 80 m 9.812483709897048 ```