uxarray.UxDataArray.topological_prod#
- UxDataArray.topological_prod(destination=None, **kwargs)#
Performs a topological prod aggregation.
See also
numpy.prod
,dask.array.prod
,xarray.DataArray.prod
,Parameters
destination
str, Destination grid dimension for Aggregation. Node-Centered Variable: -
destination='edge'
: Aggregation is applied on the nodes that saddle each edge, with the result stored on each edge -destination='face'
: Aggregation is applied on the nodes that surround each face, with the result stored on each face. Edge-Centered Variable: -destination='node'
: Aggregation is applied on the edges that intersect each node, with the result stored on each node. -Destination='face'
: Aggregation is applied on the edges that surround each face, with the result stored on each face. Face-Centered Variable: -destination='node'
: Aggregation is applied on the faces that saddle each node, with the result stored on each node. -Destination='edge'
: Aggregation is applied on the faces that saddle each edge, with the result stored on each edge.
- Returns:
reduced – New UxDataArray with
prod
applied to its data.- Return type: