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

cloudcover gives unsupported warning on openeo.cloud #136

Open
JeroenVerstraelen opened this issue Mar 1, 2024 · 2 comments
Open

cloudcover gives unsupported warning on openeo.cloud #136

JeroenVerstraelen opened this issue Mar 1, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@JeroenVerstraelen
Copy link
Contributor

JeroenVerstraelen commented Mar 1, 2024

Some users noted that when using cloudcover on openeo.cloud then it shows a warning. The cloudcover filter is still applied however.

@JeroenVerstraelen JeroenVerstraelen added the bug Something isn't working label Mar 1, 2024
@JeroenVerstraelen
Copy link
Contributor Author

JeroenVerstraelen commented Mar 1, 2024

Example.

The following gives a warning:

import openeo
con = openeo.connect("openeo.cloud").authenticate_oidc()
s2_cube = con.load_collection(
    "SENTINEL2_L2A",
    spatial_extent={
        "west": 5.1,
        "east": 5.25,
        "south": 51.0,
        "north": 51.1
    },
    temporal_extent=["2020-07-05", "2020-07-30"],
    bands=["B02", "B03", "B04", "B08"],
    max_cloud_cover=30)

But if you use the CDSE backend (openeo.dataspace.copernicus.eu) then it does not. Because SENTINEL2_L2A has a eo:cloud_cover section defined in the layer catalog.

Warning message:

UserWarning: SENTINEL2_L2A property filtering with properties that are undefined in the collection metadata (summaries): eo:cloud_cover.
  return DataCube.load_collection(

@soxofaan
Copy link
Member

soxofaan commented Mar 1, 2024

CDSE backend is not relevant for openeo Platform,
but indeed, on Terrascope/VITO: https://openeo.vito.be/openeo/1.1/collections/SENTINEL2_L2A has "eo:bands" under "summaries", but https://openeocloud.vito.be/openeo/1.1/collections/SENTINEL2_L2A doesn't copy that over in the merged metadata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants