You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #1359 adds many new spell indices. Many indices like: maximum_consecutive_dry_days and other similar cases are just special cases of a spell index (150eede). This might be something to consider as we try to refactor xclim (and perhaps have less indices/ more re-used assets).
List of indices
maximum_consecutive_{dry|frost|tx|wet}_days could use: {dry|cold|hot|wet}_spell_max_length
maximum_consecutive_frost_free_days: There is no frost_free_spell_max_length but it could be added
<!--Please ensure the PR fulfills the following requirements! -->
<!-- If this is your first PR, make sure to add your details to the
AUTHORS.rst! -->
### Pull Request Checklist:
- [x] This PR addresses an already opened issue (for bug fixes /
features)
- This PR fixes#1386
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] (If applicable) Documentation has been added / updated (for bug
fixes / features)
- [x] CHANGES.rst has been updated (with summary of main changes)
- [x] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added
### What kind of change does this PR introduce?
* Refactoring + new indices (similar to already existing ones)
### Does this PR introduce a breaking change?
`integral` replaces `prod` and `delta_prod` options as `op` arguments in
`to_agg_units`
### Other information:
Few corrections in french translations. Also,
`generic.select_resample_op` now keeps attrs in both use cases (`op` is
a `str` or a function )
Generic Issue
PR #1359 adds many new spell indices. Many indices like:
maximum_consecutive_dry_days
and other similar cases are just special cases of a spell index (150eede). This might be something to consider as we try to refactor xclim (and perhaps have less indices/ more re-used assets).List of indices
maximum_consecutive_{dry|frost|tx|wet}_days
could use:{dry|cold|hot|wet}_spell_max_length
maximum_consecutive_frost_free_days
: There is nofrost_free_spell_max_length
but it could be added{tg|tn|tx}_{max|mean|min}
,max_1day_precipitation_amount
,{snw|snd}_max
,could use
generic.select_resample_op
.Code of Conduct
The text was updated successfully, but these errors were encountered: