shoot.contours.area

Contents

shoot.contours.area#

shoot.contours.area(ds)[source]#

Compute area enclosed by a contour

Parameters:

ds (xarray.Dataset) – Contour dataset with lon, lat coordinates and lon_center, lat_center attributes.

Returns:

Area enclosed by the contour in m².

Return type:

float