For some applications, it would be nice if it were possible to create an `xarray.Dataset` from a `netCDF4.Dataset`, so that the following code would work: with Dataset(filename) as nc: ds = xr.open_dataset(nc)