Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update startrails.html: minor improvements #3204

Merged
merged 1 commit into from
Dec 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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