Open-EO/openeo-r-client

Message with `describe_job()` unclear

przell opened this issue · 1 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
flahn commented

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