Calibration of citizen weather station with regard to a reference network

calib_cws(x, ref, max_dist = 10000)

Arguments

x

sf (or inherited) object with citizen weather stations to calibrate with columns site_id and geometry

ref

sf (or inherited) object with reference weather stations with columns site_id and geometry

max_dist

the maximum distance in meters to consider a station as a reference (default = 10000)

Value

a list with the calibrated observations, the average bias, the number of reference stations used to compute the bias, and the start and end time of the observations.