Skip to content

Commit

Permalink
Merge pull request #3204 from thomasjacquin/Improve-startrails-docume…
Browse files Browse the repository at this point in the history
…ntation

Update startrails.html: minor improvements
  • Loading branch information
EricClaeys authored Dec 20, 2023
2 parents 7956ede + 9a790a8 commit b7d8f2e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions html/documentation/explanations/startrails.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ <h2><code>startrails</code> program</h2>

Example when running the program manually:
<pre>
./startrails -d ./images/20180223/ -e jpg -b 0.15 -o ./images/20180223/startrails/startrails.jpg
cd ~/allsky
bin/startrails -d images/20240223/ -e jpg -b 0.15 -o images/20240223/startrails/startrails-20240223.jpg
</pre>

<br><p>
Expand All @@ -72,10 +73,11 @@ <h2><code>startrails</code> program</h2>

<blockquote>
<b>Tip</b>: If you set the
<span class="WEBUISetting">Image Width</span>
<span class="WebUISetting">Image Width</span>
and
<span class="WEBUISetting">Image Height</span>
of your camera in the WebUI <b>Camera Settings</b> page to the actual values of your camera,
<span class="WebUISetting">Image Height</span>
of your camera in the WebUI <span class="WebUIWebPage">Allsky Settings</span>
page to the actual values of your camera,
startrails generation will skip any file that's not the correct size.
This will eliminate any garbage images that happen to be generated.
</blockquote>
Expand Down Expand Up @@ -108,23 +110,21 @@ <h2>Troubleshooting</h2>
<span class="fileName">allsky/images/test</span> (select with mouse,
then drag to the <span class="fileName">test</span> directory).
<b>nighttime</b> includes any file you want in the startrails image.
<li><span class="fileName">cd ~/allsky/scripts</span>
<li>Run s(tartrails) on the <span class="fileName">test</span> directory,
which contains only nighttime images: <code>./generateForDay.sh -s test</code>.
<li>Create a startrails file in the <span class="fileName">test</span> directory
which contains only nighttime images: <code>generateForDay.sh --startrails test</code>.
<li>It should say <b>No images below...</b>.
<li>Look at the "Minimum..." line.
Set the <span class="shSetting">BRIGHTNESS_THRESHOLD</span>
to the maximum, or slightly below it.
<li><code>./generateForDay.sh -s test &nbsp; &nbsp; # this should give pretty good results</code>
<li><code>generateForDay.sh --startrails test &nbsp; &nbsp; # this should give pretty good results</code>
<li>Adjust <span class="shSetting">BRIGHTNESS_THRESHOLD</span>
and re-run <code>generateForDay.sh</code> as needed.
<li>When done, in the "File Manager",
move all the images in <span class="fileName">allsky/images/test</span>
<li>When done move all the images in <span class="fileName">allsky/images/test</span>
back to <span class="fileName">allsky/images/DATE</span>.
<li><code>rm -fr ~/allsky/images/test &nbsp; &nbsp; # remove the temporary directory</code>
<li>Now, create the final startrails:
<ul>
<li><code>./generateForDay.sh -s DATE</code>
<li><code>generateForDay.sh --startrails DATE</code>
<li>If you want to upload the <span class="fileName">startrails.jpg</span>
file you just created, see the note generated by <code>generateForDay.sh</code>.
</ul>
Expand Down

0 comments on commit b7d8f2e

Please sign in to comment.