Starnet for sequence

Hi,

When using Starnet++ for sequence in Siril dev, it does one image and then stops with an error.

19:54:22: Sequence loaded: r_pp_images_ (1->150)
19:54:26: The AutoStretch display mode will use a 16 bit LUT
19:54:40: StarNet: with the current memory and thread limits, up to 1 thread(s) can be used
19:54:40: StarNet: processing…
19:54:40: Reading FITS: file r_pp_images_00001.fit, 3 layer(s), 3008x3008 pixels, 16 bits
19:54:40: Applying MTF with values 0.010345, 0.004127, 1.000000
19:54:41: Saving TIFF: 16-bit file F:\M42_Lpro_22\RGB\S1\IMAGES\starnet_r_pp_images_00001.tif, 3 layer(s), 3008x3008 pixels
19:54:55: Saving FITS: file starless_r_pp_images_00001.fit, 3 layer(s), 3008x3008 pixels, 16 bits
19:54:55: FITS error: failed to find or open the following file: (ffopen)
19:54:55: FITS error: F:\M42_Lpro_22\RGB\S1\IMAGES
19:54:55: FITS error: Illegal value for BITPIX keyword: 0
19:54:55: Sequence processing failed.

Hello.
Which siril version, which OS, … we need more information.

Oops, sorry about that.

Win 10 x64 latest update.

Starnet++ v2 cli WIN

Siril latest dev version downloaded from gitlab.

image

Hi,

You can update your version, this bug was fixed with commit aaf79c07 a few days back.

Cheers

C.

I am running into pretty much the same bug in Siril v1.2.0 so maybe that commit got clobbered. I have the same Win 10 x64 system and same version of Starnet++ v2 cli WIN.

And you are running compiled version too?

I just downloaded the command line version of StarNet. I did test it with its test image using the application that came with that version. I’m not sure if that answers your question. To add more details, here is the log from Siril:

23:35:58: StarNet: processing…
23:35:58: Reading FITS: file pp_light_00003.fit, 3 layer(s), 5202x3464 pixels, 32 bits
23:35:58: Applying MTF with values 0.010646, 0.009977, 1.000000
23:35:58: Saving TIFF: 16-bit file C:\Users\gbart\OneDrive\Documentos\astro_images\Siril\C_2022_E3_11feb23\process\starnet_pp_light_00001.tif, 3 layer(s), 5202x3464 pixels
23:35:59: Saving FITS: file starless_pp_light_00003.fit, 3 layer(s), 5202x3464 pixels, 32 bits
23:35:59: FITS error: ffopen could not interpret primary array header of file:
23:35:59: FITS error: starmask_pp_light_00003.fit
23:35:59: FITS error: ffopen could not interpret primary array header of file:
23:35:59: FITS error: starmask_r_bkg_pp_light_00003.fit
23:35:59: FITS error: Illegal value for BITPIX keyword: 0
23:35:59: Sequence processing failed.

Not at all.
If you are not using the compiled version of Siril but the official beta, so this is normal that your version is not fixed.

I see. I need a compiled version of Siril. So I followed the instructions at siril.readthedocs and set up MSYS2. That went OK. Then I installed the dependencies which seemed mostly OK. Things went south when I tried to actually build siril with meson. I got a “meson: command not found” error. Perhaps this is just a path issue but I don’t know how to set the right path. Same issue with ninja.

Did you follow the documentation: Installation on Microsoft Windows — Siril 1.2.0 documentation ?

Yes. Trouble at this command line:
meson setup _build --buildtype release
meson: command not found

Yes that means you did not installed meson. But if you did follow the link you should have installed.

This command that I used from the instructions should have installed meson as I understand it.
pacman --noconfirm -S --needed base-devel
mingw-w64-x86_64-toolchain
mingw-w64-x86_64-cmake
git
automake
mingw-w64-x86_64-lcms2
mingw-w64-x86_64-curl
mingw-w64-x86_64-json-glib
mingw-w64-x86_64-meson
mingw-w64-x86_64-ninja
mingw-w64-x86_64-fftw
mingw-w64-x86_64-exiv2
mingw-w64-x86_64-gtk3
mingw-w64-x86_64-libconfig
mingw-w64-x86_64-gsl
mingw-w64-x86_64-opencv
mingw-w64-x86_64-libheif
mingw-w64-x86_64-ffms2
mingw-w64-x86_64-cfitsio
mingw-w64-x86_64-libraw

At the end it said something about setting up file paths but it wasn’t clear what to do and there were no instructions about this.

Hi,

what do you get if you type
pacman -Qs meson in mingw console?

I realized that I messed up by not picking the terminal session with the blue symbol. It wasn’t showing in my start menu so I picked the one that seemed closest. I realized it just needed to be expanded to see the mingw console. Once I got that right I was able to do the build. Thanks for the pointers.

So I actually got it to run on a sequence but now have a different problem. When I try to do stacking for a comet it has lost the meta data in the starless images. Without the time information it cannot register the comet images. What is the work around for this?

Process comets first and export registered sequence. Then only after apply starnet