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

Improved degree-day calculations #1941

Open
1 of 2 tasks
huard opened this issue Oct 4, 2024 · 1 comment
Open
1 of 2 tasks

Improved degree-day calculations #1941

huard opened this issue Oct 4, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@huard
Copy link
Collaborator

huard commented Oct 4, 2024

Addressing a Problem?

xclim is currently using a fairly crude approximation for HDD and CDD using daily average temperature. This neglects the daily cycle.

Potential Solution

The UK Met Office has developed an approximation that uses tasmin, tasmax and tas.
See https://rmets.onlinelibrary.wiley.com/doi/10.1002/joc.5362

Additional context

No response

Contribution

  • I would be willing/able to open a Pull Request to contribute this feature.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@huard huard added the enhancement New feature or request label Oct 4, 2024
@huard
Copy link
Collaborator Author

huard commented Oct 4, 2024

Case Condition HDD
1 Tmax ≤ Tbase (i.e. uniformly cold day) HDD = Tbase − Tavg
2 Tavg ≤ Tbase < Tmax (i.e. mostly cold day) HDD = [(Tbase − Tmin)/2] − [(Tmax − Tbase)/4]
3 Tmin < Tbase < Tavg (i.e. mostly warm day) HDD = (Tbase − Tmin)/4
4 Tmin ≥ Tbase (i.e. uniformly warm day) No heating is required, so HDD = 0
Case Condition CDD
1 Tmax ≤ Tbase (i.e. uniformly cold day) No cooling is required so CDD = 0}
2 Tavg ≤ Tbase < Tmax (i.e. mostly cold day) CDD = (Tmax − Tbase)/4
3 Tmin < Tbase < Tavg (i.e. mostly warm day) CDD = [(Tmax − Tbase)/2) − [(Tbase − Tmin)/4]
4 Tmin ≥ Tbase (i.e. uniformly warm day) CDD = Tavg − Tbase

@Zeitsperre Zeitsperre added the help wanted Extra attention is needed label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants