Converts pressure readings from vented or unvented water-level sensors to water height in meters.
Arguments
- sensor_kPa
Numeric vector. Sensor pressure in kilopascals. For
type = "vented", this is differential pressure from the water column. Fortype = "unvented", this is absolute pressure.- atmo_kPa
Numeric vector. Atmospheric pressure in kilopascals. Required when
type = "unvented".- water_temp
Numeric vector. Water temperature in degrees Celsius.
- type
Character string. Sensor type, either
"vented"or"unvented". Defaults to"vented".
Details
The pressure difference is divided by water density and gravitational
acceleration. Water density is calculated with calc_water_density().
References
Kell, G. S. (1975). Density, thermal expansivity, and compressibility of liquid water from 0° to 150°C: Correlations and tables for atmospheric pressure and saturation reviewed and expressed on 1968 temperature scale. Journal of Chemical and Engineering Data, 20(1), 97-105. doi:10.1021/je60064a005