Skip to content
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

describe_collection() error #145

Closed
sheilasaia opened this issue Dec 5, 2023 · 0 comments
Closed

describe_collection() error #145

sheilasaia opened this issue Dec 5, 2023 · 0 comments
Milestone

Comments

@sheilasaia
Copy link

I'm new to the openeo R package and wanted to explore some of it's capabilities, but am running into an error while following the vignette here. If the issue comes from me needing to be logged in to use the describe_collection() function, I recommend putting the function use example below the login section of the vignette to avoid confusion. If being logged in doesn't matter for that function, I wanted to report this error that I received.

My code:

library(openeo)
openeo::connect(host="https://earthengine.openeo.org")
colls = openeo::list_collections()
openeo::describe_collection(collection = colls$`LANDSAT/LC08/C02/T1_L2`)

The error:
"Error in missing(collection) || length(collection) == 0 || is.na(collection) : 'length = 10' in coercion to 'logical(1)'"

Upon further inspection, when I run length(colls$LANDSAT/LC08/C02/T1_L2) I get 10 and when I run missing(colls$LANDSAT/LC08/C02/T1_L2), I get an invalid use of missing() error.

Thank you for all your hard working developing this interesting package! 🛰️🌎💻

flahn added a commit that referenced this issue Feb 2, 2024
fixed warning messages shown on `describe_collection()` using an object of class `Collection` from `list_collection()` [#145](#145)
flahn added a commit that referenced this issue Feb 2, 2024
fixed warning messages shown on `describe_collection()` using an object of class `Collection` from `list_collection()` [#145](#145)
@m-mohr m-mohr added this to the 1.3.1 milestone Feb 13, 2024
@flahn flahn closed this as completed Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants