Hello team, I am trying to download chirps product for only the Horn of Africa by limiting latitude and longitude box of the interest, however, I am not able to come up downloading. If anyone has ever tried and know the way to do so please give me your hands. Here is the code I have tried.
get_chirps <- getCHIRPS( "global", lat= c(3, 15), lon=c(33, 48), format= "netcdf", tres= "daily", sres = 0.25, begin = as.Date("1990-01-01"), end=as.Date("2018-12-31"), dsn = (getwd(), "my_Chirp_data"))