The parameters orbitdirection, orbitnumber, platformname, productclass, producttype etc. seem to be not very useful in identifying a product in sentinel data.

I have a product targeting an area -

ScreenShot of a Sentinel-1 data product meta data

I want to download data products almost at the same location with the gap of 12 days for a year or two.

I can change data but I can't find a parameter to identify that location.

I have 2 very crude ideas.

My idea to find the intersection of data results with the sample data's polygon and find it's area and maximize it for every query which seems very complex and non-intuitive.

Time is another parameter to identify it. As satellite passes the same location almost at the same time for a given location. Make a Threshold of start time range and download whatever products I get.

Is there any elegant solution?


1 Answer 1


If I understand your question correctly, you might be able to use the location search query option in the API to get content for a particular rectangle specified by the latitude and longitude of the opposite corners. From the API docs:

-c <coordinates i.e.: lon1,lat1:lon2,lat2> : coordinates of two opposite vertices of the rectangular area of interest

Using the Python API

from sentinelsat import SentinelAPI

api = SentinelAPI('<username>', '<password>')
products = api.query(footprint = "\"Intersects(POLYGON((-4.53 29.85, 26.75 29.85, 26.75 46.80,-4.53 46.80,-4.53 29.85)))\"")

Note the escaped quotes before and after the Intersects(...). This is to make sure the query matches the necessary parameter format for text searches.

  • $\begingroup$ I wanted to do it in Python 3. Not command line. $\endgroup$ Commented Aug 3, 2018 at 9:24
  • 1
    $\begingroup$ From the Python API documentation, it's implied you might be able to do something similar: api.query(footprint = "intersects(POLYGON( ... ))", ...). Just signed up to access the API, so I'll give it a try when my credentials become valid. $\endgroup$
    – Matthew R.
    Commented Aug 3, 2018 at 11:02
  • $\begingroup$ It's inelegant, but there's always the commands module; commands.getstatusoutput() or just commands.getoutput() $\endgroup$
    – uhoh
    Commented Aug 3, 2018 at 11:36
  • $\begingroup$ @MatthewR. I tried similar things actually. Here are the errors. imgur.com/a/XM2U9yq if I used footprint as a parameter imgur.com/a/XM2U9yq if I used area_relation as the parameter $\endgroup$ Commented Aug 13, 2018 at 11:40
  • $\begingroup$ I'm even trying with geojson imgur.com/a/xyDWiIJ but I got this error. $\endgroup$ Commented Aug 13, 2018 at 11:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.