Open JimBiardClimateAI opened 1 year ago
Thanks for reporting this, Jim. That looks like a bug, albeit one that our test suite wouldn't pick up on if it is to do with running on multiple threads. Hence it is particularly useful that you reported it.
We'll investigate shortly and report back here on what we find. Thanks.
I am calling Units.conform in a function called through xarray. The processing is running in multi-threaded mode, so the cfunits code is being accessed by multiple threads (potentially) simultaneously. The problem I am seeing shows up when I attempt to do a NULL conversion. That is, the code
sometimes (but not always) raises the exception