I couldn't find the tropopause height in any of the parameter listings. A search on tropopause didn't return any hits either. It is available from ECMWF through the MARS archive, but for some reason it doesn't seem to be available through CAMS or C3S. Or is it available, does anyone know?
I am also interested in finding tropopause height!
One thing I found may be helpful is to search "tropopause" on this website https://apps.ecmwf.int/codes/grib/param-db
But I don't know how to find the dataset based on the parameter ID.
I used this code to retrieve the tropopause pressure from ‘reanalysis-era5-complete’ (pressure at the 2 PVU level).
#!/usr/bin/env python
import cdsapi
from datetime import datetime, timedelta
c = cdsapi.Client()
start_year = 2023
end_year= 2024
for year in range(start_year, end_year + 1):
for month in range(1, 13):
start_date = datetime(year, month, 1)
if month == 12:
end_date = datetime(year + 1, 1, 1) - timedelta(days=1)
else:
end_date = datetime(year, month + 1, 1) - timedelta(days=1)
date_string = f"{start_date.strftime('%Y-%m-%d')}/to/{end_date.strftime('%Y-%m-%d')}"
c.retrieve(
"reanalysis-era5-complete",
{
"class": "ea",
"date": date_string,
"expver": "1",
"levelist": "2000",
"levtype": "pv",
"param": "54.128",
"stream": "oper",
"time": "00:00:00/06:00:00/12:00:00/18:00:00",
"type": "an",
"grid" : "0.25/0.25",
"format":"netcdf",
},
"ERA5/ERA5_tropop_{yr}_{mo:02d}.nc".format(yr=year, mo=month)
)