Sentinel1 wms requests empty

Hi there,
Currently I’m trying to use Sentinel1 data via Sentinelhub.
I use the following configuration in the configuration Utility:
{
@id”: “”,
“id”: “SENTINEL1”,
“title”: “SENTINEL1”,
“description”: “”,
“styles”: [
{
“name”: “default”,
“description”: “Default layer style”,
“evalScript”: “return [2*VV];”,
“dataProduct”: {}
}
],
“orderHint”: 0,
“instance”: {
@id”:
},
“dataset”: {
@id”: “https://services.sentinel-hub.com/configuration/v1/datasets/S1GRD
},
“datasetSource”: {
@id”: “https://services.sentinel-hub.com/configuration/v1/datasets/S1GRD/sources/3
},
“defaultStyleName”: “default”,
“datasourceDefaults”: {
“type”: “S1GRD”,
“timeRange”: {
“startTime”: {
“type”: “ABSOLUTE”
},
“endTime”: {
“type”: “ABSOLUTE”
}
},
“mosaickingOrder”: “mostRecent”,
“maxCloudCoverage”: 100,
“temporal”: false,
“resolution”: “HIGH”,
“acquisitionMode”: “IW”,
“polarization”: “DV”
},
“instanceId”: “”,
“layerId”: “SENTINEL1”,
“userData”: {}
}

In the preview option within the configuration utility I see that there is indeed data available above the Netherlands. However when I request an image via the sentinel-py package in the follwoing manner

layer = ‘SENTINEL1’
wms_bands_request = WmsRequest(data_folder=data_folder, layer=layer, bbox=bbox, time=window,
width=width, height=height,
image_format=MimeType.TIFF_d32f,
instance_id=INSTANCE_ID)

wms_img = wms_bands_request.get_data(save_data=True)

I only get black tiff files that are 1 everywhere. What am I doing wrong?
Is there a working example for sentinel-py with sentinel1? I was only able to find examples for Sentinel2.

Hi @m.jiang.cs,

Please check here for a working example for Sentinel-1: https://sentinelhub-py.readthedocs.io/en/latest/examples/ogc_request.html#Example-15:-Sentinel-1

Basically you have to set parameter data_source=DataSource.SENTINEL1_IW so that also Python package knows that layer with name 'SENTINEL1' is defined with Sentinel-1 source.

1 Like