Skip to main content

Hello,


I have download sentinel1 image using sentinelhub:


bbox_coords_wgs84=[-47.949734553694725,-8.746513680257486,-47.93459851294756,-8.717573061584929]

#Time Interval for images
time_interval = ('2020-12-01', '2021-01-10')

evalscript = """
//VERSION=3


return [VV,VH, dataMask]
"""

time_interval = time_interval

request = SentinelHubRequest(
data_folder='sen1_test1',
evalscript=evalscript,
input_data=[
SentinelHubRequest.input_data(
data_collection=DataCollection.SENTINEL1_IW,
time_interval=time_interval,
other_args = {"dataFilter":{"demInstance":"COPERNICUS_30"},"processing":{"orthorectify":True,"backCoeff":"SIGMA0_ELLIPSOID"}}
)

],
responses=[
SentinelHubRequest.output_response('default', MimeType.TIFF)
],
bbox=bbox,
config=config
)

image = request.get_data(save_data=True)

plot_image(s1_data[0], factor=1)


image


when I print len(s1_data) I get 6, so I believe it got two images ,but then on the folder I have only 1 folder with one tiff.


So my question is why does it downloaded only one image? and if it found only 1 image, why does the result is list of 6 items? what are those items if not bands?

If you want to get data for multimple time stamps within the time interval, I suggest you check this example:
https://sentinelhub-py.readthedocs.io/en/latest/examples/processing_api_request.html#Example-8-:-Multiple-timestamps-data


You might also find this Jupyter Notebook of use:
https://cloud.sinergise.com/s/edQtMbQXDWeLJ8k


Reply