xarray.backends.NetCDF4DataStore.store_dataset

NetCDF4DataStore.store_dataset(self, dataset)

in stores, variables are all variables AND coordinates in xarray.Dataset variables are variables NOT coordinates, so here we pass the whole dataset in instead of doing dataset.variables