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

Error: try to increase the buffer area with 'dist' #48

Open
Rohit-Satyam opened this issue Sep 20, 2023 · 0 comments
Open

Error: try to increase the buffer area with 'dist' #48

Rohit-Satyam opened this issue Sep 20, 2023 · 0 comments

Comments

@Rohit-Satyam
Copy link

Hi

I was using Chirps to get precipitation data of India but I keep on running into the following error:

Fetching data from ClimateSERV 

Getting your request...

Error in .GET(gjson = gj, dates = dates_inter, operation = operation,  : 
  Failed to get valid values,
         try to increase the buffer area with 'dist' 

Do you know what might be causing this. The code used is from another issue and is given below:

countries = spData::world
honduras = countries %>% 
    filter(name_long == "India")
sample_sites = st_sample(honduras, 3) %>% 
    st_as_sf()
dat = get_chirps(sample_sites, dates =c("2013-01-01","2013-12-01"), server = "ClimateSERV")

## Also tried using longitude and latitude obtained from https://www.geodatos.net/en/coordinates/india but same error persists
location <- data.frame(long = 78.96288, lat = 20.593684)
d <- get_chirps(location, dates = c("2019-01-01", "2019-12-31"),
                server = "ClimateSERV")

What am I doing wrong?

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

1 participant