-
Notifications
You must be signed in to change notification settings - Fork 17
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
Set process metadata? #86
Comments
I try to state an example how it is currently implemented by creating the NDVI on GEE:
In this case
However, in R you normally don't need the description here, so I have put those arguments in I think the field |
Thanks, I'll try to make this work in code gen. Categories were available in 1.0.0 already, see https://api.openeo.org/1.0.0/index.html#operation/list-processes So basically, I'd need setId, setSummary, setDescription, setCategories, setParameters, setReturns, setDeprecated, setExperimental, setExceptions, setExamples and setLinks (although setParameters and setReturns may be offered in a different way). |
Yes, parameters and returns are derived automatically. Parameters are simply variables in the graph ( |
The use case here is to transform a well-defined process (e.g. with pre-defined parameter descriptions and return values) from JSON to R code automatically, so the auto-derivation doesn't really make sense as it would override what the user already wrote. Anyway, I'll do it step-by-step then and start with what is available and add the other stuff later once we make progress with this issue. |
In JS I can do something like:
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 R though. Is it possible? Or is this a missing feature?
I need this for code generation for example.
The text was updated successfully, but these errors were encountered: