check

method of dascore.core.processor.PatchProcessor source

check(
    self ,
    patch: Patch ,
)-> ‘PatchType’

Refuse a patch which does not carry what the operation needs.

Raises

PatchDataError If the patch holds no data. PatchCoordinateError If a required dimension or coordinate is missing. PatchAttributeError If a required attr is missing, or holds a different value.