py_eddy_tracker.observations.observation.grid_box_stat

py_eddy_tracker.observations.observation.grid_box_stat(x_c, y_c, grid, mask, x, y, value, circular=False, method=50)[source]

Compute method on each set (one set by box)

Parameters:
  • x_c (array_like) – grid longitude coordinates

  • y_c (array_like) – grid latitude coordinates

  • grid (array_like) – grid to store the result

  • mask (array[bool]) – grid to store unused boxes

  • x (array_like) – longitude of observations

  • y (array_like) – latitude of observations

  • value (array_like) – value to group to apply method

  • circular (bool) – True if grid is wrappable

  • method (float) – percentile