Closed rafaqz closed 3 years ago
More generally, I think this error message should go in DataDeps.jl whenever the download is unsuccessful. Can you please open an issue there and reference this one?
Maybe leave this open until the package is actually working again ;)
Running the readme command
the prompt asks to download the data twice, and does start... but ends with a 403 error.
Turns out this is because GADM is down: this file wont load in the browser either. https://data.biogeo.ucdavis.edu/data/gadm3.6/gpkg/gadm36_IND_gpkg.zip
Seems ucdavis doesn't run reliable servers https://stackoverflow.com/questions/58265951/http-status-was-403-forbidden-when-trying-to-download-spatial-polygon-datafram
Its a minor point, but it's the error output is pretty long, with an apparently duplicated stack trace. I don't handle this possibility in RasterDataSources.jl either, but it seems like we should account for it.
We could maybe have some `The host site appears to be down" message and a url to the actual file to test in the browser, and reassure people its not a code problem, and that waiting or contacting GADM is all they can do.
Here's the current stack trace: