weldx.util.xr_check_dimensionality#
- weldx.util.xr_check_dimensionality(da, units_ref)#
Check if the dimensionality of a
DataArray
is compatible with reference unit.- Parameters
- Raises
pint.DimensionalityError – The error is raised if the check fails