Utility functions for detecting hot ones, and distance from the midday sun. Temperatures are normalized around the hottest day recorded in Central Park in New York City. (106º F)
npm install --save hot-one
For a given temperature, calculate whether it is a hot one.
Translate a given temperature to inches from the midday sun.
Determines whether a given latitude and longitude is:
- "Just like the ocean". This is determined via lookup in the public domain Natural Earth dataset.
- "Under the moon." This is determined by using suncalc to determine whether the moon is currently risen at the given latitude and longitude, and whether the moon is at least, like, a third visible.