Converting Sentinel-2 image to TIFF

Hi,

I would like to convert Sentinel-2 image to TIFF using python and snappy or gdal (not by using SNAP GUI).
So far I couldn’t do it. I managed to call gdal command directly in cmd, but not from python script as well. I don’t know why.
Is there any tutorial (code) on how to do this conversion or has anybody managed to do it?
I’m not an expert in python so I would be grateful for a step by step solution.

Regards,
Milos

Hi Milos,

I have uploaded a python script which merges all bands and granules of a zipped S2 product into a merged geotiff.
Code available at,

Will be adding more scripts in future. Poorly commented at moment but will add comments ASAP so each step in code is clear.

Regards,
Daire

4 Likes