Closed PabRod closed 3 years ago
It looks like the download of the precompiled wvp dataset (https://doi.pangaea.de/10.1594/PANGAEA.893109) is failing due to a timeout issue. I found a fix for this bug using the package curl
. Shall I commit this to directly to the main branch?
It sounds like a small patch for something that is already failing, so pushing it to master
is not a bad idea.
Had it been a bigger thing, I would have suggested creating a branch named 27-download
or something like that.
For some reason, downloading it with curl
, directly from the console, causes an incomplete download.
I am considering using a system call with something like wget http://hs.pangaea.de/sat/MODIS/Frantz-Stellmes_2018/wvp-global.tar.gz
. Seems to work better.
Nevermind. curl
works fine when called from R.
Sorry for the noise.
I streamlined the code in dllWVP
a bit (https://github.com/RETURN-project/makeDataCube/commit/b5c082721e05fb8dd9933fb3743264332595ca0d).
Now there is a clearer separation between downloading and unpacking, and the downloaded .tar.gz is kept by default.
Nice, looks great!
dllWVP
is failing to downloadwvp-global.tar.gz
. Any clue about what can be happening, @wandadk?See output below: