-
Notifications
You must be signed in to change notification settings - Fork 18
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
Addressing #420 (for CCI Toolbox) #421
Conversation
…aset_ids(). Due to this, change to 0.8.0
…aset_ids(). Due to this, change to 0.8.0
…aset_ids(). Due to this, change to 0.8.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it, but please consider my comments.
omitted, all available data identifiers are returned. | ||
:param include_titles: If true, the store will attempt to also provide a title. | ||
If a store implementation supports only a single data type, it should verify that | ||
*type_specifier* is either None or compatible with the supported data type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a store implementation supports only a single data type, it should verify that type_specifier is either None or compatible with the supported data type. -> A store implementation should verify that type_specifier is either None or compatible with a supported data type.
One more thing: Four tests fail. |
And, I'm sorry: Where do we put the information what attributes a store offers? |
Co-authored-by: Tonio Fincke <tonio.fincke@brockmann-consult.de>
Co-authored-by: Tonio Fincke <tonio.fincke@brockmann-consult.de>
We'll define a set of common and generic attributes that may be requested here. We put them in the method's docstring later. |
…attrs # Conflicts: # CHANGES.md # xcube/version.py
xcube.core.store.DataStore.get_dataset_ids()
by adding a new keyword argument
include_attrs: Sequence[str] = None
thatcan be used to obtain a minimum set of dataset attributes for each returned
dataset identifier. However,
include_attrs
is ignored to far in the "s3","memory", and "directory" data stores. (DataStore.get_data_ids() to return minimum set of attributes #420)
Checklist:
Add unit tests and/or doctests in docstringsNew/modified features documented indocs/source/*
docs/CHANGES.md