I recommend using h5netcdf instead. We were having problems with netCDF4 before (and problems keep appearing now and then to be honest). I think h5netcdf is smaller too and results in a smaller pyinstaller bundle. It can be a bit faster too.
I thought I had made a change like this before, but I cannot find any commits...
I noticed this imports netCDF4:
https://github.com/Deltares/imod_coupler/blob/d53a5af0b6163fa88e040e15e5559c8844154e3b/imod_coupler/logging/exchange_collector.py#L5
I recommend using h5netcdf instead. We were having problems with netCDF4 before (and problems keep appearing now and then to be honest). I think h5netcdf is smaller too and results in a smaller pyinstaller bundle. It can be a bit faster too.
I thought I had made a change like this before, but I cannot find any commits...