💾 Archived View for station.martinrue.com › jsreed5 › a5742498d53f43b594f95ff8eb0b01e8 captured on 2023-09-08 at 17:23:06. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-07-22)

➡️ Next capture (2023-09-28)

🚧 View Differences

-=-=-=-=-=-=-

👽 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/

8 months ago · 👍 justyb, martin, tm85

Links

[1] https://www.nco.ncep.noaa.gov/status/messages/

Actions

👋 Join Station

3 Replies

👽 jsreed5

The API is now functioning normally again. · 8 months 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. · 8 months ago

👽 aspect

would you mind giving me a run-down on how you got weather on gemini? would greatly appreciate that. · 8 months ago