All Collections
WEkEO Harmonized Data Access
HDA API Client & Rest
How to get Copernicus Marine data hosted on WEkEO?
How to get Copernicus Marine data hosted on WEkEO?

This article presents the workaround to access Copernicus Marine Data during the fix of the default data access.

David avatar
Written by David
Updated over a week ago


Since July 2022, the access to Copernicus Marine Data using WEkEO Harmonized Data Access (HDA) has been disrupted and then put back to operation in degraded mode.

As a consequence, the following is a tutorial to re-establish access to Copernicus Marine Data on WEkEO during the fix of the default data access.

It will use the WEkEO User Support Toolbox (wust), as temporary replacement of the hda Python library.

πŸ“ŒNote: a notebook is available as a template to present the method (browser version or Jupyter version).


To retrieve Copernicus Marine Data on WEkEO, all you need is your data query, also known as HDA API request (created from the Data Viewer by clicking on Show API request).

Get Copernicus Marine Data - Advanced usage

Step 1. Select the miniwekeolab Kernel in WEkEO JupyterHub

Step 2. Get data

# Load module
import wust as wekeo_toolbox

# Set datacube parameters
hda_api_request = {
"datasetId": "EO:MO:DAT:GLOBAL_ANALYSISFORECAST_PHY_001_024:cmems_mod_glo_phy-thetao_anfc_0.083deg_P1D-m_202211",
"boundingBoxValues": [
"name": "bbox",
"bbox": [
"dateRangeSelectValues": [
"name": "time",
"start": "2022-09-21T00:00:00.000Z",
"end": "2022-09-23T00:00:00.000Z",
"depthRangeSelectValues": [
"start": "0.49402499198913574",
"end": "0.5"
"multiStringSelectValues": [{"name": "variables", "value": ["thetao"]}]

# Download datacube
datacube = wekeo_toolbox.load_datacube(hda_api_request, download=True, output_filename='data/')

Step 3. Post-processing

The NetCDF file is now located in ./data local folder and ready for post-processing.

Get Copernicus Marine Data - Beginners usage

Step 1. Download the template notebook

To discover interactively and be guided with comments and descriptions, feel free to use this template notebook in Python.

You will just have to run the cells as indicated in the notebook:

Step 2. Run the script

From the official JupyterHub or the WEkEO Virtual Machine: upload and then open the template notebook downloaded from Step 1.

Follow the instructions in the notebook to download the Copernicus Marine data.

If you encounter any issue by following the notebook, please contact the WEkEO Support πŸ™

What's next?

The perimeter of this workaround is only for Copernicus Marine data.

If a WEkEO user wants to access other Copernicus data hosted on WEkEO (e.g. Sentinels, CAMS, C3S, CEMS, CLMS, etc.) then he/she should use usual methods, either via:

πŸ“Œ Note: the HDA is working as expected with all data sources except Copernicus Marine Data (a fix is ongoing).

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 e-mail to our support team (

Did this answer your question?