-
Notifications
You must be signed in to change notification settings - Fork 41
UDP storing: add support for categories, returns, links, ... #242
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
Comments
Co-authored-by: Matthias Mohr <m.mohr@uni-muenster.de>
done |
@soxofaan Is there a way to enrich the metadata of a process without storing it? That's what I'm looking for in code generation... |
I'm not sure what you mean, do you have an example/pseudo code what you want to do? |
In JS (and soon in R) I can so something like: let builder = await connection.buildProcess();
// Set the metadata for the process
builder.description = "# Moisture Stress Index\nCalculate MSI for an area specifying co...";
builder.id = "MSI";
builder.categories = ["foo", "bar"];
builder.summary = "MSI calculation";
let loadcollection1 = builder.load_collection(...);
print(builder.toJSON()); Which allows me to print the full metadata with all the additional metadata such as id, summary, categories. I'm not sure how I can set the metadata in Python though. When I was implementing code generation you said that's not possible yet and my hope was that this issue would tackle this. If that's not the case, I can open a new one... @soxofaan |
there is openeo-python-client/tests/rest/test_udp.py Lines 440 to 459 in 1cc75a3
It requires that you already have a process graph or data cube, but I think that's in your use case |
Thanks, I'll try whether I can make that work. |
(from #223)
openeo-python-client/openeo/rest/udp.py
Lines 63 to 75 in 3d62acc
add support for additional UDP properties: categories, returns, examples, links
The text was updated successfully, but these errors were encountered: