Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

sirad (version 2.0-2)

bccal: Calibrate Bristow-Campbell model

Description

Function estimates Bristow-Campbell model coefficient 'B' based on reference data

Usage

bccal(lat, days, rad_mea, Tmax, Tmin, tal)

Arguments

lat
Latitude in decimal degrees.
days
Vector of class 'Date' of length n.
rad_mea
Vector of length n containing reference (e.g. measured) solar radiation [MJm-2].
Tmax
Vector of length n containing daily maximum temperature [C].
Tmin
Vector of length n containing daily minumum temperature [C].
tal
Clear sky transmissivity.

Value

  • BCbBristow-Campbell 'B' coefficient

Details

Function estimates Bristow-Campbell model coefficient 'B' based on reference (e.g. measured) solar radiation data. It performs a non-linear least squeres regression.

References

Bristow, K.L., and G.S. Campbell. 1984. On the relationship between incoming solar radiation and daily maximum and minimum temperature. Agriculture and Forest Meteorology, 31:159-166.

See Also

'bc', and 'bcauto' to perform auto-calibration

Examples

Run this code
data(Metdata)
tmax <- Metdata$meteo$TEMP_MAX
tmin <- Metdata$meteo$TEMP_MIN
days <- Metdata$meteo$DAY
lat <- Metdata$LATITUDE
rad_mea <- Metdata$meteo$RAD_MEA
bccal(lat,days,rad_mea,tmax,tmin, tal=0.76)

Run the code above in your browser using DataLab