semantique.processor.types.TypePromoter.promote

semantique.processor.types.TypePromoter.promote#

TypePromoter.promote(obj)[source]#

Promote the value type of the operation output.

Parameters:

obj (xarray.DataArray) – The output of the operation.

Returns:

obj (xarray.DataArray) – The same object with an updated value type property.