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

Demo on how to use UDP to trigger inference --> GISAT #221

Open
jdegerickx opened this issue Nov 13, 2024 · 3 comments
Open

Demo on how to use UDP to trigger inference --> GISAT #221

jdegerickx opened this issue Nov 13, 2024 · 3 comments
Assignees

Comments

@jdegerickx
Copy link
Contributor

No description provided.

@VincentVerelst
Copy link
Contributor

The following code shows how to create a process graph for a Best-Available-Pixel (BAP) composite of Sentinel-2.
namespace contains a URL to the JSON of the definition of the UDP. In this case the UDP takes geometry and temporal_extent as a parametrized input.

import openeo

c = openeo.connect('openeofed.dataspace.copernicus.eu').authenticate_oidc()

composite = c.datacube_from_process(
    process_id='bap_composite',
    namespace="https://raw.githubusercontent.com/ESA-APEx/apex_algorithms/refs/heads/main/openeo_udp/bap_composite.json",
    temporal_extent=["2022-06-01", "2022-06-30"],
    geometry=area,
)

The composite is then an openeo datacube, which can be send to the backend for processing:

job = composite.execute_batch(...)

@jdegerickx
Copy link
Contributor Author

@luboskucera @mbabic84
Here is an example on how processing is done through an openeo UDP.
Some more background information on UDP's is HERE
Vincent is now working on a dedicated UDP for worldcereal inference run, which should be the UDP you will most likely be using through the user interface --> #171

In case you have any questions on this, feel free to comment here.
If not, this issue can be closed I guess...

@jdries
Copy link
Contributor

jdries commented Nov 27, 2024

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

5 participants