Closed joverlee521 closed 1 year ago
Our case counts updates resulted in an empty file¹, which lead to the failure of our model pipelines.² Turns out the OWID endpoint is redirected to another endpoint.
$ curl -I https://covid.ourworldindata.org/data/owid-covid-data.csv HTTP/2 302 date: Fri, 27 Oct 2023 17:34:37 GMT location: https://covid-19.nyc3.digitaloceanspaces.com/public/owid-covid-data.csv ...
curl does not follow HTTP redirections by default, so we have to tell curl to follow redirection with --location option.
--location
¹ https://github.com/nextstrain/forecasts-ncov/actions/runs/6656776373/job/18090077156#step:5:11 ² https://bedfordlab.slack.com/archives/C03BY4MPNCS/p1698393532650979
Our case counts updates resulted in an empty file¹, which lead to the failure of our model pipelines.² Turns out the OWID endpoint is redirected to another endpoint.
curl does not follow HTTP redirections by default, so we have to tell curl to follow redirection with
--location
option.¹ https://github.com/nextstrain/forecasts-ncov/actions/runs/6656776373/job/18090077156#step:5:11 ² https://bedfordlab.slack.com/archives/C03BY4MPNCS/p1698393532650979
Checklist