polaris.tasks.ocean.analysis.accumulate.Accumulator.compute_month

Accumulator.compute_month(filename, year, month)[source]

Reduce one month of the simulation’s output

Parameters:
  • filename (str) – The absolute path to the monthly mean

  • year (int) – The simulation year the file covers

  • month (int) – The month the file covers

Returns:

ds_month (xarray.Dataset) – The reduced month, with no Time dimension; the accumulator adds it along with the year and month