Trying to get era5, I get:
raise requests.exceptions.HTTPError(message, response=response)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://cds-beta.climate.copernicus.eu/api/retrieve/v1/processes/reanalysis-era5-single-levels/execution
required licences not accepted
required licences not accepted; please accept the following licences to proceed: [{‘id’: ‘licence-to-use-copernicus-products’, ‘revision’: 12}]
I use python and do:
@shared_task()
def retrieve_file_celery(new_era_request_dict, file_name):
c = cdsapi.Client()
c.retrieve(“reanalysis-era5-single-levels”, new_era_request_dict, file_name)
I accepted all licences on the website. How should I communicate that I accept the licence? Do I need to add some field to my api-call?