Hi sentinel-hub-team,

I want to download with Python-Api SENTINEL1_IW [‘VV’, ‘VH’] in 8bit resolution like in EO-Browser

I cannot find the parameters for 8bit

add_data = SentinelHubInputTask(
data_collection = DataCollection.SENTINEL1_IW,
bands= [‘VV’, ‘VH’],
bands_feature = (FeatureType.DATA, ‘GRD_Data’),
resolution = 10,
#resolution= ‘HIGH’,
time_difference = datetime.timedelta(hours=1),
#config = config(),
max_threads = 1,
aux_request_args = {


thank you in advance


Hello Kevin, thanks for the question! You actually have to define the SampleType within the evalscript that you use to request the data. How you do this, and how this effects the output of your request is excellently explained in Maxim Lamare’s Medium post which you can read here.

Below is an example of how you insert the Sample Type into your evalscript. It’s important to note that using Auto means that the data is automatically scaled to the the range of UINT8 values.

function setup() {
  return {
    input: ["VV", "VH"],
    output: { bands: 2, sampleType: "AUTO" }

function evaluatePixel(sample) {
  return [sample.VV, sample.VH];

I hope that this helps you, and if you need some further clarification then we will be happy to help!

Thank you for your answer. :slight_smile:
Where can I change/insert my eval-script parameters in my SentinelHubInputTask-Python-Function? Do you have a tutorial or example for me?

Hi Kevin,

Digging deeper for you, it is not possible to output data from the Sentinel-1 collection in any other SampleType other than FLOAT32, as this is the only supported output type of this collection. The input task defined below will work for you to output the data in FLOAT32.

input_task = SentinelHubInputTask(
    data_collection = DataCollection.SENTINEL1_IW,
    bands= ['VV','VH'],
    bands_feature = (FeatureType.DATA, 'GRD_Data'),
    bands_dtype = np.float32,
    resolution = 10,
    #resolution= ‘HIGH’,
    time_difference = datetime.timedelta(hours=1),
    config = config,
    max_threads = 1,
    aux_request_args = {

If you have any further questions please let us know!