<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Dear Community Members,</div><div class="gmail_default" style="font-family:georgia,serif">I am currently trying to use QGIS (ver. 3.18; Zurich stand alone) for batch processing of a few thousand raster image files (geotiff) on Modis surface reflectance data (UInt16) in 5 different stacks for any year (each stack containing >50 files). I wanted to make simple calculations on the pixels (e.g., A+B+C+D+E; or ((A+B)*100)/((C+D+E)*10)....etc.), where A, B, C, D, E are the "Input Layers", each having a single raster band (gray scale, providing pixel values).</div><div class="gmail_default" style="font-family:georgia,serif">Now, for the first input, "Input Layer A", i click on "Autofill", and then on "Select files" to insert the first stack of my dataset (which occupy row 2 to say 51 in col.1). Then in the 2nd col., "Number of raster band for A, i find that the system automatically senses the images and puts "Band 1 (Gray) for all the files selected in col.1. </div><div class="gmail_default" style="font-family:georgia,serif">Next, for the second stack of my dataset in "Input Layer B", i follow the same method, but when i select the second set of files these go to row 51 downward. For subsequent Input Layers C, D & E, the files occupy progressively lower rows below. I tried to circumvent the problem by clicking on "Add all files in the directory", under "Autofill", but the files always go to the row below the last one for the previous Input Layer. </div><div class="gmail_default" style="font-family:georgia,serif">I found that if i click at row 2 of "Input Layer B, etc." i can place the first file of my next stack, and then do the same in the subsequent rows of "Input Layer B". BUT, this is too tiring and unrealistic for any batch processing, especially when each dataset consists of >100 files.</div><div class="gmail_default" style="font-family:georgia,serif">Unless the files for different stacks are at the same consecutive rows of the Input Layers, i can not do the raster calculations.</div><div class="gmail_default" style="font-family:georgia,serif">I do not know if i am missing something while clicking on the items under "Autofill", or if this is a glitch in the system of batch processing.  </div><div class="gmail_default" style="font-family:georgia,serif">Kindly help, if possible, for a simple clickable solution on the Batch Processing window as it appears. Since i am not very conversant with the complex algorithms, i may not be able to key in expressions for inputting the files.</div><div class="gmail_default" style="font-family:georgia,serif">I find, though, that otherwise the batch processing tool is quite fast and accurate for my geotiff files. I would like to use it.</div><div class="gmail_default" style="font-family:georgia,serif">Your kind help will be very much appreciated.</div><div class="gmail_default" style="font-family:georgia,serif">With Kind regards,</div><div class="gmail_default" style="font-family:georgia,serif">amal kar.</div><div class="gmail_default" style="font-family:georgia,serif">---- ------ ----------- ------------</div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font color="#0000ff">Dr. Amal Kar</font><div><span style="background-color:rgb(255,255,255)"><font color="#660000" size="2" face="times new roman, serif">Former Principal Scientist and Head, Division of Natural Resources & Environment,</font></span></div><div><font style="background-color:rgb(255,255,255)" color="#660000" size="2" face="times new roman, serif">Central Arid Zone Research Institute, Jodhpur 342003, India</font></div><div><span style="color:rgb(0,0,255)">A-1/6, Baitalik Housing Society, KMDA Housing Complex,</span><br></div><div><font size="2" color="#0000ff">Baghajatin (Near Hiland Park),</font></div><div><font size="2" color="#0000ff">KOLKATA 700 094, India</font></div><div><font size="2" color="#0000ff">Email: <a href="mailto:akarcaz50@gmail.com" target="_blank">akarcaz50@gmail.com</a></font></div><div><br></div><div><br></div></div></div></div>