We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99701fd commit 628c0faCopy full SHA for 628c0fa
xcube/webapi/context.py
@@ -586,8 +586,8 @@ def _open_ml_dataset(self, dataset_config: DatasetConfigDict) \
586
dataset_config
587
)
588
if chunk_cache_capacity \
589
- and (ds_id.endswith('.zarr')
590
- or ds_id.endswith('.levels')) \
+ and (data_id.endswith('.zarr')
+ or data_id.endswith('.levels')) \
591
and 'cache_size' not in open_params:
592
open_params['cache_size'] = chunk_cache_capacity
593
with self.measure_time(tag=f"opened dataset {ds_id!r}"
0 commit comments