sea_level_pressure_from_barometric: Barometric/Sea-level pressure conversion

Description Usage Arguments Value Examples

View source: R/science.R

Description

Formula from https://en.wikipedia.org/wiki/Atmospheric_pressure.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
sea_level_pressure_from_barometric(
  p,
  h,
  g = 9.80665,
  M = 0.0289644,
  R0 = 8.31447,
  T0 = 288.15
)

barometric_pressure_from_sea_level(
  p0,
  h,
  g = 9.80665,
  M = 0.0289644,
  R0 = 8.31447,
  T0 = 288.15
)

Arguments

p

Measured barometric pressure (can be any pressure unit)

h

Elevation of barometric pressure measurement in meters

g

Accelleration due to gravity in m/s2

M

Molar mass of dry air (kg / mol)

R0

Universal gas constant (mol-Kelvins)

T0

Sea level standard temperature (Kelvins)

p0

Pressure at sea level in (can be any pressure unit)

Value

The corrected pressure in the same unit as p or p0.

Examples

1
2

paleolimbot/bsrto documentation built on Dec. 12, 2021, 5:44 a.m.