Closed Aariq closed 1 year ago
The code that triggers the latter error is here: https://github.com/PecanProject/pecan/blob/24d86aea844cbb58451e2fce5c204258f6bd7778/modules/uncertainty/R/run.sensitivity.analysis.R#L103-L109
But if I load sensitivity.output
manually and inspect it, it has 3 rows and no NA
s, so this shouldn't be triggering an error.
Oh, this is likely because I deleted the run folders generated for SA for one of the PFTs, which I think is the only way to "turn off" sensitivity analysis for a PFT. I'll still try to see if there is a solution that still exports the data in some form.
Bug Description
I'm working on runs with sensitivity analysis of ± 1 SD and
run.sensitivity.analysis()
generates plots correctly but does not save sensitivity.results.Rdata. In addition, I get error messages fromsplinefun
such as:or
But as far as I can tell, neither of these is true. The latter error didn't happen when I stepped through the function in debug, I'm pretty sure. Still haven't pinned this one down, but I'll edit this issue when I figure out the problem.