Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSMD_matrix error + a question #52

Open
Dejan1983 opened this issue Feb 1, 2022 · 1 comment
Open

SSMD_matrix error + a question #52

Dejan1983 opened this issue Feb 1, 2022 · 1 comment

Comments

@Dejan1983
Copy link

Hello Carlo,
i have 2 questions i hope you can answer.

  1. when using SSMD_matrix(), when i include GeneDiv in the params list, i get this error 'Error in sottra/sqrt(sumsq) : non-comfortable arrays'. i'm not sure what to do about this?
  2. Is there a way for SSMD_matrix to consider differences over the duration of the entire simulation all in one go? Or is it only possible to look at this year by year? I want to get an overall contrast for a given set of models, rather than just looking at any one year.

Thanks,
D

@carlopacioni
Copy link
Owner

Hi Dejan1983,
very sorry for the late reply. It has been very hectic recently.

Re your first point, I think you the problem stem from the fact that Vortex has changed the names of the headings in the output files and I haven't had the time to fix that in vortexR, so the first thing to do would be to check the headings that you have in the data that you use for SSMD_matrix and see whether 'GenDiv' exists. If that is not the problem, then it may be that you have two objects of a different class that cannot be coerced to allow calculations to be carried out. In that case, I'll have to take a closer look. You could send me your code and (subset of) data to reproduce the error and see whether I can fix it at carlo.pacioni@delwp.vic.gov.au.

Re your second point, do you mean using the mean value across all years within each scenario?

Cheers,
carlo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants