You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add attrs to total unc dataarray returned by total_unc() #36
With newer xarray (e.g. 2026.9) total_unc() now comes back with attrs copied from an uncertainty component - including its err_corr_* and pdf_shape attrs, which aren't right for the total uncertainty (with xarray 2024.7 it had no attrs). So this should set the attrs explicitly, e.g. just units, rather than relying on what xarray carries through.
Activity
shunt16 commentedon Oct 27, 2026
With newer xarray (e.g. 2026.9)
total_unc()now comes back with attrs copied from an uncertainty component - including itserr_corr_*andpdf_shapeattrs, which aren't right for the total uncertainty (with xarray 2024.7 it had no attrs). So this should set the attrs explicitly, e.g. justunits, rather than relying on what xarray carries through.