When you create a local copy of a cate dataset, it should be saved under the specified name. If there already is a dataset with the same name in a user's local store, that dataset should be overwritten.
Actual behavior
The dataset is not overwritten. Instead, you get an error like:
xcube.core.store.error.DataStoreError: Failed to write dataset '/home/xcube/.cate/data_stores/local/name.zarr': path '' contains a group
Steps to reproduce the problem
Select a dataset from the CCI Store
Open it and select Cache Data Source option, set an identifier
Expected behavior
When you create a local copy of a cate dataset, it should be saved under the specified name. If there already is a dataset with the same name in a user's local store, that dataset should be overwritten.
Actual behavior
The dataset is not overwritten. Instead, you get an error like:
xcube.core.store.error.DataStoreError: Failed to write dataset '/home/xcube/.cate/data_stores/local/name.zarr': path '' contains a group
Steps to reproduce the problem