windkit.validate_bwc#

windkit.validate_bwc(obj, run_extra_checks=True)#

Validate that obj matches: bwc.

Parameters:
  • obj (xarray.Dataset or xarray.DataArray) – The object to validate.

  • run_extra_checks (bool, optional) – Whether to run the schema’s extra_checks callables, by default True.

Raises:

WindkitValidationError – If the object is not valid.