ropensci / chirps

API Client for CHIRPS
https://docs.ropensci.org/chirps/
Other
31 stars 12 forks source link

get_chirts() does not allow fetching only one day #36

Open adamhsparks opened 3 years ago

adamhsparks commented 3 years ago
> dates <- "2010-12-15"
> lonlat <- data.frame(lon = c(-55.0281,-54.9857),
                       lat = c(-2.8094, -2.8756))

> temp1 <- get_chirts(lonlat, dates, var = "Tmax")

> Error in seq.int(0, to0 - from, by) : 'to' must be a finite number