Currently, I can't call the function extract_date(data_set). If I run the current version of the script I get this error:

If I type in combine='nested' after concat_dim='date' I get this error:

The dependencies 'netcdf4' and 'h5netcdf' are already installed. I am using Python 3.10 on Windows 11. The version of 'netcdf4' is 1.6.3; for 'h5netcdf' I am using version 1.10. For xarray am using the version 2023.3.0.
How do I fix this problem?
Thanks in advance!