xoa.tide.tidal_atlas#
- xoa.tide.tidal_atlas(da, hw, offsets=range(-6, 7), time_dim=None)[source]#
Composite maps at fixed offsets from high water
- Parameters:
da (xarray.DataArray) – Field to composite, like a current component, with a time dimension.
hw (xarray.DataArray) – Boolean mask of the selected high waters of a reference series, see
spring_high_waters().offsets (iterable of int) – Offsets in samples with respect to the high water.
time_dim (str, None) – Searched with
xoa.coords.get_tdim()when None.
- Returns:
xarray.DataArray – Mean of
daover the selected high waters, for each offset, along the newoffsetdimension.