Open-EO / openeo-r-client

R client package for working with openEO backends

Home Page:https://open-eo.github.io/openeo-r-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Message with `describe_job()` unclear

przell opened this issue · comments

The message coming with describe_job() isn't 100% clear in my opinion.

To print the process graph please coerce this object into a `Process`, e.g. as(x,"Process")

This object refers in my understanding to the return of describe_job(). It should actually be the last process node of the process graph right?

image

From the message I would naively try

dsc = describe_job(job = job)
as(dsc, "Process")

It gives

Error in as(dsc, "Process") : 
  no method or default for coercingJobtoProcess

I can confirm, the job to process coercion is currently missing, but should be an easy fix.