openeo-r-client icon indicating copy to clipboard operation
openeo-r-client copied to clipboard

Set process metadata?

Open m-mohr opened this issue 3 years ago • 4 comments

In JS I can do 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 R though. Is it possible? Or is this a missing feature?

I need this for code generation for example.

m-mohr avatar Nov 03 '21 18:11 m-mohr