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
Could be a cf_units bug (I am as of yet unsure), but since my example uses iris cubes for now, I'll open here.
The issue is that, on pickling the cube, its units (cf_units) disappears.
This bug is exposed with use of multiprocessing, since that is reliant on pickling for serialisation.
How To Reproduce
Example where the units disappear after multiplying our cube by another with unit of 1:
🐛 Bug Report
Could be a
cf_units
bug (I am as of yet unsure), but since my example uses iris cubes for now, I'll open here.The issue is that, on pickling the cube, its units (
cf_units
) disappears.This bug is exposed with use of multiprocessing, since that is reliant on pickling for serialisation.
How To Reproduce
Example where the units disappear after multiplying our cube by another with unit of 1:
Where we don't multiply our cube by another with unit 1 (everything turns out OK):
Environment
as per
sss/environments/default-2024_11_26
:Workaround (of sorts)
The text was updated successfully, but these errors were encountered: