polaris.mpas.area_for_field

polaris.mpas.area_for_field(ds_mesh, field)[source]

Get the appropriate area (on cells, vertices or edges) for the given field

Parameters
Returns

area (xarray.DataArray) – The area on cells, vertices or edges