Ruby tool for reconstructing JPG images from SatNOGS CSV on Linux #2
[In steps]
Step 1: Extract candidate data.
Look for data that could serve as a substitute for the missing data.
Select multiple candidates.(marirub2.htm)
Step 2: Organize and evaluate the candidates.
Check the position and length of each candidate, as well as the temporal
continuity with the preceding and succeeding data.
Step 3: Automatically determine which candidate to adopt.
Compare the evaluation results to select the candidate to be adopted as
the final restored data, and generate the final JPG data (not yet created).
-----------------------------------------------------------------------------------------------------------------
[Step 2] Automatically search for missing sequences in the original SatNOGS CSV file. [search_missing.rb]
Place these three files in the same folder, "extract72.txt", "extract_missing.rb", and "search_missing.rb".
When search_missing.rb is executed, it searches 61007mar.csv for the missing sequences listed in the
missing_sequence.txt them on PC terminal, and saves the results to the search_missing_result.txt.
$ ruby search_missing.rb
When I ran "extract_missing.rb" and "search_missing.rb" this time, only a few missing sequences
were found in the original SatNOGS CSV. Although I haven't yet implemented the third step of
the process, I manually filled in the missing data in "extract72.txt" and saved the result as
"extract73.txt". To select a candidate for the missing data, choose the entry with a timestamp
as close as possible to that of the time in extract72.txt. If the date and time are far apart,
a different image file might be selected. I believe this is the top priority when it comes to
the selection criteria for establishing the third step. After that,
I followed the instructions at https://www.ne.jp/asahi/hamradio/je9pel/60808mr4.htm#revision,
proceeded to "one_line75.txt", and successfully generated the JPG image manually. The image was
almost entirely black, but a thin sliver of the Earth was visible at the top. Next time high-
quality data is uploaded to SatNOGS, I'd like to try automating the third step (not yet created).
[Step 3] Selection Criteria
- Prioritize and save candidates with minimal time differences from the original CSV data.
- Verify the degree of HEX data matching and sequence consistency.
- Automatically select only those candidates that meet the criteria.
- Flag ambiguous cases for review.
Back to Top
Back to Revision