How to convert ERA5 pressure coordinates to altitude

Hi, I want to know how to convert ERA5 pressure levels to altitude in meters. Any example would be appreciated.
Thank you!

1 Like

There is a geopotential field (‘z’), which you can divide by 9.81 to get the height above mean sea level.

Reference: Copernicus Climate Data Store | Copernicus Climate Data Store

1 Like

Some more information on how to do it using MetPy is here

2 Likes

Hi @windcirculation
You can try using this method to convert ERA5 pressure levels to altitude. Though, It might take some time to run. Here’s the code I use: pressure_to_height.py.
Feel free to reach out if you have any questions or need further clarification!

1 Like