About the Earthkit category

For discussions and information about our Earthkit

Hello!! I have problem. I’m trying to use Earthkit with the following dataset “Climate indicators for Europe from 1940 to 2100 derived from reanalysis and climate projections”.
I wrote this code on python:

import earthkit.data

def download_temperature_projections():
print(“Start request…”)

# Parameters for the request
try:
    ds = earthkit.data.from_source(
        "cds", 
        dataset="sis-ecde-climate-indicators",  
        variable="mean_temperature",  
        product_type="projections",  
        gcm=[
            "ec_earth",
            "hadgem2_es",
            "ipsl_cm5a_mr",
            "mpi_esm_lr",
            "noresm1_m",
        ],
        rcm=[
            "cclm4_8_17",
            "hirham5",
            "racmo22e",
            "rca4",
            "wrf381p",
        ],
        experiment=["rcp4_5", "rcp8_5"],
        ensemble_member=["r1i1p1", "r12i1p1", "r3i1p1"],
        temporal_aggregation="monthly",
        spatial_aggregation="gridded",
        area=[43.8146, 11.2108, 43.7246, 11.3008],  # N, W, S, E
        grid=[2, 2],  
        format="zip",  
    )

    # Save data
    output_file = "TEMPERATURE_mean_pr.zip"
    ds.save(output_file)
    print(f"Download complete: {output_file}")

except Exception as e:
    print(f"An error occurred: {e}")

Recall function

download_temperature_projections()

I have this error: An error occurred: 400 Client Error: Bad Request for url: https://cds.climate.copernicus.eu/api/retrieve/v1/processes/sis-ecde-climate-indicators/execution
invalid request
Request has not produced a valid combination of values, please check your selection.
{‘variable’: ‘mean_temperature’, ‘product_type’: ‘projections’, ‘gcm’: [‘ec_earth’, ‘hadgem2_es’, ‘ipsl_cm5a_mr’, ‘mpi_esm_lr’, ‘noresm1_m’], ‘rcm’: [‘cclm4_8_17’, ‘hirham5’, ‘racmo22e’, ‘rca4’, ‘wrf381p’], ‘experiment’: [‘rcp4_5’, ‘rcp8_5’], ‘ensemble_member’: [‘r1i1p1’, ‘r12i1p1’, ‘r3i1p1’], ‘temporal_aggregation’: ‘monthly’, ‘spatial_aggregation’: ‘gridded’, ‘grid’: [2, 2]}

I also tried to simplify the request by removing something but nothing has changed.
Does anyone have any suggestions?
Thank you.