-
Notifications
You must be signed in to change notification settings - Fork 20
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
The xcube server STAC API now publishes all fields available via the /datasets
endpoint.
#1045
The xcube server STAC API now publishes all fields available via the /datasets
endpoint.
#1045
Conversation
/datasets
endpoint.
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.
Actually approved, but please
- rename
bboxs
occurences intobboxes
. You can merge after doing so. - prepare another PR where we also include more missing dataset metadata, such as new
group_title
, andtags
, please see aoutput of the/datasets?details=1
endpoint.
xcube/webapi/ows/stac/controllers.py
Outdated
@@ -504,6 +503,37 @@ def _get_datasets_collection( | |||
} | |||
|
|||
|
|||
def _get_bboxs(ds_ctx: DatasetsContext): |
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.
def _get_bboxs(ds_ctx: DatasetsContext): | |
def _get_bboxes(ds_ctx: DatasetsContext): |
xcube/webapi/ows/stac/controllers.py
Outdated
@@ -504,6 +503,37 @@ def _get_datasets_collection( | |||
} | |||
|
|||
|
|||
def _get_bboxs(ds_ctx: DatasetsContext): | |||
configs = ds_ctx.get_dataset_configs() | |||
bboxs = {} |
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.
boxes
Closes #925
Furthermore, all fields of each dataset published via the
/dataset
endpoint have been been added to the xcube server STAC API.Checklist:
Add docstrings and API docs for any new/modified user-facing classes and functionsNew/modified features documented indocs/source/*
CHANGES.md