×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Mosaics using scheduler

  • Posts: 64
  • Thank you received: 9

Mosaics using scheduler was created by Ray

Hi, I've recently been experimenting using the scheduler for mosaics. I see there are options within the scheduler to repeat individual scheuler jobs but is it possible or could it be added to have options to repeat the scheduler queue too. What i like to do is take a few subs of each panel then move to the next panel. This way i get at least some data for the whole mosaic and if time/weather permits the schedule could restart the queue again and collect more data with each pass.
1 year 3 months ago #88956

Please Log in or Create an account to join the conversation.

  • Posts: 593
  • Thank you received: 276

Replied by John on topic Mosaics using scheduler

On the scheduler tab there are options to run the sequence once, x times, or until the session is terminated, etc.
1 year 3 months ago #88961

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 9

Replied by Ray on topic Mosaics using scheduler

Hi John, those I see and have used but they repeat each job x times before going onto the next job on the queue. I mean run each job once then start again from the start of the queue for x number of cycles. So the total number of subs would be the same but if weather turns bad after a time you would still have some data for all panels of the mosaic. Currently you could only have data for some parts of the mosaic. Depending how long a session you get. Where I am in the UK sessions are typically short and infrequent.

Cheers
Last edit: 1 year 3 months ago by Ray.
1 year 3 months ago #88963

Please Log in or Create an account to join the conversation.

  • Posts: 593
  • Thank you received: 276

Replied by John on topic Mosaics using scheduler

Ah yes, I was forgetting that the mosaic tool creates multiple sequences.

There might be a better answer but what I do is:
1. Create a basic sequence file in Capture for what you want and save the x.esq file.
2. Run it through the mosaic tool to create the mosaic sequences in the scheduler. Save the schedule in x.esl which will create x-part1.esq and x-part2.esq, etc.
3. Then I create a copy of the 3 files in 2. E.g. y.esl, y-part1.esq and y-part2.esq. You need to edit the files and change the references from x to y. This is necessary if you have the Ekos option "Remember job progress" set on which I do (you might not need to create separate sequences if you turn this off but I've not tried it). An alternative to editing the files is to create a duplicate of x.esl, say y.esl and run both through the mosaic tool. Either way you end up with the same set of files.
4. Then back to the scheduler, load x.esl, then load append y.esl. (Buttons on top right of scheduler screen.)

Its a bit fiddly but it works. You can play with it using the simulator and just a computer and create a sequence of 1 x 1 second exposure so its pretty fast to check it out.

Be interesting to see if anyone comes up with a better way.
The following user(s) said Thank You: Ray
1 year 3 months ago #88971

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 9

Replied by Ray on topic Mosaics using scheduler

Thanks John, I'll study what you suggest and give it a try.
1 year 3 months ago #88973

Please Log in or Create an account to join the conversation.

  • Posts: 75
  • Thank you received: 13

Replied by Mireia on topic Mosaics using scheduler

Exactly, as Ray says that repeats the actual job, not the schedule. There should be a way to loop 'over the loop' N times or indefinitely.

Also, given the request, there should be an option to equalize the jobs so that the zenith distance coverage is similar among the different mosaic panels, otherwise, the background can change dramatically if you go over big mosaics.
1 year 3 months ago #89027

Please Log in or Create an account to join the conversation.

  • Posts: 1009
  • Thank you received: 133
Are people here now also starting to post ChatGPT answers without having a clue what they write about?
1 year 3 months ago #89172

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
Hi everyone, i have the same problem with mosaic using scheduler, i need do a mosaic 4x4 but one shoot each panel and when finish capture all panels, repeat again the schedule.
If you uncheck the option "Remember job progress", you can undefined times append the file "x.esl" whitout create a duplicate of this file. and this mode you repeat the secuency.
But if you want to do this all night? for example 100 iterations... you need to load the "x.esl file" 100 times again...

This can be a problem in mosaic usin scheduler. I think in the job completion conditions, the repeat for option, should be for all jobs in scheduler but no repeat a panel x times and pass to the next, should be panel 1, panel2, panel3...finish all panels one time and repeat again x times until complete the number of runs indicated in the repeat for option.

I think this is a bug, because for repeat each panel numbers of shots its the "x.esq" file.
So the repeat for option, should repeat all secuency and finish when complete the number of runs selected.

Another option its add a restart button in the job completion conditions, and restart all jobs a x number of runs.

I created a bug report here: invent.kde.org/education/kstars/-/issues/249

Thank you.
Last edit: 9 months 5 days ago by Javier Albella.
9 months 5 days ago #93612
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 1185
  • Thank you received: 370
@Javier: I‘ll take a closer look onto it on the weekend.
The following user(s) said Thank You: Javier Albella
9 months 5 days ago #93613

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
The bug reported: bugs.kde.org/show_bug.cgi?id=471373

See this video for more details:


So, if i want repeat all jobs, the "repeat for" should be repeat all jobs, and if you want get a x number of captures from each panel, i set it on the sequency file (*.esq), for example:

i want to do a panel 2x2 and each panel with 10 captures of 30 seconds, and repeat for 3 times.
The procedure should be:

1º) Prepare the sequency 10x30seg.esq file
2º) Set "Repeat for = 3" in job completion conditions
3º) Make the mosaic 2x2 and creat jobs
4º) Run the scheduler and it should work doing:
First repeat:
10 captures from panel 1
10 captures from panel 2
10 captures from panel 3
10 captures from panel 4
Second repeat:
10 captures from panel 1
10 captures from panel 2
10 captures from panel 3
10 captures from panel 4
Third repeat:
10 captures from panel 1
10 captures from panel 2
10 captures from panel 3
10 captures from panel 4
...
And finish Scheduler jobs.

however, now the scheduler its doing:

30 captures from panel 1
30 captures from panel 2
30 captures from panel 3
30 captures from panel 4

Try to do it @Wolfgang Reissenberger

Now the scheduler repeat each job x times before going onto the next job on the queue.
To optimize the maximum captures posible in the night, i mean run each job once then start again from the start of the queue for x number of cycles
with this method, if weather turns bad after a time you would still have some data for all panels of the mosaic.

The objective from this method its not only usefull for astrophotography , its necesary to find variable stars, exoplanets, asteroide... too. Because for this astrophysics study its necesary get maximum number of captures in shortly time.
Thanks you!!
Last edit: 9 months 5 days ago by Javier Albella.
9 months 5 days ago #93618

Please Log in or Create an account to join the conversation.

  • Posts: 1185
  • Thank you received: 370
Hello Javier,
I understand your point, but this feature of iterating over groups of scheduler jobs goes beyond the current capabilities of the scheduler.

But there is a workaround, that in some situations is even more flexible.
  1. Enable the "Remember Job Progress option
  2. Create the mosaic jobs with 10 iterations
  3. Now duplicate each job and set it to 20 iterations
  4. Move the jobs with 20 iterations below all jobs with 10 iterations

With this setup, the scheduler will first complete the jobs with the first 10 iterations. As soon as they are completed, it will start the first job with 20 iterations. Since there have already been 10 iterations completed, this job will be completed after additional 10 iterations. And so forth...

HTH
Wolfgang
9 months 5 days ago #93625

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
Hello Wolfgang Reissenberger, this its no solution for science applications.

This solution its the same before reported by another users, and for its ok upto 100 rows in scheduler.
But above 100 rows... its no able because scheduler go slow above 120 rows.

For search variabels stars, asteroids, exoplanets its neaded do at least 300 captures with few seconds for each panel, and this for a mosaic 4x4 are 16panels:
so 16panels x 300 captures = 4800 rows in scheduler.

The scheduler go slow abobe 100 or 120 rows and crash above 500 rows ... So i think this its really a performance bug in scheduler.

Another posible solution? there is any method to reset all jobs automatically and restart when finish?
If this its possible, i could do it with a full mosaic tour (in the example will be 16 rows in scheduler) and when finish , reset all and start again.

Thanks!!
Last edit: 9 months 3 days ago by Javier Albella.
9 months 5 days ago #93630

Please Log in or Create an account to join the conversation.

Time to create page: 6.082 seconds