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

Error in biasCorrection function #77

Open
dinilu opened this issue Sep 3, 2020 · 0 comments
Open

Error in biasCorrection function #77

dinilu opened this issue Sep 3, 2020 · 0 comments

Comments

@dinilu
Copy link

dinilu commented Sep 3, 2020

Hi!
I think I may have found an issue in biasCorrection function. The error can be reproduced by running the code in the notebook 2018_climate4R_example1 (https://github.com/SantanderMetGroup/notebooks/blob/master/2018_climate4R_example1.ipynb) from the project github page. I have tried also to run the function with different datasets and found the same error message. The only code and data that seems to work for me is the example code in the help page of the function.

The line of code and the error message is as follows:

SUf.bc <- biasCorrection(y = SU, x = SUh, method = "pqm", fitdistr.args = list(densfun = "normal"))

Error in arr[, , , ind, , ] <- grid[["Data"]] : número de items para para sustituir no es un múltiplo de la longitud del reemplazo
2. fillGridDates(y)
1. biasCorrection(y = SU, x = SUh, method = "pqm", fitdistr.args = list(densfun = "normal"))
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