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

Wind chill differences in Python and R #124

Open
2 tasks
number9527-12 opened this issue Sep 23, 2024 · 1 comment
Open
2 tasks

Wind chill differences in Python and R #124

number9527-12 opened this issue Sep 23, 2024 · 1 comment
Assignees
Milestone

Comments

@number9527-12
Copy link

Describe the bug
Here are the differences we have identified:

  • Calculation of Wind Chill Index (WCI) in Python
  • Calculation of Wind Chill Temperature (TWC) in R

Wind Chill Index (WCI) in Python


In Python, the function is link:

wci = (10.45 + 10 * v**0.5 - v) * (33 - tdb)

The result is calculated in W/m² and considers the heat loss from a cylindrical flask.

Wind Chill Temperature (TWC) in R


In R, the function is link:

twc = 13.12 + 0.6215 * ta - 11.37 * (v^0.16) + 0.3965 * ta * (v^0.16)

The result is given in °C, representing the localized cooling effect on skin due to wind.

@FedericoTartarini and Marcel to review
Should we make modifications to the corresponding function file calcTWC.R in the R package?

@marcelschweiker
Copy link
Collaborator

I believe that these two parameters sound similar, but are actually different concepts. py seems to refer to AHSRAE, while R to ISO

@FedericoTartarini FedericoTartarini added this to the v3 milestone Oct 16, 2024
@FedericoTartarini FedericoTartarini self-assigned this Oct 16, 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

No branches or pull requests

3 participants