-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hello everyone,
For a project I am working on, I need to download daily Gap-filled Fractional Snow Cover data, from 01-01-2017 to 31-12-2024.
After looking at the data on WEkEo, I read the "How to use the hdar package for accessing the WEkEO HDA API in R?" guide.
i started following every step, and I searched for fractional snow cover products, and I actually found the product I want:
> filtered_datasets <- client$datasets("fractional snow")
> # To list the dataset IDs from the filtered results:
> sapply(filtered_datasets,FUN = function(x){x$dataset_id})
[1] "EO:MO:DAT:ARCTIC_MULTIYEAR_PHY_ICE_002_016:cmems_mod_arc_phy_my_nextsim_P1M-m_202411"
[2] "EO:MO:DAT:ARCTIC_MULTIYEAR_PHY_ICE_002_016:cmems_mod_arc_phy_my_nextsim_P1D-m_202411"
[3] "EO:MO:DAT:ARCTIC_ANALYSISFORECAST_PHY_ICE_002_011:cmems_mod_arc_phy_anfc_nextsim_hm_202311"
[4] "EO:MO:DAT:ARCTIC_ANALYSISFORECAST_PHY_ICE_002_011:cmems_mod_arc_phy_anfc_nextsim_P1M-m_202311"
[5] "EO:JRC:DAT:CLMS"
[6] "EO:EUM:DAT:METOP:MHSL1"
[7] "EO:EUM:DAT:METOP:IASSND02"
[8] "EO:EUM:DAT:METOP:AVHRRL1"
[9] "EO:EUM:DAT:DMSP:OSI-401-B"
[10] "EO:EUM:DAT:0800"
[11] "EO:EUM:DAT:0678"
[12] "EO:ECMWF:DAT:SIS_TOURISM_SNOW_INDICATORS"
[13] "EO:ECMWF:DAT:SIS_ECDE_CLIMATE_INDICATORS"
[14] "EO:ECMWF:DAT:SATELLITE_SEA_ICE_THICKNESS"
[15] "EO:ECMWF:DAT:SATELLITE_ALBEDO"
[16] "EO:ECMWF:DAT:REANALYSIS_UERRA_EUROPE_SINGLE_LEVELS"
[17] "EO:ECMWF:DAT:REANALYSIS_CERRA_LAND"
[18] "EO:ECMWF:DAT:REANALYSIS_CARRA_SINGLE_LEVELS"
[19] "EO:ECMWF:DAT:PROJECTIONS_CLIMATE_ATLAS"
[20] "EO:ECMWF:DAT:MULTI_ORIGIN_C3S_ATLAS"
[21] "EO:ECMWF:DAT:INSITU_GLACIERS_EXTENT"
[22] "EO:ECMWF:DAT:EFAS_SEASONAL_REFORECAST"
[23] "EO:ECMWF:DAT:EFAS_SEASONAL"
[24] "EO:ECMWF:DAT:EFAS_REFORECAST"
[25] "EO:ECMWF:DAT:EFAS_HISTORICAL"
[26] "EO:ECMWF:DAT:EFAS_FORECAST"
[27] "EO:ECMWF:DAT:DERIVED_REANALYSIS_ENERGY_MOISTURE_BUDGET"
[28] "EO:ECMWF:DAT:CEMS_GLOFAS_SEASONAL"
[29] "EO:ECMWF:DAT:CEMS_GLOFAS_HISTORICAL"
[30] "EO:ECMWF:DAT:CEMS_GLOFAS_FORECAST"
[31] "EO:CRYO:DAT:HRSI_ARLIE"
[32] "EO:CRYO:DAT:HRSI:WDS"
[33] "EO:CRYO:DAT:HRSI:SWS"
[34] "EO:CRYO:DAT:HRSI:RLIE"
[35] "EO:CRYO:DAT:HRSI:PSALAEA"
[36] "EO:CRYO:DAT:HRSI:PSA"
[37] "EO:CRYO:DAT:HRSI:GFSC"
[38] "EO:CRYO:DAT:HRSI:FSC"
[39] "EO:CLMS:DAT:CLMS_GLOBAL_SWI_1KM_V1_DAILY_NETCDF"
And actually, the dataset 37 is the one I need.
I thus proceed, creating a query with the bounding box I need, and just a week to make a test:
> client$datasets("EO:CRYO:DAT:HRSI:GFSC")
[[1]]
[[1]]$terms
[[1]]$terms[[1]]
[1] "Copernicus_Land_Monitoring_Service_Data_Policy"
[[1]]$dataset_id
[1] "EO:CRYO:DAT:HRSI:GFSC"
[[1]]$title
NULL
[[1]]$abstract
NULL
[[1]]$doi
NULL
[[1]]$thumbnails
NULL
> query_template <- client$generate_query_template("EO:CRYO:DAT:HRSI:GFSC")
> library(jsonlite)
> query_template <- fromJSON(query_template, flatten = FALSE)
> query_template$bbox <- c(12.323673128337273, 45.53382130496783,
+ 14.025394390124777, 46.7166702493772)
> query_template$startdate <- "2017-01-01T00:00.000Z"
> query_template$enddate <- "2017-01-08T00:00.000Z"
> query_template
$dataset_id
[1] "EO:CRYO:DAT:HRSI:GFSC"
$cloudCover
[1] "__### Value of string type with pattern: ^[0-9]*$"
$productIdentifier
[1] "__### Value of string type with pattern: ^.*$"
$q
[1] "__### Value of string type with pattern: ^.*$"
$published_start
[1] "__### Value of string type with format: date-time"
$published_end
[1] "__### Value of string type with format: date-time"
$bbox
[1] 12.32367 45.53382 14.02539 46.71667
$startdate
[1] "2017-01-01T00:00.000Z"
$`_comment_startdate`
[1] "Value of string type with format: date-time"
$enddate
[1] "2017-01-08T00:00.000Z"
$`_comment_enddate`
[1] "Value of string type with format: date-time"<body>
> query <- toJSON(query, auto_unbox = TRUE)
So, I started searching for the available products, and I get this:
> matches <- client$search(query)
Errore in value[[3L]](cond) : Failed to search data:
Failed to retrieve data using paginator:
Operation failed [HTTP 404]: Not Found
Original error:
List of 2Failed to retrieve data using paginator:
Operation failed [HTTP 404]: Not Found
Original error:
$ message: chr "Operation failed [HTTP 404]: Not Found"Failed to retrieve data using paginator:
Operation failed [HTTP 404]: Not Found
Original error:
$ call : language value[[3L]](cond)Failed to retrieve data using paginator:
Operation failed [HTTP 404]: Not Found
Original error:
- attr(*, "class")= chr [1:3] "simpleError" "error" "condition"
Original error:
List of 2Failed to search data:
Failed to retrieve data using paginator:
Operation failed [HTTP 404]: Not Found
Original error:
List of 2Failed to retrieve data using paginator:
Operation failed [HTTP 404]: Not Found
Original error:
$ message: chr "Operation failed [HTTP 404]: Not Found"Failed to retrieve data using paginator:
Operation failed [HTTP 404]: Not Found
Original error:
$ cal
I can't understand what's the issue I'm facing: I saw that the dataset is available in WEkEo, but it seems like it can't find the data.
Metadata
Metadata
Assignees
Labels
No labels