From 10da4cb743dbc87689bed75d1d5607cc99dd1b71 Mon Sep 17 00:00:00 2001 From: Delaigue Olivier <olivier.delaigue@irstea.priv> Date: Tue, 28 Aug 2018 14:47:16 +0200 Subject: [PATCH] v1.0.12.2 PEdaily_Oudin ndoc updated --- DESCRIPTION | 2 +- NEWS.rmd | 11 +++-------- man/PEdaily_Oudin.Rd | 17 +++++++++++------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 372bd31a..85bdfdd8 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.0.12.1 +Version: 1.0.12.2 Date: 2018-08-28 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 351ad22b..8e2801f6 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -14,14 +14,7 @@ output: -### 1.0.12.0 Release Notes (2018-08-28) - -#### Major user-visible changes - -- <code>Calibration_Michel()</code> is now faster during the grid-screening step when a parameter is set using <code>FixedParam</code> in <code>CreateCalibOptions</code>. - - -### 1.0.11.0 Release Notes (2018-07-18) +### 1.0.12.2 Release Notes (2018-08-28) #### Deprectated and defunct @@ -33,6 +26,8 @@ output: - <code>PEdaily_Oudin()</code> now presents a <code>LatUnit</code> argument which allows to chose the unit of the latitude between radians and degrees. +- <code>Calibration_Michel()</code> is now faster during the grid-screening step when a parameter is set using <code>FixedParam</code> in <code>CreateCalibOptions</code>. + #### Minor user-visible changes diff --git a/man/PEdaily_Oudin.Rd b/man/PEdaily_Oudin.Rd index 4ae4089c..4f526519 100644 --- a/man/PEdaily_Oudin.Rd +++ b/man/PEdaily_Oudin.Rd @@ -9,7 +9,7 @@ \usage{ -PEdaily_Oudin(JD, Temp, LatRad) +PEdaily_Oudin(JD, Temp, Lat, LatRad, LatUnit) } @@ -18,7 +18,11 @@ PEdaily_Oudin(JD, Temp, LatRad) \item{Temp}{[numeric] time series of daily mean air temperature [°C]} -\item{LatRad}{[numeric] latitude of measurement for the temperature series [rad]} +\item{Lat}{[numeric] latitude of measurement for the temperature series [radian or degrees]} + +\item{LatRad}{(deprecated)[numeric] latitude of measurement for the temperature series [rad]. Please use \code{Lat} instead} + +\item{LatUnit}{[character] latitude unit (default = \code{"rad"} or \code{"deg"})), default = \code{"all"}} } @@ -33,14 +37,15 @@ Function which computes daily PE using the formula from Oudin et al. (2005). \examples{ - library(airGR) - data(L0123001) - PotEvap <- PEdaily_Oudin(JD = as.POSIXlt(BasinObs$DatesR)$yday, Temp = BasinObs$T, LatRad = 0.8) +library(airGR) +data(L0123001) +PotEvap <- PEdaily_Oudin(JD = as.POSIXlt(BasinObs$DatesR)$yday, Temp = BasinObs$T, + Lat = 0.8, LatUnit = "rad") } \author{ -Laurent Coron, Ludovic Oudin +Laurent Coron, Ludovic Oudin, Olivier Delaigue } -- GitLab