Learn R Programming

LakeMetabolizer (version 1.5.5)

sw.to.par: Convert shortwave radiation to PAR

Description

Returns PAR by converting incoming shortwave radiation measuremt.

Usage

sw.to.par(data, sw.col='sw', coeff=2.114)

sw.to.par.base(sw, coeff=2.114)

Value

#For sw.to.par

Object of class data.frame with column name 'par' and other values from ts.data

#for sw.to.par.base

Numeric vector of PAR values in units umol/m^2/sec

Arguments

data

Object of class data.frame with column name sw (or specified alternate)

sw.col

Name of column containing shortwave data (units must be W/m^2)

coeff

Numerical coefficient to convert SW (W/m^2) to PAR (umol/m^2/sec). Defaults to value from Britton and Dodd (1976).

sw

Numeric shortwave value in W/m^2

Author

Luke Winslow and others

References

Britton, C. M., and J. D. Dodd. Relationships of photosynthetically active radiation and shortwave irradiance. Agricultural Meteorology 17, no. 1 (1976): 1-7.

See Also

par.to.sw

Examples

Run this code
#For base function
sw <- 800
sw.to.par.base(sw)

Run the code above in your browser using DataLab