Jump to content

Batch Convert Possible?


Liam Quinn

Recommended Posts

Here's a script to convert everything in a folder named "Raw" to be readable by PI

Make sure this Raw folder is in your working directory, you can set this using the house icon on the top left of the screen:

image.png.b258e10e160de71efc34726f1199768a.png

After running the script you'll have a folder named "Converted". This will remove all the names of the frames, but all the details in the FITS headers remain unchanged anyway so it won't affect anything. If you want to keep the names you can just work in batches, Ha then OIII etc.

For more information on the other scripts/installing there is a pinned thread in the SIRIL forum:

If you have any issues let me know

telescope.live_Batch_Convert.ssf

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 6 months later...

Hi Alexander,

Discovering issues with the 'automatically calibrated' OIII and SII image files for the Bubble Nebula (NGC 7635), I downloaded the uncalibrated frames, along with the associated calibration files.  Then I discovered that these are 'raw' files that PI can't read.  That lead me to Siril.  I confirmed that Siril could open these files and that, one at a time, they can be saved as a fit file that PI can read.  Looking for a batch procedure, I found this thread (yippee!).  I downloaded your script, put it in a newly created scripts folder, and found that Siril did find it!  I put a bunch of files in a desktop folder called 'Raw' (btw, I'm running Siril on a Mac).  I clicked on the script, got a little dialog box that included 'run script.'  I clicked on that and... as far as I can tell, nothing happened - no folder called 'Converted.'  Got any ideas about what I'm doing wrong?  I hate to think I'm going to have to convert 100+ files, one at a time....

 

  Cheers - Steve

Link to comment
Share on other sites

18 hours ago, Stephen Wright said:

Hi Alexander,

Discovering issues with the 'automatically calibrated' OIII and SII image files for the Bubble Nebula (NGC 7635), I downloaded the uncalibrated frames, along with the associated calibration files.  Then I discovered that these are 'raw' files that PI can't read.  That lead me to Siril.  I confirmed that Siril could open these files and that, one at a time, they can be saved as a fit file that PI can read.  Looking for a batch procedure, I found this thread (yippee!).  I downloaded your script, put it in a newly created scripts folder, and found that Siril did find it!  I put a bunch of files in a desktop folder called 'Raw' (btw, I'm running Siril on a Mac).  I clicked on the script, got a little dialog box that included 'run script.'  I clicked on that and... as far as I can tell, nothing happened - no folder called 'Converted.'  Got any ideas about what I'm doing wrong?  I hate to think I'm going to have to convert 100+ files, one at a time....

 

  Cheers - Steve

Hi Steve,

 

Your workflow seems spot on, however I noticed you haven't set your working directory.

image.png.b258e10e160de71efc34726f1199768a.png

This button will allow you to set your working directory (it's located at the top left of the interface) and your Raw (please make sure the folder has a capital R) folder should be inside this working directory.

After that you should see some information in the console on the right half of the interface - if you have any errors please let me know 🙂

 

Kind regards

Alex

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site you agree to our Guidelines