-
Notifications
You must be signed in to change notification settings - Fork 5
Home
This wiki is meant to provide the background and additional information on how to use this repository.
This repository is meant to be part of the H2020 funded project openEO. The objective of this project is to develop an uniform API to allow processing of Earth Observation (EO) data in cloud-based processing backends from various client nodes. In this API framework, User-Defined Functions (UDFs) is a concept that would allow users to run their own scripts on EO data in these cloud backends.
The UDFs are implemented by developing an UDF API which work hand-in-hand with the openEO core API. The main idea is that there are UDF (web-) services which could be used by the backends as required. The typical workflow is:
- The user uploads his/her script from the client nodes to the backends along with the process graph
- The backend executes the process graph and encounters the UDF in the process graph
- The backend seeks the services of the UDF service to execute the user's script and sends the script and intermediate data to the service through appropriate means (file-based service, RESTful web-service etc.)
- The UDF service executes the script on the data and sends the result back to the backend.
- The backend receives the data and continues executing the process graph until the final result is obtained.
- The backend sends the completed result to the user's client node.
These UDF service is being developed for two different languages - Python and R. This repository concerns with the implementation using R.
In the openEO API, the different clients interact with the different backends through the openEO API which acts as a common language understood by both the clients and the backends. The UDF service is not accessible to the clients directly but only through the backends and hence the UDF service's internal operations are abstracted to the user.