Skip to content

Commit

Permalink
Force non-overlapping interp in biasCorrection
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedia committed Jun 4, 2020
1 parent 77df282 commit 0c5f1bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/biasCorrection.R
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@ biasCorrectionXD <- function(y, x, newdata,
station <- FALSE
if ("loc" %in% getDim(y)) station <- TRUE
xy <- y$xyCoords
suppressWarnings(suppressMessages(pred <- interpGrid(x, getGrid(y))))
suppressWarnings(suppressMessages(sim <- interpGrid(newdata, getGrid(y))))
suppressWarnings(suppressMessages(pred <- interpGrid(x, getGrid(y), force.non.overlapping = TRUE)))
suppressWarnings(suppressMessages(sim <- interpGrid(newdata, getGrid(y), force.non.overlapping = TRUE)))
delta.method <- method == "delta"
precip <- precipitation
message("[", Sys.time(), "] Argument precipitation is set as ", precip, ", please ensure that this matches your data.")
Expand Down

0 comments on commit 0c5f1bb

Please sign in to comment.