How do I download each band into a separate TIFF file? The Wcs Request below downloads all bands at the specified spatial resolution set by the ‘resx’ and ‘resy’ parameters and outputs just one single TIFF with all bands. Ideally, I would like to have 13 TIFF files which all have the spatial resolution native to that band. For example, a TIFF for band 1 (with 60m resolution), a TIFF for band 3 (with 10m resolution), and so on. Please let me know if there is a way to do this with Sentinel Hub API, or any other technologies. Thanks!
from sentinelhub import WcsRequest, MimeType
full_res_request = WcsRequest(
data_folder=r’C:\Users…\sentinelhub’,
layer=‘BANDS-S2-L1C’,
bbox=bbox_list_shorto0],
resx=‘10m’,
resy=‘10m’,
time=(‘2017-06-01’, ‘2017-06-14’),
image_format=MimeType.TIFF_d32f,
config=config
)
full_res_request = full_res_request.get_data(save_data=True)