JPEG creating test #122023年03月30日 00時49分

JPEG creation method

Request CAS-5A data to SatNOGS
Rename from long file name to 30330ng9.csv
Find [0407 and FFD8] line in 30330ng9.csv
This file is CAS-5A JPEG image file No_9.
This line can be found on line 86520.
[0407] frame size, [FFD8] jpg header
[0407] hexadecimal = [1031] decimal
hex-dec conversion Site

[ext009.rb]
> for i in 1..0x407
> printf("grep 030407%04X0100160C090B2E32080907 30330ng9.csv | head -1 | cut -c 59- >> 30330ng9.hex\n", i)
> end

$ ruby ext009.rb
$ ruby ext009.rb > 30330ng9.sh
$ sh 30330ng9.sh [---generate "30330ng9.hex" after this command]
$ cat 30330ng9.hex > 30330ng9.txt
$ cut -c 27- 30330ng9.txt > 30330ng9-less-27.txt
$ tr -d '\n' < 30330ng9-less-27.txt > 30330ng9-one-line.txt
$ cat 30330ng9-one-line.txt | xxd -r -p > 30330ng9-completion.jpg

my detailed Site,
https://www.ne.jp/asahi/hamradio/je9pel/cas5ajpg.htm (EN)
https://www.ne.jp/asahi/hamradio/je9pel/cas5atst.htm (JP)