diff --git a/DESCRIPTION b/DESCRIPTION index a18cad10d4e944ddcdda41a65ba49a64b2b636ba..13771a3c3417a794fe1a5825c0b7530a259bcecb 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.1.2.3 +Version: 1.1.2.34 Date: 2019-01-29 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), diff --git a/NEWS.rmd b/NEWS.rmd index c051d8f7c2188e96fe0b93806151a7bd068aa2a8..fed2097923740b12aac35e5506d351bb38ac584b 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -13,7 +13,7 @@ output: -### 1.1.2.33 Release Notes (2019-01-29) +### 1.1.2.34 Release Notes (2019-01-29) diff --git a/man/PEdaily_Oudin.Rd b/man/PEdaily_Oudin.Rd index 3a07f303cd1dc7e1a880ee8a019c4aa836520cee..67a6c9d40d63e7a6254b9e10f0af5cabb6e8602b 100644 --- a/man/PEdaily_Oudin.Rd +++ b/man/PEdaily_Oudin.Rd @@ -14,7 +14,7 @@ PEdaily_Oudin(JD, Temp, LatRad, Lat, LatUnit) \arguments{ -\item{JD}{[numeric] time series of julian day [-]} +\item{JD}{[numeric] time series of Julian day of the year [-]; see details below} \item{Temp}{[numeric] time series of daily mean air temperature [°C]} @@ -35,11 +35,15 @@ PEdaily_Oudin(JD, Temp, LatRad, Lat, LatUnit) Function which computes daily PE using the formula from Oudin et al. (2005). } +\details{ +In the \code{JD} argument, the Julian day of the year of the 1st of January is equal to 1 and the 31st of December to 365 (366 in leap years)). If the Julian day of the year is computed on an object of the \code{POSIXlt} class, the user has to add 1 to the returned value (e.g. \code{as.POSIXlt(\"2016-12-31\")$yday + 1}). +} \examples{ library(airGR) data(L0123001) -PotEvap <- PEdaily_Oudin(JD = as.POSIXlt(BasinObs$DatesR)$yday, Temp = BasinObs$T, +PotEvap <- PEdaily_Oudin(JD = as.POSIXlt(BasinObs$DatesR)$yday + 1, + Temp = BasinObs$T, Lat = 0.8, LatUnit = "rad") }