The DIST method in QuantileMapping failed when estimating parameters in functions from qmap (regarding initial value)
Hi @aho,
I tried to bias correct seasonal temperature predictions with the DIST
method in CSTools's QuantileMapping
function.
However, only DIST
method failed with the following errors:
<simpleError in constrOptim(theta = vstart, f = fnobj, ui = Mat, ci = Bnd, grad = gradient, fix.arg = fix.arg, obs = data, ddistnam = ddistname, hessian = !is.null(gradient), method = meth, ...): initial value is not in the interior of the feasible region>
Error in do.ply(i) :
task 1 failed - "'mledist' failed to estimate parameters for 'obs' with the error code 100
Here is the sample script: /esarchive/scratch/cchou/FOCUS/seasonal-verification/test.QM.DIST/test.R
Could you please take a look at this issue?
Thank you so much.
Chung