[Questions] Can percentile_doy be refactored to use xr.quantile? #2195
Unanswered
saschahofmann
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Setup Information
Context
I am trying to use
percentile_doy
to compute thresholds forhot_spell_frequency
. I am encountering a few issues there so I started to look into the implementation of the function and saw that it implements its own percentile computation, which made me wonder whether this is still necessary or maybe coming from a time before xarray was offering the quantile computation. I see that the default behaviour is different but since both functions allow the quantile computation method to be configured I imagine this change could be performed without changing the behaviour? Unless, there is something in this function xr.quantile doesnt do?Beta Was this translation helpful? Give feedback.
All reactions