-
Notifications
You must be signed in to change notification settings - Fork 61
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
No interpolation on dayofyear #2068
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense! Have you seen a change in performance ?
good question, let me see ... darn, wish I had made that benchmark suite... |
This would not work the way I implemented in the end. One way to handle would be to do a similar implementation SPI/SPEI indices for the case of dayofyear? broadcast the dayofyear params, etc. |
Note This Pull Request modifies the SDBA module. |
Don't know how to transfer this to xsdba? I can transfer an issue but not a PR? I will simply close it and open a new issue in xsdba. Maybe. It's not really a priority. It would be nice to avoid useless 2d interpolation when possible though, probably it might save some time on DQM computations. This would not affect MBCn as it is currently, and that's the big bottleneck computation-wise. |
Pull Request Checklist:
number
) and pull request (:pull:number
) has been addedWhat kind of change does this PR introduce?
Does this PR introduce a breaking change?
No? Even if interpolation was applied before, it should have done nothing, just a more complicated algorithm for nothing
Other information:
See the discussion here #2019 (comment)