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

wis2box-ui to display info about dataset using new "dataset_info'-process in wis2box-api #82

Open
maaikelimper opened this issue Jul 26, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@maaikelimper
Copy link
Collaborator

Currently the wis2box-ui primarily relies on information available from collections in pygeoapi with the exception being the "station_info"-process to retrieve information about stations for a dataset.

I would like to request for wis2box-ui to access a new "dataset_info"-process to be made available in next version of the wis2box-api

The dataset_info-process should be called once for each item in the discovery-metadata collection and provide a new button alongside the existing "explore" and "discovery-metadata" options, providing access to pop-up displaying the dataset_info content.

I will prepare a prototype of the new process for the wis2box-api in a new branch "dataset_info" .

@maaikelimper maaikelimper added the enhancement New feature or request label Jul 26, 2024
@webb-ben
Copy link
Member

once for each item in the discovery-metadata collection

Can we make the urn be an optional argument of this process? Should no discovery-metadata urn be given, the process should return information about ALL items in the discovery-metadata collection

@maaikelimper
Copy link
Collaborator Author

OK good idea, I can design the function to return info about all datasets by default

@maaikelimper
Copy link
Collaborator Author

As mentioned in wmo-im/wis2box#719
I've deployed an initial version of the "dataset-info" in the wis2box-api on our test-server

https://wis2box-test.wis2dev.io/oapi/processes/dataset-info

@webb-ben could you check how we could display this information in a user-friendly manner ?

@maaikelimper
Copy link
Collaborator Author

maaikelimper commented Aug 14, 2024

Proposal, instead of displaying:

  • title
  • topic: ...
  • explore/observations/discovery-metadata

Could we use dataset-info to display

  • title
  • topic: ...
  • WIS2 data files published last 24 hours: ...
  • Timestamp last data publication: ...
  • explore/observations/discovery-metadata

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

No branches or pull requests

3 participants