I love this script, but it can’t process more than 2048 lights. I think that’s due to it using the symbolic link. How do I modify it so that it doesn’t use symbolic links? (I know it’ll use more data, that’s ok, I have a big SSD and use the RICE compression on my .FITS).
Here is the script:
############################################
Script for Siril 1.0
July 2020
(C) Cyril Richard
Preprocessing_WithoutDark v1.0
########### PREPROCESSING SCRIPT ###########
Script for color camera preprocessing
Needs 3 sets of RAW images in the working
directory, within 4 directories:
biases/
flats/
lights/
############################################
requires 0.99.4
Convert Bias Frames to .fit files
cd biases
convert bias -out=…/process
cd …/process
Stack Bias Frames to bias_stacked.fit
stack bias rej 3 3 -nonorm
cd …
Convert Flat Frames to .fit files
cd flats
convert flat -out=…/process
cd …/process
Pre-process Flat Frames
preprocess flat -bias=bias_stacked
Stack Flat Frames to pp_flat_stacked.fit
stack pp_flat rej 3 3 -norm=mul
cd …
Convert Light Frames to .fit files
cd lights
convert light -out=…/process
cd …/process
Pre-process Light Frames
preprocess light -bias=bias_stacked -flat=pp_flat_stacked -cfa -equalize_cfa -debayer
Align lights
First doing: register pp_light -2pass -noout
register pp_light -2pass -noout
Now doing: seqapplyreg pp_light -framing=max
seqapplyreg pp_light -framing=max
Stack calibrated lights to result.fit
stack r_pp_light rej 3 3 -norm=addscale -output_norm -out=…/result
cd …
close