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

How can we automate raster ingestion to SentinelHub? #2

Open
4 tasks
mari-s4e opened this issue May 16, 2023 · 5 comments
Open
4 tasks

How can we automate raster ingestion to SentinelHub? #2

mari-s4e opened this issue May 16, 2023 · 5 comments
Assignees

Comments

@mari-s4e
Copy link
Contributor

This is the ingestion template notebooks/f01_ingestion/ingestion_00_template.ipynb.
Also another example: notebooks/z99_demo/demo_processing.ipynb

Some improvements towards automation could be (just a draft, @Schpidi feel free to correct where needed!)

  • add script to convert raster into COG, either within this notebook or as separate script (or else?)
  • are there alternatives to ingesting tile one by one? (cell 2)
  • add ingestion routine for multitemporal collections
  • make the notebook executable from terminal with argument, e..g, the data folder
@KathiSchleidt
Copy link
Member

@Schpidi any insights as to how to streamline this process?

@Schpidi
Copy link
Member

Schpidi commented Aug 21, 2023

sorry, this issue somehow slipped through. here are some thoughts in response to your points:

@KathiSchleidt
Copy link
Member

@Schpidi seems you're confirming that there are no predefined scripts for data ingestion on SentinelHub, users must script themselves? No streamlining foreseen? Currently seems like a fairly painful manual process.

Also, I remember reading in various deliverables that while initially, we must rely on sentinel-hub documentation, this will eventually be tailored to FAIRiCUBE requirements. Any progress on this?

@mari-s4e
Copy link
Contributor Author

mari-s4e commented Sep 6, 2023

  • tiff to COG: yes, it is "just" a gdal_translate command. The thing is in this "just" there is a world of parameters/options to be set, and going through the documentation to understand what does what is very time consuming. Since this is a routine task, it would be great if the Hub could provide a default way of doing it. For example, a script (but even better with a UI) that takes as input the tif file(s) and outputs the COG file(s). We already have in common-code the script that does the job, but what would be the best way to integrate it in the system?
  • agreed
  • agreed
  • ok, I could imagine a notebook that packages all the steps from tiff files to ingested collection (including the previous points), and only requires the user to pass the path to the tiff file(s) as a parameter (and maybe name of the collection etc.). Would it be possible to provide such a headless notebook by default in an FAIRiCube user profile?

@KathiSchleidt
Copy link
Member

@Schpidi I agree with @mari-s4e on all points above. How can we create an extension of the existing TIFF->COG script to make this painful repetitive task a bit easier?

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

4 participants