semantique.processor.utils.inf_as_null#
- semantique.processor.utils.inf_as_null(x)[source]#
Convert all infinite values in an array to null values.
- Parameters:
x (
xarray.DataArray
ornumpy.array
) – The input array.- Returns:
Convert all infinite values in an array to null values.
x (xarray.DataArray
or numpy.array
) – The input array.