Skip to content
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

ENH: Add Cooling Degree Days (CDDCold{xx}) #184

Closed
bzah opened this issue Jun 13, 2022 · 1 comment · Fixed by #303
Closed

ENH: Add Cooling Degree Days (CDDCold{xx}) #184

bzah opened this issue Jun 13, 2022 · 1 comment · Fixed by #303

Comments

@bzah
Copy link
Member

bzah commented Jun 13, 2022

  • icclim version: 5.2
  • Python version: n/a

Description

Add Cooling degree days index.
fr: Degrés-jours de climatisation (Cumul sur la période des dépassements du seuil de > 18°C par la température qt moyenne)
en: Cooling Degree Days (Tmean > {TT}C)

In xclim it exists on xclim.atmos.cooling_degree_days.

Also, the xclim's standard_name is different from the clix-meta standard name:

  • xclim: "integral_of_air_temperature_excess_wrt_time"
  • clix-meta: "integral_wrt_time_of_air_temperature_excess"

According to cf, clix-meta is right. So we should also open a cross issue on xclim for that (or just a small pr).
edit: Actually xclim uses the alias version of the standard name, I missed it due to cf search not looking for aliases but it should be fixed by cf-convention/cf-convention.github.io#218

@bzah
Copy link
Member Author

bzah commented Aug 12, 2022

Implementation will be trivial once #189 is done. It will simply be an alias for icclim.generic(indicator="excess", threshold="18 degree_Celsius" var_name="tas", in_file="tas.nc")

@bzah bzah mentioned this issue Jan 30, 2024
13 tasks
@bzah bzah closed this as completed in #303 Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant