Open twest820 opened 4 years ago
Hi @twest820 , thank you for the message, it looks that data may have some NA values. Have you also tried with the latest version of RMAWGEN, 1.3.8 ? Thanks for the interest and tha feedback. Best @ecor
i am using the newest version of the package and still get this error 1.3.9.2 the dataset does not have NA values per se and it appears to have the correct number of days in it for the range of years i have
Hi @Remotsensei ,
thanks for feedback. Please can you provide a reproducible scripts with your error?
It looks like (see @twest820 's post) that correlation matrix contains some NAs. (https://stackoverflow.com/questions/14674431/error-in-eigencorr-infinite-or-missing-values-in-x-when-making-a-correlat) but if I do not have any reproducible script, I cannot help you.
Thank you Best @ecor
In absence of feedback that can reproduce the error. I cannot evaluate the issue, and then I can solve it (if the issue exists).
Doesn't seem to matter which years the simulation covers or whether the simulation is for a single year, several years, or a decade. This seems unfortunate as it appears the default yearly = TRUE results in repetition of a fixed spline which doesn't account for interannual variability and is discontinuous at the 31 December to 1 January boundary.
Workaround: none known, problem persists through R restart and seems to have spread to ComprehensiveTemperatureGenerator() calls with the default value of yearly
Version: RMAWGEN 1.3.7 (current as of this writing)