dask.distributed error memoryview is too large
When running in ipython the latest version of climix (8/6/2023) as API I run into an error from dask.distributed. The index calculation seems to work anyway though.
I copied the lines of code I used to testrun into a file which can be found here: /home/sm_renwi/Scripts/heatwavefuture/summerseason/seasonlength_paket/seasonlength/example_error_memoryview.py It also needs this file: /home/sm_renwi/Scripts/heatwavefuture/summerseason/seasonlength_paket/control_SLENS_seasonlength.yml
Part of the long Error message:
2023-06-08 15:09:17,677 - distributed.protocol.core - CRITICAL - Failed to Serialize
ValueError: memoryview is too large CRITICAL:distributed.protocol.core:Failed to Serialize Traceback (most recent call last): File "/home/sm_renwi/.conda/envs/climix_seasonlength/lib/python3.11/site-packages/distributed/protocol/core.py", line 109, in dumps frames[0] = msgpack.dumps(msg, default=_encode_default, use_bin_type=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^