polaris.tasks.ocean.analysis.heat_content_series.HeatContentSeries.compute_month

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

Reduce one month to the globally integrated heat content of each elevation range

Only temperature, the model’s mass-like thickness and, when a range has a bound inside the column, the elevation of the layer interfaces are read from the month, which is what keeps the read that dominates this step as small as it can be.

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) – One variable per elevation range, in J