polaris.tasks.ocean.analysis.sim_files.AnalysisStream

class polaris.tasks.ocean.analysis.sim_files.AnalysisStream(filename: str, period: str, is_reduction: bool)[source]

One output stream of an Omega analysis group

Variables:
  • filename (str) – The file-name template Omega builds for the stream, which may contain $Y and $M

  • period (str) – The period of the time reduction or of the snapshots, e.g. '1Month'

  • is_reduction (bool) – Whether the stream holds time means rather than snapshots

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

filename

Alias for field number 0

is_reduction

Alias for field number 2

period

Alias for field number 1