For me, temperature doesn't mean as much as stickiness. So I worked out a script that takes the dew point and maps it against a humidity comfort index. I have both the next 24 hours, and the next six days.
Right now, my script reads out the next 24 hours like this:
"From 5-10 AM, it will be pleasant (0). At 11:57 AM, it will be sticky (1). At 12:57 PM, it will be pleasant (0). From 1-10 PM, it will be refreshing (-1). At 11:57 PM, it will be pleasant (0). From 12-4 AM, it will be sticky (1)."
What I'm wondering - before I try to reinvent the wheel - is if there is basically a generalized library or reference that lets you define things using more ambiguous, human terms. I imagine it would have to define not only morning, afternoon, and evening, but also have "early", "mid", and "late" adjectives, as well as overnight.
For example, if this library existed, I could implement it into the script and then it might say:
"This morning, it will be pleasant (0). At noon, it will be sticky (1). The afternoon and night, it will be refreshing (-1). Overnight, it will be sticky (1)."
markussss•1h ago
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...