Skip to content

Commit

Permalink
FIX: Add more options to kerchunk backend kwargs (#548)
Browse files Browse the repository at this point in the history
Co-authored-by: Anderson Banihirwe <[email protected]>
Closes #547
  • Loading branch information
mgrover1 authored Nov 16, 2022
1 parent 006384d commit 02474d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ def test_empty_queries():
@pytest.mark.parametrize(
'key',
[
'CMIP.CNRM-CERFACS.CNRM-CM6-1.historical.Lmon.gr',
'CMIP.CNRM-CERFACS.CNRM-CM6-1.piControl.Lmon.gr',
# 'CMIP.CNRM-CERFACS.CNRM-CM6-1.historical.Lmon.gr',
# 'CMIP.CNRM-CERFACS.CNRM-CM6-1.piControl.Lmon.gr',
'CMIP.CNRM-CERFACS.CNRM-ESM2-1.1pctCO2.Omon.gn',
'CMIP.CNRM-CERFACS.CNRM-ESM2-1.abrupt-4xCO2.Amon.gr',
'CMIP.CNRM-CERFACS.CNRM-ESM2-1.amip.Amon.gr',
Expand Down
4 changes: 3 additions & 1 deletion tests/test_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ def test_get_xarray_open_kwargs(storage_options):

def test_open_dataset_kerchunk(kerchunk_file=kerchunk_file):
xarray_open_kwargs = _get_xarray_open_kwargs(
'reference', dict(engine='zarr', consolidated=False), storage_options={}
'reference',
dict(engine='zarr', consolidated=False),
storage_options={'remote_protocol': 's3', 'remote_options': {'anon': True}},
)
ds = _open_dataset(
data_format='reference',
Expand Down

0 comments on commit 02474d7

Please sign in to comment.