Skip to content

Commit

Permalink
bugfix: default climr_downscale(..., which_normal = "auto")
Browse files Browse the repository at this point in the history
  • Loading branch information
CeresBarros committed Feb 12, 2024
1 parent c44e900 commit e64f0ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/downscale.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#' @template xyz
#' @param which_normal character. Which normal layer to use.
#' Default is "auto", which selects the highest resolution normal for each point.
#' Other options are one of [`list_normal()`]
#' Other options are one of [`list_normal()`].
#' @param historic_period character. Which historic period. Default `NULL`
#' @param historic_ts integer. Vector of historic years requested. Must be in `1902:2015`. Default `NULL`
#' @param gcm_models character. Vector of GCM names. Options are [`list_gcm()`]. Used for gcm periods, gcm timeseries, and historic timeseries. Default `NULL`
Expand Down Expand Up @@ -81,7 +81,7 @@
#' }
#' @rdname downscaling
#' @export
climr_downscale <- function(xyz, which_normal = c("auto", list_normal()), historic_period = NULL, historic_ts = NULL,
climr_downscale <- function(xyz, which_normal = "auto", historic_period = NULL, historic_ts = NULL,
gcm_models = NULL, ssp = list_ssp(),
gcm_period = NULL, gcm_ts_years = NULL, gcm_hist_years = NULL, max_run = 0L, return_normal = TRUE,
vars = sort(sprintf(c("PPT%02d", "Tmax%02d", "Tmin%02d"), sort(rep(1:12, 3)))), cache = TRUE,
Expand Down

0 comments on commit e64f0ca

Please sign in to comment.