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

Ingest ArcGIS collection into VEDA dev catalog #359

Closed
1 task done
smohiudd opened this issue Apr 25, 2024 · 6 comments
Closed
1 task done

Ingest ArcGIS collection into VEDA dev catalog #359

smohiudd opened this issue Apr 25, 2024 · 6 comments
Assignees

Comments

@smohiudd
Copy link
Contributor

smohiudd commented Apr 25, 2024

What

In stead of using a proxy, an alternative idea is ingesting ArcGIS collections into our STAC catalog directly. We're already doing something similar with existing collections:

The collection would include meta data extracted from the the ArcGIS server and include a link to WMS or WMTS that could be used by the front end for visualization.

pyarc2stac may be the best way to do this however there other libraries that do similar things that should be looked at:

PI Objective

https://github.com/NASA-IMPACT/veda-architecture/issues/405

Success Criteria

  • Create ArcGIS ImageServer collection using pyarc2stac and ingest into the dev STAC Catalog
@smohiudd smohiudd changed the title Ingest ArGIS collection into VEDA dev catalog Ingest ArcGIS collection into VEDA dev catalog Apr 25, 2024
@smohiudd
Copy link
Contributor Author

smohiudd commented May 2, 2024

I used the example notebook in pyarc2stac to create a collection ARCGIS_POWER_901_MONTHLY_RADIATION_UTC in dev: https://dev.openveda.cloud/api/stac/collections/ARCGIS_POWER_901_MONTHLY_RADIATION_UTC

@j08lue can you let me know if the UI team can work with this collection?

cc: @slesaad, @amarouane-ABDELHAK, @anayeaye

@smohiudd smohiudd self-assigned this May 2, 2024
@j08lue
Copy link

j08lue commented May 3, 2024

I see the collection has the dashboard metadata that VEDA UI depends on ✅

image

It also has items but the list is empty.

image

I guess we will identify this data source type somehow and then the UI uses the WMS link instead.

image

I am sure we could easily adapt @slesaad's POC to try this out.

Would that be the next step, @smohiudd, or how do we evaluate this approach against the proxy one and others?

@smohiudd
Copy link
Contributor Author

Here are some notes for discussion and differences between Proxy and direct ingestion.

Using Arc2Stac Proxy Directly Ingest Collections
Collections served up by proxy are always synced with ArcGIS. Summaries are always synced.

Collection may need to be re-ingested depending on the update frequency of the collection so summaries are in sync
To avoid high request hits to ArcGIS servers, we can employ a cacheing strategy for collections. Cacheing strategy not needed since the collections will be included in our STAC Catalog
More infrastructure to deploy and manage using Arc2stac. Simpler infrastructure strategy since we are using the existing STAC catalog and database
/statistics endpoint can retrieve timeseries data. This results in statistics data being served in a consistent way to the front end. No timeseries capabilities unless we access the ArcGIS getSamplesendpoint in the frontend.

@j08lue
Copy link

j08lue commented May 13, 2024

Great overview! We also discused the case of using a proxy for /statistics (to harmonize syntax), but not for /collections, right?

@smohiudd
Copy link
Contributor Author

Yes I believe that was an option as well: ingest collections to STAC catalog along with a proxy just for statistics

@smohiudd
Copy link
Contributor Author

Notes form the meeting on May 13 between VEDA Data Services and UI teams:

  • A hybrid of the Arc2Stac Proxy and Collection ingestion is the preferred option going forward
  • for consistency, scalability and future data integrations (i.e CMR) the preference would be to use a proxy for statistics only. This proxy would be it's own service and in the future may be a way to serve statistics with a specified schema from other sources
  • ArcGIS collections will be directly ingested into the STAC catalog including external links for tiling endpoints such as WMS or WMTS.
  • Ingesting ArcGIS collections are an opportunity to explore and implement other meta data or extensions in collections
    • We will need a way to identify these unique collections in the catalog
    • Offload meta data from veda-config mdx files
    • include titiler endpoints

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