paulokuong / noaa

NOAA Weather Service Python SDK
MIT License
235 stars 50 forks source link

Maximum retries exceeded. Response object dump: <Response [503]> #24

Open slowtoaccept opened 3 years ago

slowtoaccept commented 3 years ago

Simple example code:

from noaa_sdk import NOAA

n = NOAA() res = n.get_forecasts('06405', 'US') for i in res: print(i)

The following was repeated 5 times

Previous request failed with code 503. Retrying... Previous Response: { "correlationId": "2869a65", "title": "Forecast Grid Invalid", "type": "https://api.weather.gov/problems/ForecastMissingData", "status": 503, "detail": "The forecast grid is missing data for time 2021-04-20T21:00:00-04:00.", "instance": "https://api.weather.gov/requests/2869a65" }

tomed82 commented 10 months ago

It was originally working for me, up until mid-December 2023, and now fails with the same messaage as you. Is noaa blocking web scraping?