Closed gabrieldansereau closed 3 years ago
@tpoisot Is there a reason we're using the FTP URL to download the data instead of the HTTPS one?
The tests still failed with FTP, but I've changed it to HTTPS and they now pass (and the CHELSA website recommends HTTPS). Unless you prefer FTP, I suggest to leave it like this.
Here's the FTP error in case (it's not the same as before). I don't know why the URL is not found, it works to download the files in Firefox.
ERROR: HTTP.ExceptionRequest.StatusError(404, "GET", "/chelsa/chelsa_V1/climatologies/bio/CHELSA_bio10_01.tif", HTTP.Messages.Response:
"""
HTTP/1.1 404 Not Found
Date: Tue, 05 Jan 2021 19:48:34 GMT
Server: Apache/2.4.41 (Ubuntu)
Content-Length: 279
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.41 (Ubuntu) Server at envicloud.wsl.ch Port 443</address>
</body></html>
""")
What the pull request does
Previous tests failed in the
test/chelsa.jl
script with:I believe it's because the URL of the CHELSA FTP server has changed from
ftp://envidatrepo.wsl.ch
toftp://envicloud.wsl.ch
(That's the link on the CHELSA website). Hopefully this should fix it.Type of change
Please indicate the relevant option(s)
Checklist
.zenodo.json
Project.toml
fieldversion
has been updatedv0.0.x
series release, a bug fix, or a performance improvement