Hello,
I just tried to do a larger batch with BatchPreprocessing script. What I had to do is using several flat frames from different directories, but named in the same manner, like:
Flat_red_001.fits
Flat_red_002.fits
...
The problem is, I have different files in different directories, but with the same name. Doing the Integration of the flats fails with the following message:
C:/Astronomy/Images/23 November 2014/calibrated/flat/Flat-red-0009_c.xisf
Loading image: w=4096 h=4096 n=1 Gray Float32
Computing image statistics: done
Weight : 1.00000
C:/Astronomy/Images/23 November 2014/calibrated/flat/Flat-red-0009_c.xisf
*** PCL Exception: File I/O Error: Unable to open file: Win32 error (32): The process cannot access the file because it is being used by
: C:/Astronomy/Images/23 November 2014/calibrated/flat/Flat-red-0009_c.xisf
another process.
<* failed *>
As far as I understand it, it writes an output twice (by actually overwriting the file), and then tries to access it, causing the error. It might make sense to add a "Rename if existing file found" option to the script.
Thanks
Lukas