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

Send all images in daytime - IR only at nightime #4

Open
jeffreypkelly opened this issue Dec 11, 2017 · 3 comments
Open

Send all images in daytime - IR only at nightime #4

jeffreypkelly opened this issue Dec 11, 2017 · 3 comments

Comments

@jeffreypkelly
Copy link

There is one more thing that I would like to work on.

  1. In the evening, only send the IR image and not the black, blank, image.

So I know you have this code in def process_image(file_name):

	evening_pass = False
	pass_time = int(file_name[-4:])
	if ((pass_time > 1600) or (pass_time < 0400)):
		evening_pass = True

Do you think that could be worked into the def email_image(file_name): section
to send all in the daytime and only IR in the evening?

Jeff
K2SDR
[email protected]

@gvandela
Copy link
Owner

The sky is the limit ;)
I don't seem to find much time these days, though I'm sure it's not that much work. Feel free to contribute!
I'll see if I can free up some time, it is rather useless to send blanc images.
In addition, sometimes the satellite will send channel 4 data instead of channel 5. It would be nice to detect that and create IR images with channel 4 info.

@gvandela
Copy link
Owner

gvandela commented Dec 12, 2017

Actually, I have this some thought and the visible range images indeed appear black, but they are still visible imagery. Just at night, stuff tends to be dark :) BUT, e.g. during periods around the solstices and depending on your latitude, you can see the North/South pole lit. So I'll keep the visible images in fact.
Unless we take it a step further and do some image processing to check how much information is in the images, which would be useful to check whether there's channel 5 data or channel 4 data.
This is probably easier in the decoder, but unfortunately, I did not write the decoder.

@jeffreypkelly
Copy link
Author

jeffreypkelly commented Dec 12, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants