climate4R icon indicating copy to clipboard operation
climate4R copied to clipboard

biasCorrection() show eorror about data dimension

Open tianfy-iap opened this issue 3 years ago • 2 comments

I used monthly observation data and model historical output to do bias correction, which had same time length and data structure. But R report an error : Error in arr[, , , ind, , ] <- grid[["Data"]] : number of items to replace is not a multiple of replacement length 7b4a141ff591b6d0b9c71fefb9eceae And when I input "biasCorrection()", R showed that Error in match.arg(method, choices = c("delta", "scaling", "eqm", "pqm", : 'arg'的长度必需为一 In addition: Warning message: In if (method == "gqm") stop("'gqm' is not a valid choice anymore. Use method = 'pqm' instead and set fitdistr.args = list(densfun = 'gamma')") : the condition has length > 1 and only the first element will be used 94a9c4806ce22e3bb891fcacc92511f

Because I'm a beginner for R, I have no idea to solve this problem,can you help me?

tianfy-iap avatar Nov 17 '21 01:11 tianfy-iap

I also have same error when i try to biascorrect cmip6 data using cru ts. Any help would be very much appreciated. Thanks

sdbht avatar Nov 17 '21 15:11 sdbht

same problem with me

cyndyfem avatar Dec 09 '21 12:12 cyndyfem