Is your feature request related to a problem? Please describe.
When calculating area averages over larger regions (e.g. the global), it would be unusual for the area of each pixel to be the same size. We therefore need to account for this effect to get a more accurate calculation
Describe the solution you'd like
Add a switch to arealstatistics that allows the feature to be turned on/off. Use cdo gridarea to do the calculation of cell sizes.
Describe alternatives you've consideredxgcm has a lot of tools for working with GCM grids. But cdo seems to be the simplest and most robust solution.
Is your feature request related to a problem? Please describe. When calculating area averages over larger regions (e.g. the global), it would be unusual for the area of each pixel to be the same size. We therefore need to account for this effect to get a more accurate calculation
Describe the solution you'd like Add a switch to arealstatistics that allows the feature to be turned on/off. Use
cdo gridarea
to do the calculation of cell sizes.Describe alternatives you've considered
xgcm
has a lot of tools for working with GCM grids. Butcdo
seems to be the simplest and most robust solution.