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

Heatindex #65

Merged
merged 24 commits into from
Mar 14, 2018
Merged

Heatindex #65

merged 24 commits into from
Mar 14, 2018

Conversation

coelner
Copy link
Contributor

@coelner coelner commented Dec 22, 2017

#64 #63
for enhancing the formula see here: https://en.wikipedia.org/wiki/Heat_index
or this one: http:https://www.bom.gov.au/info/thermal_stress/#apparent

feel free to implement

1. remove the array for fahrenheit
2. store the coefficents into flash
3. intenially skipped, wrote textual reminder and add better return
value handling
4. fixed

fixed pull request finitespace#64 from finitespace by removing the code snippet

fixed wrong usage of +=
include Math.h for round function
@finitespace
Copy link
Owner

Why did you change Nan to -1? I would prefer Nan.

@finitespace
Copy link
Owner

@jirkaptr does this satisfy?

@finitespace
Copy link
Owner

finitespace commented Dec 22, 2017

I have merged HappyWheels fix for the semi-colon in the interim while we figure this out. Please make sure your code compiles before submitting a pull request.

1. remove the array for fahrenheit
2. store the coefficents into flash
3. intenially skipped, wrote textual reminder and add better return
value handling
4. fixed

fixed pull request finitespace#64 from finitespace by removing the code snippet

fixed wrong usage of +=
include Math.h for round function
1. remove the array for fahrenheit
2. store the coefficents into flash
3. intenially skipped, wrote textual reminder and add better return
value handling
4. fixed

fixed pull request finitespace#64 from finitespace by removing the code snippet

fixed wrong usage of +=
include Math.h for round function
1. remove the array for fahrenheit
2. store the coefficents into flash
3. intenially skipped, wrote textual reminder and add better return
value handling
4. fixed

fixed pull request finitespace#64 from finitespace by removing the code snippet

fixed wrong usage of +=
include Math.h for round function
…atindex

heatindex changed to NWS formula. Use of #define for coeff
@finitespace
Copy link
Owner

This pull request needs to be re-done. I can't tell what it going on. It also appears you are overriding some of the changes I made after merging your last code.

@finitespace finitespace mentioned this pull request Dec 27, 2017
@coelner
Copy link
Contributor Author

coelner commented Mar 2, 2018

@finitespace @jirkaptr #77 any annotations?

@jirkaptr
Copy link
Contributor

jirkaptr commented Mar 3, 2018

My brief observations and remarks:

- Readme.md regarding HeatIndex:
I recommend to use the links (copied from EnvironmentCalculations.cpp) :
https://ehp.niehs.nih.gov/1206273/ and in detail this flow graph: https://ehp.niehs.nih.gov/wp-content/uploads/2013/10/ehp.1206273.g003.png
additionally to „The U.S. NWS algorithm is used.“

- EnvironmentCalculations.cpp regarding HeatIndex():
The comment
/* Check the correctness with the following link:
http:https://www.wolframalpha.com/input/?source=nav&i=b%3D+x1+%2B+x2*T+%2B+x3*H+%2B+x4*T*H+%2B+x5*T*T+%2B+x6*H*H+%2B+x7*T*T*H+%2B+x8*T*H*H+%2B+x9*T*T*H*H */

is incorrect in fact. www.wolframalpha.com generates different formula than used one. Memories of secondary school are sufficient for this task…

@finitespace & @coelner, I think it's time to finish #65 and #77 and go to other matters.

Sorry for edition of the text caused by my inattentive reading.

@finitespace finitespace merged commit 40fdb74 into finitespace:master Mar 14, 2018
@coelner coelner deleted the heatindex branch March 14, 2018 05:02
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 this pull request may close these issues.

None yet

3 participants