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

Local job in RStudio #80

Open
flahn opened this issue Oct 21, 2021 · 2 comments
Open

Local job in RStudio #80

flahn opened this issue Oct 21, 2021 · 2 comments
Labels
Feature Request Possible Features to add to the client R4OpenEO Feature Specifcation

Comments

@flahn
Copy link
Member

flahn commented Oct 21, 2021

Title Local job in RStudio
Date 2021-10-21
Issue #80
Category Usability
Description RStudio offerst a job pane where you can run processing in the background without blocking the console. Also status updates can be followed. This feature can be capitalized upon for querrying the job status on the backend automatically while keeping the console free for further developing in the meanwhile.
Dependencies
Links
Priority Medium
Impact Medium

This is a feature request to mimic the a "local" process when executing a UDP on a back-end. The "rstudioapi" offers functions to run scripts and list them as jobs: https://rdrr.io/cran/rstudioapi/man/jobRunScript.html. The idea here is to prepare a script for a job, that simply polls the back-end every x seconds to get the job status. The rstudioapi even offers the possibility to state status updates.

@flahn flahn added the Feature Request Possible Features to add to the client label Oct 21, 2021
@przell
Copy link
Member

przell commented Oct 21, 2021

Also interesting for synchronous calls, for not blocking the console!

@flahn
Copy link
Member Author

flahn commented Feb 18, 2022

It would make sense to implement this for:

  • compute_results (waiting for the results to be directly available, needs to save the data as file)
  • start_job (active polling for results)
  • download_results (most benefical if the backends download speed is low)
  • maybe also for the upcoming get_sample to check a very smallsubset of data, but I'm not sure, because the data needs to be very small in size and should be processed and returned rather quickly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Possible Features to add to the client R4OpenEO Feature Specifcation
Projects
None yet
Development

No branches or pull requests

2 participants