assert_has_coords

function of dascore.proc.coords source

assert_has_coords(
    self: Patch ,
    coord_names: collections.abc.Sequence[collections.abc.Sequence[str], str] ,
)-> ‘Self’

Raise an error if patch doesn’t have required coordinates.