Skip to content

CHC data not available on specific date #41

@samyadelara

Description

@samyadelara

Hello dear ropensci/chirps team!
I am facing an issue with a specific date when downloading CHIRPS data from CHC. The issue seems to be related to 2018-04-01.
Using the code presented below, I've been able to download data from 2010 up to march 2018. Also, I tested staring with 2018-04-02 on, and the data was retrieved. I also tried from ClimateSERV, with no sucess...

Do you have any suggestions or solution here?
Thank you in advance!

mt <-readOGR(file) \n
area <- st_bbox(mt)
area <- as.vector(area)
area <- terra::ext(area)

dates <- c("2018-04-01", "2018-04-10")
rain_data <- get_chirps(area, dates, server = "CHC")

Error: [rast] file does not exist: /vsicurl/https://data.chc.ucsb.edu/products/CHIRPS-2.0/global_daily/cogs/p05/2018/chirps-v2.0.2018.04.01.cog
In addition: Warning message:
`/vsicurl/https://data.chc.ucsb.edu/products/CHIRPS-2.0/global_daily/cogs/p05/2018/chirps-v2.0.2018.04.01.cog' not recognized as a supported file format. (GDAL error 4) 

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