Replies: 6 comments 23 replies
-
Seconding this request, as well as a place to go for announcements a few months before breaking changes are made. I just found out my 50k mobile users are broken because the API changed recently. |
Beta Was this translation helpful? Give feedback.
-
This endpoint was deprecated in the API and noted in the specification over a year ago, but then the deploy schedule went different than expected and the notice of removal was lost in the shuffle. We recognize the importance of a service to notify customers of breaking changes. The official notice would have been an NWS Service Change Notice (SCN), but many developers don't know those exist let alone monitor them for changes to the API. We have debated other solutions to compliment SCN's, but we haven't formally selected one. Suggestions are welcome. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response. Agreed, the SCN mechanism looks... unwieldy. What I've seen other API owners do is send out announcements on a low-volume, opt-in mailing list. Another option, not quite as good IMO, is a blog that could be monitored by RSS or similar. (BTW, the API I was using was https://api.weather.gov/points/XXX,YYY/forecast. It looks like I now need to do two round-trips to get the same result. A really good API design would continue to do this work once, internally, rather than having thousands of identical implementations in clients. Unless there's a direct replacement that I didn't see.) |
Beta Was this translation helpful? Give feedback.
-
Now that our release schedule is un-stuck, we should be able to be more proactive in announcing these changes. This will certainly be one of the forums where we post them. |
Beta Was this translation helpful? Give feedback.
-
Good news on announcing changes in the future. On this particular API change, I can appreciate the need for caching for reasonable performance. But an extra network round trip for all clients is such an impact to the user experience that I think it's worth spending considerable effort to avoid it. On mobile clients in particular, the extra round trip is always visible to the end user. I thought of two ways you could avoid the extra round trip and still preserve the cache hit rate:
It would be best if the grid IDs used for such an API were stable and global, rather than depending on NWS office IDs, which I presume are subject to change, and are of little interest to most clients. For example, a 2.5 km grid overlaid over your whole service area, where the grid IDs are the coordinates of the NW corner. But even if the grid had to be more complex than this (Maybe different grids for Hawaii and Puerto Rico? Just guessing at possible wrinkles), I think many clients would still be willing to implement it to save the round trip. I imagine that users could provide reference implementations for most programming languages that you could host on your github site, as long as the conversion function is stable over time. |
Beta Was this translation helpful? Give feedback.
-
A bounding box would be better than nothing, as I could cache it for a time, though if this assignment is known in advance, I'd much rather fetch the mapping for the whole country periodically and avoid the /points call entirely. BTW in my app almost all weather requests are for a fixed set of mountaintop locations, so caching locations (say, on small S2 cells) would be of some use. For what it's worth, I am still seeing timeout failures on a regular basis. I've started using a commercial API outside the US, and it always returns in under 1 second, using a single HTTPS call. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Seems like observations/current has been either deprecated and/or replaced with observations/latest
If this accurate?
Beta Was this translation helpful? Give feedback.
All reactions