ERA5 cell area and area-weighted average of temperature over the global

Hello!

The spatial resolution of ERA5 data is 0.25°*0.25°, but now I want to know what the area of each grid is and then I wanna calculate the global area-weighted average temperature.

Thank you!

You can work this out yourself - you know the lat and lon of each grid. Xarray has a good example of how to do this in their docs.

Thank you so much!

I always use MATLAB to process these data, and I’ve calculated the area of each grid cell.