Skip to content

ORC-1999: Set up schema validation in the dataqueue package

Edward Polehampton requested to merge orc-1999-set-up-schema-validation into main

Set up schema validation in the dataqueue package in the send_to_queue method:

  • schema accepted in format of xarray DatasetSchema, or (for now) any dataclass
  • implementation is for the three currently existing schema:
    • xarray DatasetSchema checked using xradio (for PointingTable)
    • simple checks performed on other schema classes for correct arguments/types - (for PointingNumpyArray and MetricPayload)
Edited by Edward Polehampton

Merge request reports