How to create stack with the pyroSAR in order to perform multi-temporal speckle filter?

Hi everyone,

While creating the workflow to perform multi-temporal speckle filter with pyroSAR, I faced the problems with reading the file and proceeding to the next step. I have written my script here. Just let me know whether I have made it correct or not. I also trying to follow this paper. But this was not for Sentinel-1 images.

P.S. I have already preprocessed the Sentinel-1 GRD images and saved them as geotiff product.

import pyroSAR
from pyroSAR.snap.auxil import parse_recipe, parse_node
from pyroSAR.snap.auxil import gpt
from pyroSAR.snap.auxil import groupbyWorkers
from pyroSAR import identify
import re
import glob

glist = glob.glob('/media/data_storage/backscatter_output/*asc*.tif')
glist.sort()
glist

workflow = parse_recipe('blank')

read = parse_node('ProductSet-Reader')
read.parameters['filelist'] = glist
workflow.insert_node(read)

stack = parse_node('CreateStack')
stack.parameters['extent'] = 'Master'
stack.parameters['initialOffsetMethod'] = 'orbit'
#stack.parameters['masterBands'] = glist
#stack.parameters['sourceBands'] = glist
workflow.insert_node(stack, before=read.id)

multem = parse_node('Multi-Temporal-Speckle-Filter')
#multem.parameters['PanSize'] = 50
multem.parameters['dampingFactor'] = 2
multem.parameters['enl'] = 1.0
multem.parameters['estimateENL'] = False
multem.parameters['filter'] = 'Lee Sigma'
multem.parameters['filterSizeX'] = 3
multem.parameters['filterSizeY'] = 3
multem.parameters['numLooksStr'] = '1'
multem.parameters['sigmaStr'] = '0.9'
#multem.parameters['sourceBands'] = 
multem.parameters['targetWindowSizeStr'] = '3x3'
multem.parameters['windowSize'] = '7x7'
workflow.insert_node(multem, before=stack.id)

write = parse_node('Write')
#elem1 = re.split('_|/', image)
write.parameters['file'] = '/home/eouser/data_storage/rough_outputs/stacking_multitemporal/20220104_S1A_VVVH_117_asc_37FB_BS_Braun_site_Stack2_pyrosar'
write.parameters['formatName'] = 'GeoTIFF-BigTIFF'
workflow.insert_node(write, before=multem.id)
    # Allowed formats to write: GeoTIFF-BigTIFF,HDF5,Snaphu,BEAM-DIMAP,
# GeoTIFF+XML,PolSARPro,NetCDF-CF,NetCDF-BEAM,ENVI,JP2,
# Generic Binary BSQ,Gamma,CSV,NetCDF4-CF,GeoTIFF,NetCDF4-BEAM

xmlname = '20220104_S1A_VVVH_117_asc_37FB_BS_Braun_site_Stack2_pyrosar'
workflow.write('/home/eouser/data_storage/rough_outputs/stacking_multitemporal/'+xmlname)

gpt(xmlfile='/home/eouser/data_storage/rough_outputs/stacking_multitemporal/'+ xmlname +'.xml', outdir='/home/eouser/data_storage/rough_outputs/stacking_multitemporal/')

The error I got was

I would be happy if someone already solved it.

VG Karlmarx