Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when downloading CHIRPS with getCHIRPS command #2

Open
giacfalk opened this issue Sep 26, 2018 · 2 comments
Open

Issue when downloading CHIRPS with getCHIRPS command #2

giacfalk opened this issue Sep 26, 2018 · 2 comments

Comments

@giacfalk
Copy link

When I try to download CHIRPS data using the getCHIRPS command, as follows,

chirps_africa<-getCHIRPS(region = "africa", format = "netcdf", tres = "daily", sres = 0.05, dsn = file.path(getwd(), "data"), overwrite = FALSE, cores = 2)

I get the following error:

Error in function (type, msg, asError = TRUE) : Server denied you to change to the given directory

What could be the cause and the potential solution?

@fdetsch
Copy link
Contributor

fdetsch commented Oct 1, 2018

African daily images are not available in NetCDF format, only bils and tifs (see ftp://chg-ftpout.geog.ucsb.edu/pub/org/chg/products/CHIRPS-2.0/africa_daily/). I think a look-up table with details on available image formats per region and timestep would make sense here in order to avoid confusion. I'll have a look into it...

@giacfalk
Copy link
Author

giacfalk commented Nov 2, 2018

Thank you very much for your help. However, changing the format to tifs leads to the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants