From b14dbb47b65953ee484cf4cbfab4ec0c4823e370 Mon Sep 17 00:00:00 2001 From: Anderson Banihirwe Date: Mon, 22 Aug 2022 13:41:43 -0600 Subject: [PATCH] ensure `storage_options` are passed to data loader --- intake_esm/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/intake_esm/core.py b/intake_esm/core.py index 30a0056a..56c63189 100644 --- a/intake_esm/core.py +++ b/intake_esm/core.py @@ -557,6 +557,7 @@ def to_dataset_dict( ) xarray_open_kwargs = xarray_open_kwargs or {} + xarray_combine_by_coords_kwargs = xarray_combine_by_coords_kwargs or {} cdf_kwargs, zarr_kwargs = kwargs.get('cdf_kwargs'), kwargs.get('zarr_kwargs') @@ -577,6 +578,7 @@ def to_dataset_dict( xarray_combine_by_coords_kwargs=xarray_combine_by_coords_kwargs, preprocess=preprocess, requested_variables=self._requested_variables, + storage_options=storage_options, ) if aggregate is not None and not aggregate: