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

Keogram fixes and other changes #765

Merged
merged 7 commits into from
Nov 5, 2021
Merged

Keogram fixes and other changes #765

merged 7 commits into from
Nov 5, 2021

Conversation

EricClaeys
Copy link
Collaborator

No description provided.

Also combined a few lines that were short.
Only push the appropriate quality parameters (.png or .jpg), not both.
Remove setting debug based on ALLSKY_DEBUG_LEVEL - the user can use $KEOGRAM_EXTRA_PARAMETERS if they want to set the debug level.
Replaced more space with tabs.
read_file() reads a file and does basic error checking.
It's used initially to read the 1st file to set the now-global "nchan".
It's also used to read each file.
Keep track of width of the number of images (e.g., 1000 images is a width of 4 when displayed) so the output is a consistent width.
Have thread numbers appear as 1 - 4 rather than 0 - 3.
Each thread no longer sets "nchan" since it's set globally before the threads run.
No reason to display the rotation angle since it's used for every image and is in config.sh.
Output argument looking at for debugging (requires level 3).
Combined some lines to make it easier to read.
A couple spaces to tabs.
Fixed crash when size of image is different than other images - don't need to use "-s" option for this - it uses the 1st image as the baseline.
Made some variables global.
Moved some verbose printing into read_file().
Tell user when files are ignored.
Changed verbose level of some messages - warnings of bad files are level 1.  More verbose are 2 and above.
-f sets "nchan" instead of "fixed_channel_num".  The functionality is the same.
Only use the 1st image if "nchan" and "width/height" aren't specified on the command line.
@EricClaeys EricClaeys added bug Needs software change enhancement labels Nov 5, 2021
@linuxkidd linuxkidd merged commit fc0f7d3 into master Nov 5, 2021
@EricClaeys EricClaeys deleted the keogram-fix branch November 8, 2021 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Needs software change enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants