xradar.model.validate_global_attrs#
- xradar.model.validate_global_attrs(global_attrs: dict[str, object]) None[source]#
Validate user-supplied root-group global attributes against the data model.
- Parameters:
global_attrs (
dict) – Dictionary of global attribute name/value pairs to validate.- Raises:
TypeError – If a known attribute’s value does not match the expected type.
ValueError – If a known attribute’s value is not one of its allowed values.