wbgt.Bernard: Calculation of wet bulb globe temperature, following...

View source: R/wbgt.Bernard.R

wbgt.BernardR Documentation

Calculation of wet bulb globe temperature, following Bernard's method.

Description

Calculation of wet bulb globe temperature from air temperature and dew point temperature. This corresponds to the implementation for indoors or shadow conditions.

Usage

wbgt.Bernard(tas, dewp, tolerance = 1e-04, noNAs = TRUE,
  swap = FALSE)

Arguments

tas

vector of air temperature in degC.

dewp

vector of dew point temperature in degC.

tolerance

(optional): tolerance value for the iteration. Default: 1e-4.

noNAs

logical, should NAs be introduced when dewp>tas? If TRUE specify how to deal in those cases (swap argument)

swap

logical, should tas >= dewp be enforced by swapping? Otherwise, dewp is set to tas. This argument is needed when noNAs=T.

Details

Based on Lemke and Kjellstrom 2012, using the formulation from Bernard et al. 1999.

Value

A list of:

$data: wet bulb globe temperature in degC.

$Tpwb: phychrometric wet bulb temperature (Tpwb) in degC.

Author(s)

A.Casanueva, P. Noti, J. Bhend (21.02.2017).

Examples

## Not run:  
# load the meteorological variables for example data in Salamanca:
data("data_obs") 
wbgt.indoors <- wbgt.Bernard(tas=data_obs$tasmean, dewp=data_obs$dewp)

## End(Not run)


anacv/HeatStress documentation built on Aug. 9, 2022, 2:36 p.m.