In the tiegcm_4d.py reader the recent update to avoid warnings for casting large values uses the method "set_auto_mask" for certain variables. However if the data type is netCDF4 then the h5netcdf library is used. h5netcdf.Datset objects do not have a "set_auto_mask" method. I believe this was tested with a netCDF4.Dataset object. According to h5netcdf documentation their datasets are automatically populated with fillvalues in a manner that is similar to netCDF4.Dataset objects.
I am able to avoid this error by adding a check that the object is not netCDF4 before calling set_auto_mask(False).
This occurs on lines 772, 784, 841, and 853 of the file Kamodo/kamodo_ccmc/readers/tiegcm_4D.py.
In the tiegcm_4d.py reader the recent update to avoid warnings for casting large values uses the method "set_auto_mask" for certain variables. However if the data type is netCDF4 then the h5netcdf library is used. h5netcdf.Datset objects do not have a "set_auto_mask" method. I believe this was tested with a netCDF4.Dataset object. According to h5netcdf documentation their datasets are automatically populated with fillvalues in a manner that is similar to netCDF4.Dataset objects.
I am able to avoid this error by adding a check that the object is not netCDF4 before calling set_auto_mask(False).
This occurs on lines 772, 784, 841, and 853 of the file Kamodo/kamodo_ccmc/readers/tiegcm_4D.py.