Monday, December 25, 2006
"Am I Dead?"
When we were waiting for our food to come to our table, Owen (being filled with energy) started running around the table and hit his mouth on the back of one of the chairs!
He must have hit it pretty hard because he started crying and Andrea was comforting him, and he asked (while sobbing), "Am I dead?" ...
As you can tell, as a three year old, he doesn't yet have a grasp of what he said.
I still think about that and laugh, so I thought I'd share it.
Thursday, December 07, 2006
Niagara Falls - 2006
A picture of Horseshoe Falls from our hotel room. I use this as my computer's desktop wallpaper right now, and the more I look at it, the more I have to look at it!
Wind Chill and Heat Index Formulas
I'm writing this because nobody seems to have an easy to copy and paste formula out there for coders or even for spread sheets.
It's all fine-and-dandy that somebody understands all the ins-and-outs of weather and the math behind it, but sometimes we just want to display the Wind Chill or Heat Index, and that's it. I don't need to know all about the weather … some of us have deadlines to meet. These formulas are for those of you who are of a similar mind set.
Here are the formulas to calculate the Heat Index and the Wind Chill in Spreadsheet formulas and for PHP scripts (programs).
The Heat Index should only be calculated when air temperatures are greater than 80°F (27°C), dew point temperatures are greater than 60°F (16°C), and relative humidities are higher than 40%.
Where A1 holds the TEMPERATURE, and B1 holds the HUMIDITY.
Where $temp_f is the temperature in degrees Fahrenheit, and $humidity holds the humidity.
The Wind Chill should only be calculated when temperatures are at or below 50°F and wind speeds are above 3 MPH. Bright sunshine may increase the wind chill temperature by 10°F to 18°F.
Where A1 holds the TEMPERATURE, and B1 holds the WIND VELOCITY (SPEED).
Where $temp_f is the temperature in degrees Fahrenheit, and $wind_speed holds the wind speed in Miles Per Hour (MPH).
I hope this helps to keep someone from spending an hour debugging their code when it was a simple typo that may have messed them up.