gvandela / MeteorRpiReceiver

a set of python scripts to automatically capture, decode & e-mail Meteor-M2 satellite images
40 stars 9 forks source link

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

Open jeffreypkelly opened 6 years ago

jeffreypkelly commented 6 years ago

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 jkelly@verizon.net

gvandela commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Ok makes sense.
TY,

Jeff

http://www.k2sdr.com

On Dec 12, 2017, at 4:04 AM, gvandela notifications@github.com wrote:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.