calc_air_pressure: Calculates the average air pressure for a site

View source: R/calc_air_pressure.R

calc_air_pressureR Documentation

Calculates the average air pressure for a site

Description

Estimates air pressure from air temperature and elevation

Usage

calc_air_pressure(
  temp.air = u(15, "degC"),
  elevation = u(762, "m"),
  attach.units = deprecated()
)

Arguments

temp.air

air temperature in degrees C. Default is 15 degC.

elevation

the site elevation above sea level in m. Default is the rough mean elevation of the USA at 2500 ft (from http://www.infoplease.com/ipa/A0001792.html)

attach.units

(deprecated, effectively FALSE in future) logical. Should the returned vector be a unitted object?

Value

a numeric vector of barometric pressures in mb, with units attached if requested.

Examples

calc_air_pressure(15, 762)
calc_air_pressure(15, 100)

USGS-R/streamMetabolizer documentation built on Aug. 15, 2023, 7:50 a.m.