Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #44 from EcoJulia/fix/chelsa-ftp-download
Browse files Browse the repository at this point in the history
Fix CHELSA download url
  • Loading branch information
gabrieldansereau authored Jan 5, 2021
2 parents 3a9d171 + 9149b05 commit ab2f257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datasets/download_layer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function download_layer(::BioClim, layer::Integer)
path = SimpleSDMLayers.assets_path()
layer = lpad(layer, 2, "0")
filename = "CHELSA_bio10_$(layer).tif"
url_root = "ftp://envidatrepo.wsl.ch/uploads/chelsa/chelsa_V1/climatologies/bio/"
url_root = "https://envicloud.os.zhdk.cloud.switch.ch/chelsa/chelsa_V1/climatologies/bio/"

filepath = joinpath(path, filename)
if !(isfile(filepath))
Expand Down

0 comments on commit ab2f257

Please sign in to comment.