Accessing all possible short forecasts #453
Replies: 3 comments 6 replies
-
This is a popular request (used be pinned when we used issues), but the short answer is that it is not advised to key on the short forecast. The short forecast (similar to the description) is generated using NWS directives that can change to improve data quality. We plan to add a keyable property in a future release, which would work similar to how the icon urls work today. |
Beta Was this translation helpful? Give feedback.
-
More to the point from what @scadergit said, the short forecast text is dynamically composed and can contain millions of different variations based on coverage, intensity, and timing. It's not a simple static list we're pulling from. |
Beta Was this translation helpful? Give feedback.
-
I was reviewing the data provided at the gridpoints endpoint (i.e. https://api.weather.gov/gridpoints/MLB/26,68) and noticed some data I hadn't seen before in When I dig into the open api specification (https://api.weather.gov/openapi.json) all of these properties have enums listed which tells me that we could use this as a keyable forecast. It's not exactly what we're looking for with
|
Beta Was this translation helpful? Give feedback.
-
Hello!
I'm currently developing a weather webapp and I wanted to do something similar to the Timeline underneath the current forecast in Dark Sky
For this, I wanted to make a switch statement to assign a different color and text to the bar segments depending on the short forecast. With this, though, I need to be able to access all of the possible short forecasts in the API. Is there any way for me to access a list or directory with all of the possible JSON responses for "shortForecast"?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions