Skip to main content

Which is the best request parameters to obtain the raw data with max resolution?


so far, we have set the following:


m_wms_request = WmsRequest(layer=‘FALSE_COLOR’,

custom_url_params={CustomUrlParam.EVALSCRIPT: all_bands_script},

bbox=mybox,

time=‘2017-07-18’,

width=980,image_format=MimeType.TIFF_d32f,

instance_id=INSTANCE_ID)

Hi David,


if you would like to specify the resolution of the request I suggest using WcsRequest instead of WmsRequest. WcsRequest allows you to specify the exact resolution of the image instead of image size. Otherwise your code seems to be correct.


m_wcs_request = WcsRequest(layer=‘FALSE_COLOR’,
custom_url_params={CustomUrlParam.EVALSCRIPT: all_bands_script},
bbox=mybox,
time=‘2017-07-18’,
resx='10m', resy='10m',
image_format=MimeType.TIFF_d32f,
instance_id=INSTANCE_ID)

You have probably already seen this but just in case I am adding a link to documentation with examples of such requests: http://sentinelhub-py.readthedocs.io/en/latest/examples/ogc_request.html#WCS-request


Reply