xcube-dev / xcube-sh

An xcube plugin to allow generating data cubes from the Sentinel Hub Cloud API
MIT License
12 stars 10 forks source link

Query S1GRD via Track #93

Open przell opened 1 year ago

przell commented 1 year ago

Is it possible to include the Track number in a query to the S1GRD collection? I was going through the example notebook here https://github.com/dcs4cop/xcube-sh/blob/master/examples/notebooks/Ex1b-DCFS-Datasets.ipynb and can't find any reference to a track number. That would be really helpful.

Schpidi commented 1 year ago

Maybe @forman or @gunbra32 have an idea here? For context, EURAC would like to use this functionality in a new MOOC that we're involved with as well. Thanks.

forman commented 1 year ago

@przell before I start investigating, maybe you know already, if the track number can be part of a Sentinel Hub API tile request? If so, I can quickly make a new release which offers a track_number parameter.

przell commented 1 year ago

I am checking with some colleagues and will get back to you shortly.

przell commented 1 year ago

@forman, what I have dug up that could be of help:

A colleague of mine only knows how to filter by orbit:

You can just filter with the orbit direction ASCENDING/DESCENDING as far as I know https://docs.sentinel-hub.com/api/latest/data/sentinel-1-grd/#orbitdirection

Issue I posted on Sentinelhub forum with some more context and reference to openEO platform where it seems to be possible via sentinelhub collections (https://forum.sentinel-hub.com/t/query-s1grd-via-track/6763) In case the issue is not visible:

Dear EDC Team, I was wondering whether it is possible to querry the collection S1GRD by track and orbit (ascending/descending). I couldn’t find it in the sample notebooks. See issue here: Query S1GRD via Track · Issue #93 · dcs4cop/xcube-sh · GitHub 4 Here’s an example of how to do it with openEO platfrom using the SentinelHub Collection: Finding and loading data — openEO Python Client 0.15.0a3 documentation

image

forman commented 1 year ago

Hi @przell, sorry, for long term silcence.

Just received a message from William Ray (Sinergise) explaining how to include a dedicated filter in the API query. We will work on that tomorrow, are you happy to beta-test a development release then?

Cheers

przell commented 1 year ago

@forman, yes we'll test it once available and you give us a snippet 👍

forman commented 1 year ago

@przell Here it is: https://github.com/dcs4cop/xcube-sh/releases/tag/v0.10.2.dev2

However, no conda release yet. This is just for testing.

TonioF commented 1 year ago

Hello @przell , were you already able to test the approach?

przell commented 1 year ago

@TonioF, thanks for following up. @UndeadFairy is looking into this. And there is also some new information on the Sentinelhub Forum: https://forum.sentinel-hub.com/t/sentinel-3-slstr-how-to-use/6762/7