revrt.utilities.monitoring.log_array_backend#

log_array_backend(fname, data, kind)[source]#

Log backend information for layer data

Parameters:
  • fname (str or path-like) – Layer name or source identifier to include in the log message.

  • data (xarray.DataArray, dask.array.Array, numpy.ndarray, or object) – Data object to inspect. For xarray inputs, the underlying array backend is checked to determine whether the data are NumPy- or Dask-backed. Other objects are logged using their concrete type name, along with any dtype and shape attributes if present.

  • kind (str) – Short label describing the kind of the layer, such as "processed" or "lazy reload".