update_from_attrs

method of dascore.core.coordmanager.CoordManager source

update_from_attrs(
    self ,
    attrs: collections.abc.Mapping | dascore.core.attrs.PatchAttrs[Mapping, PatchAttrs] ,
)-> ‘tuple[Self, dc.PatchAttrs]’

Update coordinates from attrs.

This will also return a PatchAttrs which conforms to coords.

Parameters

Parameter Description
attrs The attribute source, either PatchAttrs instance or mapping.