Context
As mentioned in this article, WEkEO offers the hda
Python package which utilizes the HDA API to facilitate data download. However, you may encounter some known errors (see HDA API errors).
In this article, we will focus on the case where the query was present in an old notebook or code you found somewhere and yields 0 result, for example the following query:
Step by step Guide
Step 1. Get request from the Data Viewer
When the query gets no results, the first thing to do is to recreate the request via the WEkEO Data Viewer.
π We'll take for example the dataset EO:ESA:DAT:SENTINEL-3
with product type OL_1_EFR___
to reproduce the previous query:
Copy/paste the datasetID in the search bar
(1)
and click on Use dataset(2)
:
βClick on the download button
(1)
and define the download parameters(2)
:Finally, click on Show API request
(1)
and on Copy(2)
:
Step 2. Compare both requests
Here is the new request we generated from the Data Viewer:
{
"dataset_id": "EO:ESA:DAT:SENTINEL-3",
"bbox": [
-1.9106783082394259,
41.694475995649526,
-0.2146243889164906,
42.99121100026714
],
"startDate": "2024-06-01T00:00:00.000Z",
"completionDate": "2024-06-07T00:00:00.000Z",
"productType": "OL_1_EFR___",
"instrument": "OLCI",
"itemsPerPage": 200,
"startIndex": 0
}
Despite the fact it's not the exact same query, the main differences in the structure of the query are due to the new version of the HDA, while the example query was written for use with the HDA V1.
π‘WEkEO Pro Tip: the main goal of this article is to underline the fact that it is a good practice to use the Data Viewer to build a query and avoid mistakes.
Step 3. Run the query
Now you can copy/paste the last request into your notebook and re-run it!
Congrats!
You managed to download the data! π
What's next?
We are user-driven and we implement users' suggestions, so feel free to contact us:
through a chat session available in the bottom right corner of the page
via our contact webpage
via e-mail to our support team (supportATwekeo.eu)
Regardless of how you choose to contact us, you will first be put in touch with our AI Agent Neo. At any time, you can reach a member of the WEkEO User Support team by clicking on "talk to a person" via chat, or by naturally requesting it in reply to Neo's email.