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

Webapp needed info #10

Open
danielfdsilva opened this issue Oct 21, 2024 · 1 comment
Open

Webapp needed info #10

danielfdsilva opened this issue Oct 21, 2024 · 1 comment

Comments

@danielfdsilva
Copy link
Member

Since the frontend was a fork of WHIS there is already a defined structure for the API responses.
The app relies on a standard STAC api with the following details:

One collection with the geometries of the AOIs, where each item is an AOI and has a name and an id. For WHIS we have the volume of each lake, but here we can replace with something else, or remove it.

A second collection with all the data for the AOIs, where each item corresponds to an AOI and a date. (item named <AOI ID>_<DATE>). Each item has one asset for each indicator we want to show, where for each asset we have (cog, mean, min, max).

We also need a way to get information about the exiting indicators:

  • id
  • name
  • values extent
  • dates extent

In the case of WHIS this is somewhat hardcoded.

This is the structure that the app uses at the moment. There can be changes to better suit a more abstracted use case, but shouldn't be drastically different.

@emmanuelmathot @ciaransweet @pantierra Maybe let's discuss whether this is workable.

@emmanuelmathot
Copy link
Contributor

emmanuelmathot commented Oct 21, 2024

There would be a need for a "bootstrap" file config passed to the webapp.
Please describe the runtime parameters the webapp needs to connect with the rest of the software components (e.g. STAC collections API)

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

No branches or pull requests

2 participants