polaris.tasks.ocean.mixed_layer_eddies.diagnostics.get_frontal_lines

polaris.tasks.ocean.mixed_layer_eddies.diagnostics.get_frontal_lines(ds_mesh, frontal_zone_fraction)[source]

Get the lines of constant y between rows of cells in the frontal zone around y = L_y / 2

Parameters:
  • ds_mesh (xarray.Dataset) – The horizontal mesh

  • frontal_zone_fraction (float) – The half-width of the frontal zone as a fraction of L_y

Returns:

lines (list of xarray.Dataset) – The lines from polaris.ocean.overturning.get_line_edges()