repositorypackage
0.0.0-20220204023507-a4506ef5007b
Repository: https://github.com/nicell/where-to-live.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
🌎 Where to Live
A website to show the best places to live based on weather in the US
✨ How it works
Using NOAA weather data from 2008 to 2021, we calculate the average number of pleasant and unpleasant days for each month. We then combine those to display a heatmap of the best places to live by weather.
We calculate the perceived temperature, which takes into account relative humidity, to more accurately evaluate the temperature.
A pleasant day is counted when all of the following are met:
- Average perceived temperature between 60°F and 80°F
- Maximum perceived temperature below 85°F
- Minimum perceived temperature above 50°F
- Visibility of more than 5
- Less than .05" of precipitation
An unpleasant day is counted when any of the following are met:
- Average perceived temperature below 40°F
- Average perceived temperature above 85°F
- Visibility of less than 5
- Any snow, hail, thunder, or tornados
- More than .1" of precipitation
All other days are not counted and are instead considered normal days.
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🤝 Acknowledgments
- Kelly Norton for the pleasant-places repository, which we used as reference and inspiration.
- Spencer Mortensen for his article explaining how to create very accurate circle approximations using bezier curves, which we used for creating circles and curves in HTML canvas.