-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Getting the weather status (ex: dClearSky) for the day card animation is a little tricky.
In a nutshell, we are not given a general weather status for a future day (unlike the Onecall API 3.0). Instead, the api returns 8, 3hr data points for each day which include their own weather status. So, we get 8 weather statuses. It resembles this pattern: midnight=nClearSky, 3AM=nClearSky, 6AM=dClearSky, 9AM=dBrokenClouds, etc. So, some post-processing needs to be done here to get animations for the day cards.
A few strategies to fix the above point:
- display the 12PM forecast weather status since that is most likely representative of the whole day
- Regardless of day or night, we use the most popular status (ie. 5 out the 8 data points state "ClearSky", so we use "dClearSky")
- display "dClearSky" statically (what's implemented right now) and call out the endpoint's shortcoming in the student-facing doc
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request