mesmer.core.weighted.lat_weights#
- mesmer.core.weighted.lat_weights(lat_coords)#
area weights based on the cosine of the latitude
- Parameters:
lat_coords (xr.DataArray) – Latitude coordinates.
- Returns:
weights (xr.DataArray) – Cosine weights of
lat_coords
.