check_patch_coords
check_patch_coords(
patch: Patch ,
dims: collections.abc.Sequence[collections.abc.Sequence[str], None] = None,
coords: collections.abc.Sequence[collections.abc.Sequence[str], None] = None,
)
Check if a patch object has required coordinates, else raise PatchDimError.
Parameters
Parameter | Description |
---|---|
patch | The input patch |
dims | A tuple of required dimension names. |
coords | A tuple of required coordinate names. |