weatherbench2.regions.CombinedRegion

class weatherbench2.regions.CombinedRegion(regions=<factory>)

Sequentially applies regions selections.

Allows for combination of e.g. SliceRegion and LandRegion.

Parameters:

regions (list[weatherbench2.regions.Region]) –

regions

List of Region instances

Type:

list[weatherbench2.regions.Region]

__init__(regions=<factory>)
Parameters:

regions (list[weatherbench2.regions.Region]) –

Return type:

None

Methods

__init__([regions])

apply(dataset, weights)

Apply region selection to dataset and/or weights.

Attributes

regions