Open-EO / openeo-r-client

R client package for working with openEO backends
https://open-eo.github.io/openeo-r-client
Apache License 2.0
61 stars 17 forks source link

Error message when describing collection using `describe_collection()` #154

Open Pratichhya opened 3 weeks ago

Pratichhya commented 3 weeks ago

The describe_collection() gives the same output as collection_viewer().

However, both of these also throw an error: No or invalid collection id(s) prior to the result.

example: with collection_viewer(x="SENTINEL2_L2A") in rstudio or with describe_collection("SENTINEL2_L2A") in the Jupyter Notebook.

m-mohr commented 1 week ago

Right, I can confirm this. This would work, I think:

c = list_collections()
describe_collection(c$SENTINEL2_L2A)

It seems passing by string ID is currently broken (see https://github.com/Open-EO/openeo-r-client/blob/master/R/collections.R#L98).