LinearTrendEffect.idata_groups#

LinearTrendEffect.idata_groups()[source]#

Return supplementary data groups to store in InferenceData.

Override in subclasses that need to persist large DataFrames or other non-JSON-serializable data alongside the model.

Each entry is stored as a top-level group in the InferenceData netCDF file during save() and is available to custom deserializers via DeserializationContext(idata=...).

Returns:
dict[str, xr.Dataset]

Group name to xarray Dataset mapping.