-
Notifications
You must be signed in to change notification settings - Fork 61
Description
I am having an issue on using the window option when bias correcting seasonal forecast. So I went back to the examples to figure out
what I am doing wrong.
However
require(climate4R.datasets)
data("EOBS_Iberia_pr")
data("CFS_Iberia_pr")
y <- EOBS_Iberia_pr
x <- CFS_Iberia_pr
eqm.join <- biasCorrection(y = y, x = x,
precipitation = TRUE,
method = "eqm",
window = NULL,
wet.threshold = 0.1,
join.members = TRUE)
The above code produces the following error
[
Error in if (dft == 1) { : missing value where TRUE/FALSE needed
In addition: Warning message:
In setGridDates.asPOSIXlt(grid) :
[2021-11-28 09:37:31] Time zone unknown. It was set to the current auto-detected time zone (EET)
Than you very much in advance
R version 4.1.2 (2021-11-01)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.3 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/liblapack.so.3
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8
[6] LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] climate4R.datasets_0.0.1 downscaleR_3.3.3 transformeR_2.1.4