polaris.tasks.ocean.analysis.AnalysisTask.year_range

AnalysisTask.year_range()[source]

Get the range of simulation years this task’s steps cover

Returns:

  • start_year (int) – The first year of the range, inclusive

  • end_year (int) – The last year of the range, inclusive