pvtend.CompositeState

class pvtend.CompositeState(globals_map: Mapping[str, object])[source]

Lightweight wrapper around exported composite globals.

Provides composite_mean_3d() and composite_reduce() methods to retrieve composite-mean fields from the accumulated sums.

__init__(globals_map: Mapping[str, object]) None

Methods

__init__(globals_map)

composite_mean_3d(field, stage, dh, *[, variant])

Return composite mean of a 3D field.

composite_reduce(field, stage, dh, *[, ...])

Get composite-mean field, optionally reduced to 2D.

list_fields3d()

Return the tuple of 3D field names.

Attributes

globals_map