Open-EO / openeo-gfmap

Generic framework for EO mapping applications building on openEO
Apache License 2.0
4 stars 0 forks source link

Investigate automated orbit selection for Sentinel-1 in extraction jobs #10

Closed kvantricht closed 4 months ago

kvantricht commented 5 months ago

We want to know if there are more ASCENDING or DESCENDING S1 products for a certain spatio-temporal extent, and then only choose the majority case for the processing.

We can query the catalogue before running the job, but unfortunately this does not take into account the footprint of each individual product (the spatial extent might be in the intersection of the product and another orbit).

@jdries Do you know if there is a way of checking that outside or within an OpenEO job?

kvantricht commented 5 months ago

@jdries any ideas on this one?

jdries commented 5 months ago

I would think that the catalog does correctly take the footprint into account? Or it is at least correctly stored in the metadata, so we can probably retrieve all available products and then only retain the ones with a proper intersection?

kvantricht commented 4 months ago

Catalogue query by gfmap, get the geometries and then find out (geopandas) to see which orbit has full overlap.

GriffinBabe commented 4 months ago

It's possible to see the entire footprint of each product and how it intersects with the bounding box

s1_ascending_descending_query

@kvantricht I implemented an util function that queries on CDSE the footprint of available products for ASCENDING and DESCENDING and computes for both if the area of interest (AOI) is fully covered, as well as the accumulated surface of intersection between the products and the AOI.

One issue I see with this method is that some zones of one AOI might be less equally covered than others using this method. A method that computes which between ASCENDING and DESCENDING orbit states has a more homogeneous coverage could be done, although it is not trivial and I don't think it's a priority.

I'm opening a PR with the util function