Skip to content

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

@Rohit-Satyam

Description

@Rohit-Satyam

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions