hourly_RH | R Documentation |
This function estimates the hourly relative humidity (RH), using daily temperature and humidity data. Hourly humidity is estimated with the formula proposed by Waichler and Wigmosta (2003) which require maximum and minimum values of daily temperature and relative humidity.
hourly_RH(climdata, lat)
climdata |
a dataframe with daily temperatures and RH for each day in a series. Must contain the columns Year, Month, Day, Tmax, Tmin, RHmax (daily maximum relative humidity) and RHmin (minimum daily relative humidity). |
lat |
the latitude of the site, in decimal degrees. |
dataframe with columns Date, Year, Month, Day, DOY, Hour, Temp and RH
Carlos Miranda, carlos.miranda@unavarra.es
Waichler SR and Wigmosta MS, 2003. Development of hourly meteorological values from daily data and significance to hydrological modeling at H.J. Andrews experimental forest. Journal of Hydrometeorology 4, 251-263.
# Generate hourly relative humidity library(magrittr) library(dplyr) library(lubridate) Weather <- Tudela_DW %>% filter (Tudela_DW$Year==2003) Tudela_HRH <- hourly_RH(Weather, 42.13132)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.