💾 Archived View for station.martinrue.com › jsreed5 › a5742498d53f43b594f95ff8eb0b01e8 captured on 2023-05-24 at 20:00:55. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-04-20)

➡️ Next capture (2023-07-22)

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

4 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. · 4 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. · 4 months ago

👽 aspect

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