esmf_regrid.util module#

Miscellaneous utility functions.

esmf_regrid.util.find_area(cube, radius=1)[source]#

Return the areas of cells on a cube.

Defaults to the area of each cell on a unit sphere, but actual radius can be specified.

Parameters:
  • cube (cube) – Cube containing the mesh or grid to calculate the area of.

  • radius (float, default=1) – Radius of the sphere used to calculate area.