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:
where is the geographical latitude and 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
```defaultahrs.utils.welmec_gravity(52.3, 80.0) # latitude = 52.3°, height = 80 m 9.812483709897048 ```