-
When you hit {
"number": 58,
"name": "",
"startTime": "2020-08-22T06:00:00-05:00",
"endTime": "2020-08-22T07:00:00-05:00",
"isDaytime": true,
"temperature": 19,
"temperatureUnit": "C",
"temperatureTrend": null,
"windSpeed": "11 km/h",
"windDirection": "SSE",
"icon": "https://api.weather.gov/icons/land/day/tsra_hi?size=small",
"shortForecast": "Slight Chance Showers And Thunderstorms",
"detailedForecast": ""
} Is there a way to get the precipitation chances within this block or maybe calculate them for a block using the information given within? For the endpoint |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
It's available with the raw data call: https://www.weather.gov/documentation/services-web-api#/default/get_gridpoints__wfo___x___y_ "probabilityOfPrecipitation": {
"uom": "wmoUnit:percent",
"values": [
{
"validTime": "2020-09-20T14:00:00+00:00/PT4H",
"value": 0
},
{
"validTime": "2020-09-20T18:00:00+00:00/PT6H",
"value": 1
},
{
"validTime": "2020-09-21T00:00:00+00:00/PT12H",
"value": 0
}, |
Beta Was this translation helpful? Give feedback.
-
https://api.weather.gov/gridpoints/{wfo}/{x},{y} is correct. |
Beta Was this translation helpful? Give feedback.
-
Came here after years, seems that the hourly forecast endpoint now includes |
Beta Was this translation helpful? Give feedback.
Came here after years, seems that the hourly forecast endpoint now includes
probabilityOfPrecipitation
. :)