How to get the band names from Sentinel-1 pre-processed rasterstack .tiff file in python?

Hi everyone,

I want to get the band names of the Sentinel-1 raster stack .tiff files. I already achieved that by using snappy module. But snappy works on python 3.5 or 3.6 and on higher version there is a requirement of manual build of jpy module as per the link. It’s seems to be complicated for me. Is there any other way to view the metadata or just the band names by pyroSAR, snapista or by any other module for the higher version of python module.

In pyroSAR, there is a function named ‘identify’ which gives metadata but the input should be a .zip file which contains a .SAFE file.

I found xarray-sentinel package is also fine. But it also expect a .zip file as input.

If anyone has solution, I am happy to know about it.

VG Karlmarx