dernasherbrezon / r2cloud

Decode satellite signals on Raspberry PI or any other 64-bit CPU.
Apache License 2.0
255 stars 30 forks source link

WxtoImg processing #118

Open gorzynsk opened 2 years ago

gorzynsk commented 2 years ago

Hi,

I would love to process saved output file from NOAA passes in WxToImg with all of its capabilities. The problem is that the file downloaded have always "output.wav" name and not really a name that WxToImg would give it while recording the pass. I even tried to change the filename before opening in WxToImg, but it fails to decode the time of pass correctly and won't add overlay etc.

Could we somehow check how WxToImg recognizes time of pass and maybe change the default name of the downloaded file to match it?

dernasherbrezon commented 2 years ago

Can't find where wxtoimg requires time of pass. It might use it to auto detect satellite. But if you're processing it manually, then manual should be just fine.

Usage: wxtoimg [-N|-S] [-a|-b] [-e <enh>] [-f <hz>] [-h] [-t <sat>] x.wav x.png
  where: -N         northbound pass 
         -S         southbound pass (default)
         -a         channel A image only
         -b         channel B image only
         -e <enh>   enhancement option (histeq, MSA, MCIR, HVCT, sea, ZA, ...)
         -f <hz>    adjust sound card sample rate (default 11025.0)
         -h         show advanced options usage
         -t <sat>   force processing to one of:
                    Resurs(r), Meteor3(m), Meteor2(2), SICH1M(h), SICH(s), Okean(o), NOAA(n), Meteosat(e), GOES(g), GMS(j), MTSAT(k), other(x) (default is autodetect)
EricFROL commented 1 year ago

Hello. I have a simple script that processes the noaa recordings from r2cloud and outputs it on a folder, which you can have a web server on. https://github.com/EricFROL/r2cloud-apt-decoder Maybe this could satisfy your needs.