I could establish a method for converting the signal data from StratoSat-TK1
into JPG image. @EU1SAT
1. Generate the new 'stratosat' folder.
2. Extract 'geoscan-tools-main.zip' in this folder, and rename the
generated 'geoscan-tools-main' folder to 'stratosat-tools-main' folder.
3. Open 'process_simple.py' by the text editer', and change 3 lines
in this py file. (red and pink)
4. Save this rewriten py file with a new name "stratosat_simple.py".
5. This newly modified "stratosat_simple.py" is the actual situation
when generating to a jpg image.
In the question and answer at "Libre Space Community",
I understood that the strage method was called "little endian".
For example, if you want to store a 4-byte number (0x)01020304 in memory,
separate it as 01 02 03 04.
* "little endian": numerical values are stored in the lower addresses
of memory in order, such as 04 03 02 01.
* "big endian": numerical values are stored in the lower addresses of
memory in order, such as 01 02 03 04.
In other words, "little endian" is the storage method in which the lower
digits of a number are lower in memory (Windows, Linux, etc), and
"big endian" is the storage method in which the upper digits of a number
are lower in memory (Mac, etc).
Therefore, when it store the number '02003E20' in memory, it becomes
'203E0002' by "little endian".
$ cd ~/stratosat/stratosat-tools-main
$ grep '^2023-08-17 08' 31116str.csv > 2023-08-17_08.csv
$ python3 stratosat_simple.py 2023-08-17_08.csv
> Writing image to: 2023-08-17_08.jpg