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 a gdrive module #16

Open
12rambau opened this issue Aug 28, 2020 · 3 comments · May be fixed by #539
Open

add a gdrive module #16

12rambau opened this issue Aug 28, 2020 · 3 comments · May be fixed by #539
Labels
enhancement New feature or request
Milestone

Comments

@12rambau
Copy link
Member

Lots of the computation performed with python in sepal implies an interaction between gee (and gdrive) and the sepal folder.

Do you think it could be useful to create standard drive_handler object ? (inspired by the one in pysmm and glad_alert)

with some standard method like

  • get_items
  • download to sepal
  • print list
  • get file id
  • delete file
    ...

If some application requires specific implementation you can just create your custom drive_handler inheriting from this one

@12rambau 12rambau added the enhancement New feature or request label Aug 28, 2020
@12rambau
Copy link
Member Author

12rambau commented Dec 3, 2021

I think we can bypass Gdrive entirely using the same tilling system of SEPAL in combination with the thumbnail export method. Have a look in the TS documentation for the structure.

@dfguerrerom
Copy link
Collaborator

I think that this is something that has to be discussed. Although the tiling process can be useful when we do have not such complicated workflows... it might take so long in some other specific workflows, the user will have to wait longer and the sepal session can be killed...
Having a gdrive module would be useful in these cases, what do you think?

@12rambau
Copy link
Member Author

12rambau commented Dec 3, 2021

agreed :
what I envisioned was to have 3 downloading options :

  1. download to sepal (bypassing Gdrive and direct download from the app)
  2. download to Gdrive
  3. download as an asset

(1) works without exiting the module and is super useful for a small amount of data or something you really want to monitor.
Well designed we could prepare all the data and then launch a downloading script (that would live in sepal-ui) running in an os.system like execution. Executing the export this way guarantees that it continues to work after the app is closed.

(2) and (3) would launch the task on GEE and in the task manager app we could retrieve all the specific information and manage the asset/files from there.

@12rambau 12rambau added this to the v3.0 milestone Jul 5, 2022
@12rambau 12rambau linked a pull request Jul 8, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants