revrt.utilities.monitoring.log_array_backend#
- log_array_backend(fname, data, kind)[source]#
Log backend information for layer data
- Parameters:
fname (
stror path-like) – Layer name or source identifier to include in the log message.data (
xarray.DataArray,dask.array.Array,numpy.ndarray, orobject) – 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 anydtypeandshapeattributes if present.kind (
str) – Short label describing the kind of the layer, such as"processed"or"lazy reload".