Stacking problems

Hi

I am having a problem with stacking images. When I stack “manually” by going through the Conversion, Calibration, Registration … process everything seems to work fine. But each time I rung the OSC_Proprocessing script, I run into this problem:

Platform: MacOS 13.2.1 (22D68)
Version: 1.2.0-beta2 (build 7216)

Log:

8:04:15: Execution time: 9.67 s
08:04:15: Running command: cd
08:04:15: Setting CWD (Current Working Directory) to '/Users/salimansari/Desktop/Siril/2023.03'
08:04:15: # Convert Dark Frames to .fit files
08:04:15: Running command: cd
08:04:15: Setting CWD (Current Working Directory) to '/Users/salimansari/Desktop/Siril/2023.03/darks'
08:04:15: Running command: convert
08:04:15: Convert: processing 20 FITS files...
08:04:15: Conversion succeeded, 20 file(s) created for 20 input file(s) (20 image(s) converted, 0 failed)
08:04:15: Running command: cd
08:04:15: Setting CWD (Current Working Directory) to '/Users/salimansari/Desktop/Siril/2023.03/process'
08:04:15: # Stack Dark Frames to dark_stacked.fit
08:04:15: Running command: stack
08:04:15: Checking sequences in the directory: /Users/salimansari/Desktop/Siril/2023.03/process.
08:04:15: Stacking sequence dark_
08:04:15: Processing all images in the sequence (20)
08:04:15: Stacking result will be stored as a 32-bit image
08:04:15: No registration layer passed, ignoring registration data!
08:04:15: Using 13865 MB memory maximum for stacking
08:04:15: We have 10 parallel blocks of size 364 (+8) for stacking.
08:04:15: Starting stacking...
08:04:16: Pixel rejection in channel #0: 0.242% - 0.451%
08:04:16: Rejection stacking complete. 20 images have been stacked.
08:04:16: Integration of 20 images on 20 of the sequence:
08:04:16: Pixel combination ......... average
08:04:16: Input normalization ....... none
08:04:16: Output normalization ...... disabled
08:04:16: Pixel rejection ........... winsorized sigma clipping
08:04:16: Rejection parameters ...... low=3.000 high=3.000
08:04:16: Creating rejection maps ... no
08:04:16: Image weighting ........... disabled
08:04:16: Background noise value (channel: #0): 92.375 (1.410e-03)
08:04:16: Saving FITS: file ../masters/dark_stacked.fits, 1 layer(s), 5440x3648 pixels, 32 bits
08:04:16: Stacked sequence successfully.
08:04:16: Execution time: 1.71 s
08:04:16: Running command: cd
08:04:16: Setting CWD (Current Working Directory) to '/Users/salimansari/Desktop/Siril/2023.03'
08:04:16: # Convert Light Frames to .fit files
08:04:16: Running command: cd
08:04:16: Setting CWD (Current Working Directory) to '/Users/salimansari/Desktop/Siril/2023.03/lights'
08:04:16: Running command: convert
08:04:16: Convert: processing 120 FITS files...
08:04:16: Conversion succeeded, 120 file(s) created for 120 input file(s) (120 image(s) converted, 0 failed)
08:04:16: Running command: cd
08:04:16: Setting CWD (Current Working Directory) to '/Users/salimansari/Desktop/Siril/2023.03/process'
08:04:16: # Calibrate Light Frames
08:04:16: Running command: calibrate
08:04:16: Checking sequences in the directory: /Users/salimansari/Desktop/Siril/2023.03/process.
08:04:16: Reading FITS: file dark_stacked, 1 layer(s), 5440x3648 pixels, 32 bits
08:04:16: Reading FITS: file pp_flat_stacked, 1 layer(s), 5440x3648 pixels, 32 bits
08:04:16: Cosmetic correction from masterdark: deactivated for cold pixels.
08:04:16: Cosmetic correction from masterdark: deactivated for hot pixels.
08:04:16: Preprocessing...
08:04:16: Preprocessing: with the current memory and thread limits, up to 10 thread(s) can be used
08:04:17: Normalisation value auto evaluated: 0.986
08:04:17: 0 corrected pixels (0 + 0)
08:04:17: Preprocessing: processing...
08:04:17: Reading FITS: file light_00030.fits, 3 layer(s), 5440x3648 pixels, 32 bits
08:04:17: Images must have same dimensions.
08:04:17: Reading FITS: file light_00007.fits, 3 layer(s), 5440x3648 pixels, 32 bits
08:04:17: Images must have same dimensions.
08:04:17: Reading FITS: file light_00026.fits, 3 layer(s), 5440x3648 pixels, 32 bits
08:04:17: Images must have same dimensions.
08:04:17: Reading FITS: file light_00017.fits, 3 layer(s), 5440x3648 pixels, 32 bits
08:04:17: Images must have same dimensions.
08:04:17: Reading FITS: file light_00042.fits, 3 layer(s), 5440x3648 pixels, 32 bits
08:04:17: Images must have same dimensions.
08:04:17: Reading FITS: file light_00022.fits, 3 layer(s), 5440x3648 pixels, 32 bits
08:04:17: Images must have same dimensions.
08:04:17: Reading FITS: file light_00034.fits, 3 layer(s), 5440x3648 pixels, 32 bits
08:04:17: Images must have same dimensions.
08:04:17: Reading FITS: file light_00001.fits, 3 layer(s), 5440x3648 pixels, 32 bits
08:04:17: Images must have same dimensions.
08:04:17: Reading FITS: file light_00012.fits, 3 layer(s), 5440x3648 pixels, 32 bits
08:04:17: Images must have same dimensions.
08:04:17: Reading FITS: file light_00038.fits, 3 layer(s), 5440x3648 pixels, 32 bits
08:04:17: Images must have same dimensions.
08:04:17: Sequence processing failed.
08:04:17: Setting CWD (Current Working Directory) to '/Users/salimansari/Desktop/Siril/2023.03'
08:04:17: Script execution failed.

I’m kind of missing what software this concerns. Stacking with what?

Seems to be Siril, based on OSC_Pr>>>o<<<processing → OSC_Pr>>>e<<<processing. I’ll adjust the category.

Thank you kofa!
SalAstro: you should reset your image directories, because apparently you have mixed some images that don’t belong together in one of them, remove the process directory too.

Hi vinvin,

Did that. Still same problem. This only appears in the most recent release of the beta version. Never had this problem in the past.

This log is not something specific in the last version no. Check all your input directories. You have a mix of images.
Looks like your images are already debayerd when it should not be the case during calibration stage.

Then why can I stack them “manually” and only get this problem when I use the script?

All images came from the same source, same setup, same time, nothing special about them …

08:04:16: Reading FITS: file pp_flat_stacked, 1 layer(s), 5440x3648 pixels, 32 bits

08:04:17: Reading FITS: file light_00030.fits, 3 layer(s), 5440x3648 pixels, 32 bits
08:04:17: Images must have same dimensions.

You have a mix of 1layer image and 3layers images. Your lights are already demosaiced. They shouldn’t. If you do use debayerd images, then calibration step should be avoided.
This is normal the script cannot continue.

OK. Thanks. Will have to try with a different setup, but honestly I did not change anything during the exposure of 120 images …

I get this error also, but not computer literate so no idea what I need to do to fix it. I use ZWO 533MC Pro and ZWO ASIair+ and an M1 Macbook Air. Is there a way to see if the images are 1 or 3 layers? And if so, what did I likely do to cause this?
This may also explain why ASIStudio DeepStack no longer works on most of my images.
But ASTAP still works.
Very weird but all must have a common thread.
Thanks

If you have a look to the logs you will have all information you need.