OSC Ha/OIII processing fails
Below generated script crashes at line 56 seqextract_HaOIII pp_cc_pp_images
with an error message that I do not have at hand but telling me something like the images need to be CFA. The problem is caused by the -debayer
option in line 45 preprocess cc_pp_images -debayer
I was unable to find a setting the remove the -debayer option. Found on Sirlic V1.13.6
################################################################################
# Don't edit : generated by C:\Users\SevenW\Downloads\sirilic-V1.13.6.exe
# Compatibility with Siril: Version >= 0.99.8
requires 0.99.8
# uncomment next line to force Work Directory
# cd 'D:\Sterren\SirilicWork'
set32bits
setcompress 0
setext fit
setcpu 10
################################################################################
# Automating: layer cHaO3 of S
# Object Directory
cd './NGC6946NB/cHaO3/S'
#TAG#{ [1] NGC6946NB\cHaO3\S: dark ...
#
# DARK MASTER BUILDING
cd 'DARKS'
cd SRC
convert darks -out=..
cd '..'
preprocess darks -bias=../MASTER/master-offset.fit
stack pp_darks rej 3.0 3.0 -nonorm -out=../MASTER/master-dark.fit
cd '..'
#
#TAG#} [1]
#TAG#{ [2] NGC6946NB\cHaO3\S: dark, image ...
#
# IMAGE PROCESSING
cd 'IMAGES'
cd SRC
convert images -out=..
cd '..'
preprocess images -bias=../MASTER/master-offset.fit -dark=../MASTER/master-dark.fit -flat=../MASTER/master-flat.fit -cfa -equalize_cfa -opt
seqfind_cosme_cfa pp_images 3.0 3.0
preprocess cc_pp_images -debayer
cd '..'
#
#TAG#} [2]
#TAG#{ [3] NGC6946NB\cHaO3\S: dark, image, SetFindStar ...
#
setfindstar 1.0 0.5
#
#TAG#} [3]
#TAG#{ [4] NGC6946NB\cHaO3\S: dark, image, extract Ha-Oiii ...
#
cd 'IMAGES'
seqextract_HaOIII pp_cc_pp_images
cd '..'
#
#TAG#} [4]
#TAG#{ [5] NGC6946NB\cHaO3\S: dark, image, register.Ha ...
#
cd 'IMAGES'
register Ha_pp_cc_pp_images -drizzle
cd '..'
#
#TAG#} [5]
#TAG#{ [6] NGC6946NB\cHaO3\S: dark, image, register.Ha, stack.Ha ...
#
cd 'IMAGES'
stack r_Ha_pp_cc_pp_images rej 3.0 3.0 -norm=addscale -output_norm -out=../cHa
# Copy cHa to C-5
load '../cHa'
save '../../../Temp/C-5'
save '../../../NGC6946NB_cHa'
cd '..'
#
#TAG#} [6]
#TAG#{ [7] NGC6946NB\cHaO3\S: dark, image, register.Ha, stack.Ha, register.OIII ...
#
cd 'IMAGES'
register OIII_pp_cc_pp_images -drizzle
cd '..'
#
#TAG#} [7]
#TAG#{ [8] NGC6946NB\cHaO3\S: dark, image, register.Ha, stack.Ha, register.OIII, stack.OIII ...
#
cd 'IMAGES'
stack r_OIII_pp_cc_pp_images rej 3.0 3.0 -norm=addscale -output_norm -out=cO3
# Linear match: cO3 / cHa
load cO3
linear_match ../cHa 0 0.92
save ../cO3
# Copy cO3 to C-4
load '../cO3'
save '../../../Temp/C-4'
save '../../../NGC6946NB_cO3'
cd '..'
#
#TAG#} [8]
cd '../../..'
################################################################################
#TAG#{ [9] ... Finished ...
#
# Work Directory
cd 'D:/Sterren/SirilicWork'
#
#TAG#} [9]
close
edit 24-5-2021 10:46: Corrected code formatting.
Edited by Seven Watt