Skip to main content

Hello,


I’m trying to create time series from sentinel 1 product.


I have used the Sentinel Hub Feature Info Service (FIS) documentry . In the documentry is being done with sentinel 2 but I have tried to put sentinel 1.

I have defined bbox and time interval but I get the error:



with HTTPError:Failed to download from: long url

400 Client Error: Bad Request for url: …



This is how I tried to do that:


time_interval = '2019-08-01', '2020-08-01'
bbox_coords_wgs84=s105.4284218,10.5659393,105.49221050,10.25053109]
bbox = BBox(bbox=bbox_coords_wgs84, crs=CRS.WGS84)


wcs_request = WcsRequest(
data_collection=DataCollection.SENTINEL1_IW_DES,
layer='BANDS-S1-IW',
bbox= bbox,
time=time_interval,
resx='10m',
resy='10m',
custom_url_params={CustomUrlParam.SHOWLOGO: False},
config=config
)

images = wcs_request.get_data()


What am I doin wrong?


My end goal- to have all the available images in list. to be able to display them and to run stats


Thank you and happy holidays


Reut

Hi Reut,

just to clarify - you mention above, that you have used Feature Info Service documentary, I imagine this example?

However, your example uses wcs_request instead of fis_request.


I feel that the following example might be more relevant for what you want to do:

sentinelhub-py.readthedocs.io

Sentinel Hub Processing API services from within Python — Sentinel Hub 3.1.0...









It should work with Sentinel-1 in the same manner.

Reply