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

Add dataset discoverability #36

Closed
drewbo opened this issue Jul 24, 2020 · 2 comments
Closed

Add dataset discoverability #36

drewbo opened this issue Jul 24, 2020 · 2 comments
Assignees

Comments

@drewbo
Copy link
Contributor

drewbo commented Jul 24, 2020

Re: NASA-IMPACT/covid-dashboard#340

One of the current drawbacks of the API is that it's not possible to see what datasets/COGs are currently available to visualize. We need to make this information discoverable from the API. Users should be able to hit the /datasets endpoint and see:

  • what "layers" are available (CO2, NO2, Nightlights, etc)
  • for each layer:
    • what is the tile URL (including preferred scaling, colormap, and resampling parameters)
    • what are the available dates
    • what are the available locations (if the data is global or not)
    • does that data have a comparison layer available
    • (optional) is the data available for querying via the timelapse feature

Because the root S3 bucket contains other paths and the data isn't particularly well organized, we'll likely need to hardcode some information or propose a renaming strategy on the S3 bucket (or some combination of both)

cc: @danielfdsilva @olafveerman

@danielfdsilva
Copy link
Contributor

It is important to note that for some layers, the information (like dates) may change depending on the location.

@leothomas
Copy link
Contributor

A branch is open here which implements dynamic domain extraction by dataset and by spotlight (depending on which endpoint is hit: /dataset and /dataset/{spotlight_id} respectively.

I'm currently working on unit tests for the branch

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

3 participants