Thank you for the reply.
I am using L2A product, and resampled the spectral bands to 10 m before applying the Biophysical LAI processor.
I have also applied the format name in the read and write operator. (attached .xml for your reference)
LAI_fAPAR_20to10_GPT_TIFF-AS.xml (3.4 KB)
Command:
for year in 2024; do
for tile_name in T32TQT; do
for image in /data/SENTINEL-2/L2A/"$year"/*_"$tile_name"_202411*.zip; do
path=$(basename "$image")
output_name="LAI_${path%.zip}"
~/esa-snap/bin/gpt /data/S2/LAI_fAPAR_20to10_GPT_TIFF-AS.xml \
-PinputFile="$image" \
-PoutputLAIFile="/data/S2/$tile_name/BIOPARS_raw/2024/${output_name}.tif" \
-Psensor=S2A
rm -r /home/absingh/.snap/var/cache/s2tbx/l2a-reader/10.0.4/*
done
done
done