xoa.core.tide.high_water_mask

xoa.core.tide.high_water_mask#

xoa.core.tide.high_water_mask(h, min_separation=9)[source]#

Boolean mask of the high waters of regularly sampled series.

Parameters:
  • h (ndarray (nt, ...)) – Sea level, typically the predicted tide, time first; the other axes (points, grid) are processed independently and in parallel.

  • min_separation (int) – Minimal number of samples between two high waters.

Returns:

ndarray of bool, same shape as h