c-scale-community / use-case-aquamonitor

Apache License 2.0
2 stars 1 forks source link

Create static map of surface-to-water changes using OpenEO #12

Closed Jaapel closed 3 years ago

Jaapel commented 3 years ago

As discussed during an earlier meeting, as an MVP we want to create a surface-to-water (and of course vice-versa) map of spain for an arbitrary amount of time.

To centralize discussions, I want to keep track of issues and progress here.

Jaapel commented 3 years ago

@tcassaert When opening LANDSAT8_L2 data using the VITO backend, I get the following error:

OpenEoApiError: [500] unknown: Sentinel Hub returned an error
response: HTTP/1.1 404 Not Found with body: {"code":404,"description":"Collection not found."}
request: POST https://services-uswest2.sentinel-hub.com/api/v1/catalog/search with body: 
{
    "intersects": {"type":"Polygon","coordinates":[[[-9.391404561753065,35.92855638355114],[-10.159538715430033,43.70267311872828],[3.7660917680335655,43.72675922231324],[3.039484085095467,35.94685008149463],[-9.391404561753065,35.92855638355114]]]},
    "datetime": "2021-04-26T00:00:00Z/2021-04-30T23:59:59.999999999Z",
    "collections": ["landsat-8-l2"],
    "query": {},
    "next": null
}

So the internal call to SentinelHub gets a 404. Is there anything that I may have done incorrectly?

tcassaert commented 3 years ago

@Jaapel I've forwarded this to the team, will get back to you ASAP.

tcassaert commented 3 years ago

@Jaapel could you try the same thing, but with https://openeo-dev.vito.be/openeo/1.0/ as url? A fix has been deployed, but it's not yet available in production.

Jaapel commented 3 years ago

@tcassaert Yes I can access the data now, thank you.