xarray.Dataset.to_dict

Dataset.to_dict()

Convert this dataset to a dictionary following xarray naming conventions.

Useful for coverting to json.