Ouranosinc / xclim

Library of derived climate variables, ie climate indicators, based on xarray.
https://xclim.readthedocs.io/en/stable/
Apache License 2.0
328 stars 58 forks source link

Standardize ICCLIM / ETCCDI percentile precip indices #1035

Open tlogan2000 opened 2 years ago

tlogan2000 commented 2 years ago

Description

I recently participated in discussions with various groups who calculate ETCCDI (icclim) indices using various packages (e.g. R: climpact, climpact2, Python : icclim, xclim among other). The subject was wrt inconsistencies in index ids, long_name and output units for three percentile based precipitation indices. Consensus is to create 3 renamed versions of these indices (with standard output across all software). Old versions can be deprecated and eventually removed entirely

Index (long name) Unit Acronym
Total precipitation amount from days above percentile mm rXpSUM
Percentage of total precipitation amount from days above percentile % rXpPCT
Number of days when precipitation is above percentile number of days rXpDAYS

Deprecated ICCLIM indices:

New indices notes:

tlogan2000 commented 2 years ago

@bzah can you double check this issue to make sure I did not leave anything out?

bzah commented 2 years ago

Looks good to me! I would just wait for a conclusion of the discussions before implementing these.

Maybe, one thing that was not discussed: xclim is capable of computing atmos.days_over_precip_thresh (standard rXpDAYS) and atmos.days_over_precip_doy_thresh (notice the "doy"). The later could lead to a new standard name I guess.