Summarize hourly temperature at each site. This function might be used when stations record more than one observation per hour.

summarize_hourly_temp(x, time, temp, lat, lon)

Arguments

x

a data.frame, data.table, sf or sftime

time

the column name for the time

temp

the column name for the temperature

lat

the column name for the latitude

lon

the column name for the longitude

Value

a data.frame of hourly average of temperature at each site

Author

Eva Marques