Access DEM SRTM 30 using API request

Hi Monja,

thank you for your answer.
I’ll just share it what I did in order to get the DEM 30 meters -
I specificed the data collection :

evalscript = """
//VERSION=3

function setup() {
  return {
    input: ["DEM"],
    output:{
        id: "default",
        bands: 1,
        sampleType: SampleType.FLOAT32
    }
  }
}

function evaluatePixel(sample) {
  return [sample.DEM]
}
"""


request = SentinelHubRequest(
    evalscript=evalscript,
    input_data=[
        SentinelHubRequest.input_data(
            data_collection=DataCollection.DEM_COPERNICUS_30,          
         
        ),
    ],
    responses=[
    SentinelHubRequest.output_response('default', MimeType.TIFF)
    ],
    bbox=bbox,
    size=size,
    config=config
)