netCDF4 attribute dict needs to be a real dict