polaris.tasks.ocean.analysis.analysis_step.AnalysisStep.valid_level_range

AnalysisStep.valid_level_range()[source]

Get the topmost and bottommost valid layer of each column, from the vertical coordinate the step linked

Returns:

  • min_level_cell (xarray.DataArray) – The zero-based index of the topmost valid layer of each column

  • max_level_cell (xarray.DataArray) – The zero-based index of the bottommost valid layer of each column