๐Ÿ‘ฝ jsreed5

The weather CGI on my capsule is unable to retreive forecasts right now, due to issues in the National Weather Service's API. I'm not sure when this will be fixed. I apologize for the inconvenience! (edited to share correct link) https://www.nco.ncep.noaa.gov/status/messages/

1 year ago ยท ๐Ÿ‘ justyb, martin, tm85

Links

https://www.nco.ncep.noaa.gov/status/messages/

Actions

๐Ÿ‘‹ Join Station

3 Replies

๐Ÿ‘ฝ jsreed5

The API is now functioning normally again. ยท 1 year ago

๐Ÿ‘ฝ jsreed5

@aspect The National Weather Service API requires an office and a set of gridpoints (based on lat/long) to return a forecast. To avoid querying for that information every time, I compiled an offline database of US ZIP codes and their corresponding offices and gridpoints. From there script just sends a query to the API and parses the returned JSON, formatting it into gemtext. ยท 1 year ago

๐Ÿ‘ฝ aspect

would you mind giving me a run-down on how you got weather on gemini? would greatly appreciate that. ยท 1 year ago