-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add Christmas Day indices, add bivariate_count_occurrences #2030
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Trevor James Smith <[email protected]>
Signed-off-by: Trevor James Smith <[email protected]>
Signed-off-by: Trevor James Smith <[email protected]>
Note It appears that this Pull Request modifies the On inspection, the No further action is required. |
Signed-off-by: Trevor James Smith <[email protected]>
Signed-off-by: Trevor James Smith <[email protected]>
This is just waiting on Ouranosinc/xclim-testdata#30 |
Co-authored-by: Pascal Bourgault <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: Trevor James Smith <[email protected]>
Signed-off-by: Trevor James Smith <[email protected]>
One thing I'm wondering about are the names of these indices/indicators. Given that they can accept an @tlogan2000 any opinions on this? |
If you hardcode the date to a specific date, then there's no need for a compute function, you could simple use I think generalizing |
Signed-off-by: Zeitsperre <[email protected]>
4ecdb3a
to
2484976
Compare
Co-authored-by: Pascal Bourgault <[email protected]>
for more information, see https://pre-commit.ci
Co-authored-by: Pascal Bourgault <[email protected]>
Signed-off-by: Trevor James Smith <[email protected]>
Signed-off-by: Trevor James Smith <[email protected]>
…, update nbconvert Signed-off-by: Trevor James Smith <[email protected]>
Pull Request Checklist:
number
) and pull request (:pull:number
) has been addedWhat kind of change does this PR introduce?
holiday_snow_days
holiday_snow_and_snowfall_days
Does this PR introduce a breaking change?
No.
Other information:
These indices are currently designed to return a boolean array, i.e. if December 25th (or the range of days asked for) satisfy the requirements, the time step at the frequency provided is marked
True
.There's also the idea of using the
days_with_snow
indice by passing a date-constrained snow depth array to it. I'm not sure which approach is ideal.