Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bias correction on seasonal forecast produces error with example dataset #86

Open
durutti opened this issue Nov 28, 2021 · 0 comments
Open

Comments

@durutti
Copy link

durutti commented Nov 28, 2021

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

@durutti durutti changed the title Bias correction on seasonal forecast produces error Bias correction on seasonal forecast produces error with example dataset Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant