Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataStore.get_data_ids() to return minimum set of attributes #420

Closed
forman opened this issue Mar 10, 2021 · 0 comments · Fixed by #421
Closed

DataStore.get_data_ids() to return minimum set of attributes #420

forman opened this issue Mar 10, 2021 · 0 comments · Fixed by #421
Assignees
Milestone

Comments

@forman
Copy link
Member

forman commented Mar 10, 2021

Is your feature request related to a problem? Please describe.

So far, all clients of the xcube data store framework require at least a dataset title in addition to the sole dataset ID returned by DataStore.get_data_ids() instance method. The CCI Toolbox now requires another attribute namely "verification_flags" together with the "title"attribute for each ID returned.

Describe the solution you'd like

Add keyword-argument include_attrs: Sequence[str] = None to DataStore.get_data_ids(). In case it is given, a list of tuples each comrising dataset id and attribute dictionary is returned.

Describe alternatives you've considered

Returning "verification_flags" as part of the data store metadata given in extension point registration.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants