semantique.processor.utils.datetime64_as_unix#
- semantique.processor.utils.datetime64_as_unix(x)[source]#
Convert datetime64 values in an array to unix time values.
Unix time values are the number of seconds since 1970-01-01.
- Parameters:
x (
xarray.DataArray
ornumpy.array
) – The input array containingnumpy.datetime64
values.- Returns: