● (No.1161) SAKURA jpg creating on LINUX (2024年9月5日)
------------------------------------------------------
#1 [20240903T1301.csv @JE1CVL]
[Extract]
|------- 20 -------||------- 20 -------|
2024-09-03 13:06:58,
4A5331594D59304A5331594E49303EF053CCFF84
0001251F1A1B231C1616202C20232627292A2919
1F2D302D283025282928FFDB0043010707070A08
0A130A0A13281A161A2828282828282828282828
282828
[ext084.rb]
> for i in 0..0x03f
> printf("grep 3EF053CCFF84%04X 20240903T1301_modified.csv | head -1 | cut -c 65-186 >> 20240903T1301_modified_cut.hex\n", i)
> end
[Terminal]
> [0063] decimal = [003f] hexadecimal
> save above [ext084.rb]
$ ruby ext084.rb
$ ruby ext084.rb > 40903skr.sh
$ sh 40903skr.sh
$ cat 20240903T1301_modified_cut.hex > 40903skr.hex
$ tr -d '\n' < 40903skr.hex > 40903skr-oneline.hex
$ cat 40903skr-oneline.hex | xxd -r -p > 40903skr-completion.jpg
#2 [20240830T1424.hex @JE1CVL]
Part of the Earth is visible.
[Extract]
|------- 20 -------||------- 20 -------|
4A5331594D59304A5331594E49303EF053CCFF8C
0001251F1A1B231C1616202C20232627292A2919
1F2D302D283025282928FFDB0043010707070A08
0A130A0A13281A161A2828282828282828282828
282828
[ext08c.rb]
> for i in 0..0x027
> printf("grep 3EF053CCFF8C%04X 20240830T1424_spacecut_modified.hex | head -1 | cut -c 45-166 >> 20240830T1424_spacecut_modified_cut.hex\n", i)
> end
[Terminal]
$ tr -d ' ' < 20240830T1424.hex > 20240830T1424_spacecut_modified.hex
> [0039] decimal = [0027] hexadecimal
> save above [ext08c.rb]
$ ruby ext08c.rb
$ ruby ext08c.rb > 40830skr.sh
$ sh 40830skr.sh
$ cat 20240830T1424_spacecut_modified_cut.hex > 40830skr.hex
$ tr -d '\n' < 40830skr.hex > 40830skr-oneline.hex
$ cat 40830skr-oneline.hex | xxd -r -p > 40830skr-completion.jpg
#3 [20240905T1254.csv @JE1CVL]
Part of the Earth is visible.
[Extract]
|------- 20 -------||------- 20 -------|
2024-09-05 13:03:36,
4A5331594D59304A5331594E49303EF053CCFF80
0001251F1A1B231C1616202C20232627292A2919
1F2D302D283025282928FFDB0043010707070A08
0A130A0A13281A161A2828282828282828282828
282828
[ext080.rb]
> for i in 0..0x05e
> printf("grep 3EF053CCFF80%04X 20240905T1254_80.csv | head -1 | cut -c 65-186 >> 20240905T1254_80_cut.hex\n", i)
> end
[Terminal]
> [0094] decimal = [005e] hexadecimal
> save above [ext080.rb]
$ ruby ext080.rb
$ ruby ext080.rb > 40905skr.sh
$ sh 40905skr.sh
$ cat 20240905T1254_80_cut.hex > 40905skr.hex
$ tr -d '\n' < 40905skr.hex > 40905skr-oneline.hex
$ cat 40905skr-oneline.hex | xxd -r -p > 40905skr-completion.jpg
#4 [20240925T1144.csv @JE1CVL]
[ext08c.rb]
> for i in 0..0x119
> printf("grep 3EF053CCFF8C%04X 20240925T1144.csv | head -1 | cut -c 65-186 >> 20240925T1144_8C_cut.hex\n", i)
> end
[Terminal]
> [0281] decimal = [0119] hexadecimal
> save above [ext08c.rb]
$ ruby ext08c.rb
$ ruby ext08c.rb > 40925sk2.sh
$ sh 40925sk2.sh
$ cat 20240925T1144_8C_cut.hex > 40925sk2.hex
$ tr -d '\n' < 40925sk2.hex > 40925sk2-oneline.hex
$ cat 40925sk2-oneline.hex | xxd -r -p > 40925sk2-completion.jpg
#5 [SAKURA jpg image new]
SatNOGS 2024-10-03, File No.94 のデータには、"C0C010" で連結されている部分が
多々あったので、事前にこれを手作業でカットし、赤字のように整形してからいつも
のようにruby構文を作成し、Terminal からシェルスクリプトを実行し、次図を得た。
綺麗な地球写真にならないのは、衛星側に何か機械的な問題があるように思う。
The data in SatNOGS 2024-10-03, File No.94 contained many parts linked with
"C0C010", so I manually cut these out in advance. After formatting it as
shown in red, I created the Ruby syntax as usual, then ran the shell script
from Terminal to get the following image. I think there is probably some
mechanical problem with the satellite, so I think this is why we can't take
beautiful photos of the Earth. (Tnx>JH4XSY/1)
[ext094.rb]
> for i in 0..0x169
> printf("grep 3EF053CCFF94%04X 41003_c0c010_cut.csv | head -1 | cut -c 65-186 >> 41003_cut.hex\n", i)
> end
[Terminal]
> [0361] decimal = [0169] hexadecimal
> save above [ext094.rb]
$ ruby ext094.rb
$ ruby ext094.rb > 41003skr.sh
$ sh 41003skr.sh
$ cat 41003_cut.hex > 41003skr.hex
$ tr -d '\n' < 41003skr.hex > 41003skr-oneline.hex
$ cat 41003skr-oneline.hex | xxd -r -p > 41003skr-completion.jpg
#6 [SAKURA jpg image update]
SatNOGS 2024-10-03, File No.94 のデータを元に綺麗な地球写真が得られなかった理由
がわかった。衛星側の機械的な問題ではなく、自局の衛星データ収集不足が原因であった。
JH4XSY/1局からこの完全なデータの提供を受け、再度下記のシェルスクリプトを実行した
ところ、真ん丸の地球写真が得られた。自局の思い込みであった。(Sorry> SAKURA_san)
なお、下記の中の "foo" の付記は全て、JH4XSY/1局から提供のデータを元にしている事を
意味している。下記の jpg画像生成の手順に間違いないことも確認できた。(Tnx>JH4HSY)
今回、自局が "C0C010" カットを手作業で行った部分を、JH4HSY局は ruby構文を用いて
完全自動化しているので、自局もその詳細をこれから研究してみたい。
Using the data from SatNOGS 2024-10-03, File No.94, I was able to understand why
I was unable to obtain a clear photo of the Earth. It wasn't a mechanical problem
with the satellite, but rather a lack of satellite data collection on my part.
I had to completely cut out all the "C0C010" parts in the csv file.
[ext094.rb]
> for i in 0..0x0c3
> printf("grep 3EF053CCFF94%04X foo.hex | head -1 | cut -c 65-186 >> foo_cut.hex\n", i)
> end
[Terminal]
> [0195] decimal = [00c3] hexadecimal
> save above [ext094.rb]
$ ruby ext094.rb
$ ruby ext094.rb > 41003foo.sh
$ sh 41003foo.sh
$ cat foo_cut.hex > 41003foo.hex
$ tr -d '\n' < 41003foo.hex > 41003foo-oneline.hex
$ cat 41003foo-oneline.hex | xxd -r -p > 41003foo-completion.jpg
#7 [c0c010 CUT]
Tnx.JH4XSY/1
#8 [SAKURA jpg using cam_file]
[20241015T0325.cam @JA3TDW]
8C,0000,FFD8FFE000104A46494600010100000100010000FFDB00430006040506050406060506070706080A100A0A09090A140E0F0C1017141818171416161A1D
8C,0001,251F1A1B231C1616202C20232627292A29191F2D302D283025282928FFDB0043010707070A080A130A0A13281A161A2828282828282828282828282828
8C,0002,282828282828282828282828282828282828282828282828282828282828282828282828FFC0001108021C03C003012200021101031101FFC4001F0000
:
:
|<--- 10 bytes --->|
8C,0000,FFD8FFE00010
4A464946000101000001
00010000FFDB00430006
04050605040606050607
0706080A100A0A09090A
140E0F0C101714181817
1416161A1D
65 byres = 130 characters
Cut off the first 8 characters.
The camera data is arranged in sequence, making it easy to cut.
[ext08c.rb]
> for i in 0..0x0bd
> printf("grep 8C,%04X 20241015T0325.cam | head -1 | cut -c 9-130 >> 20241015T0325_cut.hex\n", i)
> end
[Terminal]
> [0189] decimal = [00bd] hexadecimal
> save above [ext08c.rb]
$ ruby ext08c.rb
$ ruby ext08c.rb > 41015skr.sh
$ sh 41015skr.sh
$ cat 20241015T0325_cut.hex > 41015skr.hex
$ tr -d '\n' < 41015skr.hex > 41015skr-oneline.hex
$ cat 41015skr-oneline.hex | xxd -r -p > 41015skr-completion.jpg
トップ へ戻る.
前のページ へ戻る.
次のページ へ移る.(編集中)
ホームページ(目次) へ戻る.