Skip to content

Commit 09299e5

Browse files
committed
minor fix
1 parent 6d74e54 commit 09299e5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

modules/data.atmosphere/R/metutils.R

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ get.vpd <- function(rh, temp) {
9494
#' Allen et al. (1998) FAO-56.
9595
#' Goff & Gratch (1946) Trans. ASHVE 52:95–122.
9696
#'
97+
#' @author David LeBauer
9798
#' @export
9899
sat_vapor_pressure <- function(
99100
temp,
@@ -135,7 +136,10 @@ sat_vapor_pressure <- function(
135136
return(units::ud_convert(es_hPa, "hPa", out_units))
136137
}
137138

138-
PEcAn.logger::logger.severe("Unhandled method: ", method)
139+
PEcAn.logger::logger.severe(
140+
method,
141+
"for converting temperature to saturated vapor pressure not supported"
142+
)
139143
}
140144

141145
# ---- Aliases for backward-compatibility ----

0 commit comments

Comments
 (0)