Hello,
I am using the following script to retrieve the dataset. I am making sure that I use the correct URL;
url: https://cds.climate.copernicus.eu/api
key:
However, it’s giving me an error
“SSLError: HTTPSConnectionPool(host=‘cds.climate.copernicus.eu’, port=443): Max retries exceeded with url: /api/retrieve/v1/processes/reanalysis-era5-pressure-levels (Caused by SSLError(SSLEOFError(8, ‘[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1018)’)))”
I would appreciate any suggestions to solve this.
Script I am using to download
import cdsapi
dataset = “reanalysis-era5-pressure-levels”
request = {
“product_type”: [“reanalysis”],
“variable”: [
“u_component_of_wind”,
“v_component_of_wind”
],
“year”: [
“2010”, “2011”, “2012”,
“2013”, “2014”, “2015”,
“2016”, “2017”, “2018”,
“2019”, “2020”, “2021”
],
“month”: [“06”, “07”, “08”],
“day”: [
“01”, “02”, “03”,
“04”, “05”, “06”,
“07”, “08”, “09”,
“10”, “11”, “12”,
“13”, “14”, “15”,
“16”, “17”, “18”,
“19”, “20”, “21”,
“22”, “23”, “24”,
“25”, “26”, “27”,
“28”, “29”, “30”,
“31”
],
“time”: [
“00:00”, “01:00”, “02:00”,
“03:00”, “04:00”, “05:00”,
“06:00”, “07:00”, “08:00”,
“09:00”, “10:00”, “11:00”,
“12:00”, “13:00”, “14:00”,
“15:00”, “16:00”, “17:00”,
“18:00”, “19:00”, “20:00”,
“21:00”, “22:00”, “23:00”
],
“pressure_level”: [“850”],
“data_format”: “grib”,
“download_format”: “unarchived”,
“area”: [39.46, -83.67, 36.54, -75.24]
}
client = cdsapi.Client()
client.retrieve(dataset, request).download()