JesJehle / earthEngineGrabR

Simplify the acquisition of remote sensing data
https://jesjehle.github.io/earthEngineGrabR/
53 stars 5 forks source link

Error in ee_grab #5

Closed AyatoAshihara closed 5 years ago

AyatoAshihara commented 5 years ago

When I ran the code written in README.md, following error emerged.

library(earthEngineGrabR)

chirps_data <- ee_grab(data = ee_data_collection(datasetID = "UCSB-CHG/CHIRPS/DAILY",
                                                 spatialReducer = "mean",
                                                 temporalReducer = "sum", 
                                                 timeStart = "2017-05-01",
                                                 timeEnd = "2017-05-31", 
                                                 resolution = 200
                                                 ),
                       targetArea = system.file("data/territories.shp", package = "earthEngineGrabR")
                      )

Auto-refreshing stale OAuth token.
Files deleted:
  * territories: 1ljTARuf4vcspDhDi4VuVWv6yzGiWrXIOyeLVT6cA
Error: feature table already exists: territories, exiting ...
Use --add-missing to insert missing features
Error on Earth Engine servers for data product: UCSB-CHG-CHIRPS-DAILY_s-mean_t-sum_2017-05-01to2017-05-31
Error in py_call_impl(callable, dots$args, dots$keywords): EEException: Server returned HTTP code: 404
Error: With the given product argument no valid data could be requested.

What is wrong with it?