You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi climate4R group!
I'm having trouble running the biasCorrection function for my dataset, which has information of a sesonal model for the May-Jun-Ago. The error that arises is: "Error in if (any(years < min(all.years) | years > max(all.years))) { :"
I share a mini example, where the same error appears:
data(VALUE_Iberia_pr)
y <- VALUE_Iberia_pr
data(NCEP_Iberia_pr)
x <- gridArithmetics(NCEP_Iberia_pr, 86400, operator = "*")
y.feb <- subsetGrid(y, season = 2)
x.feb <- subsetGrid(x, season = 2)
cal <- biasCorrection(y = y.feb, x = x.feb, precipitation = TRUE, method = "eqm", wet.threshold = 0.1, cross.val = "loo")
I've been tracking down the error, but didn't have much luck. Any help is welcome! Thank you!
Mercedes
The text was updated successfully, but these errors were encountered:
MariaMercedesPoggi
changed the title
Problems with biasCorrection with LOO in boreal summer months
Problems with biasCorrection with LOO in some months
May 14, 2021
Hi climate4R group!
I'm having trouble running the biasCorrection function for my dataset, which has information of a sesonal model for the May-Jun-Ago. The error that arises is: "Error in if (any(years < min(all.years) | years > max(all.years))) { :"
I share a mini example, where the same error appears:
data(VALUE_Iberia_pr)
y <- VALUE_Iberia_pr
data(NCEP_Iberia_pr)
x <- gridArithmetics(NCEP_Iberia_pr, 86400, operator = "*")
y.feb <- subsetGrid(y, season = 2)
x.feb <- subsetGrid(x, season = 2)
cal <- biasCorrection(y = y.feb, x = x.feb, precipitation = TRUE, method = "eqm", wet.threshold = 0.1, cross.val = "loo")
I've been tracking down the error, but didn't have much luck. Any help is welcome! Thank you!
Mercedes
The text was updated successfully, but these errors were encountered: