tempmean#

ens_calculator.tempmean(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, variable: ENS_VAR | str | int, t1: int, t2: int, output_varname: str | None = None) ENS_VAR#

Computes a variable defined as the temporal mean of the specified variable at the nodes/elements given a range of timesteps

Args:
source_parts:

Any model part(s) or a model part number.

variable:

A scalar, vector or constant variable.

t1:

A beginning time step.

t2:

An ending time step.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See TempMean() for function details.