Format observations from raw data downloaded on NOAA website See function load_ghcnh_station.

format_ghcnh(raw)

Arguments

raw

a data.frame, data.table, sf or sftime with the raw observations and columns "Year", "Month", "Day", "Hour", "temperature", "Latitude", "Longitude", "temperature_Source_Code"

Value

sftime from hourly_temp class

Author

Eva Marques