radio_datetime_analyzer

Crates.ioradio_datetime_analyzer
lib.rsradio_datetime_analyzer
version1.0.1
sourcesrc
created_at2023-01-07 18:39:06.01839
updated_at2024-11-02 14:21:38.423877
descriptionAnalyzer for log files of time station decoders.
homepage
repositoryhttps://codeberg.org/rene0/radio_datetime_analyzer
max_upload_size
id753175
size54,593
René Ladan (rene0)

documentation

README

Analyzer for log files of time stations

This tool uses radio_datetime_utils and per-station libraries to analyze log files of these stations.

License

This work is licensed under "MIT OR Apache-2.0" Copyright 2023-2024 René Ladan rene0+codeberg@freedom.nl

Usage

The program takes two parameters:

  • the station name of the file to analyze
  • the name of the file to analyze

Currently supported stations are dcf77 and msf. DCF77 is the German time station at 77.5 kHz, and MSF is the British time station at 60 kHz. Wikipedia has more information on both stations.

Input files

All input files in plain text, with generally one line per minute, unless reception errors occur in which case false minute markers might be received. The analyzer returns the date, time, day-of-week, and DST (daylight saving time) status of each analyzed minute. Parity and temporal errors are also reported. Some information is only available for certain transmitters:

  • DCF77:

    • call bit for technicians (does not affect the received data)
    • announcement of leap second
    • information meant for third parties
  • MSF:

    • DUT1 value (difference between UT1 and UTC in tenths of seconds)

File format for DCF77

There are four characters for DCF77 log files. All other characters are discarded.

  • '0' denotes a 0 bit
  • '1' denotes a 1 bit
  • '_' denotes a bit which could not be properly decoded
  • newline denotes a new minute

File format for MSF

There are six characters for MSF log files. All other characters are discarded.

  • '0' denotes a 0,0 bit pair
  • '1' denotes a 1,0 bit pair
  • '2' denotes a 0,1 bit pair (only occurs in bit 1-16)
  • '3' denotes a 1,1 bit pair (only occurs in bit 53-58)
  • '4' denotes the 500 ms new-minute marker
  • '_' denotes a bit which could not be properly decoded
  • (the newline is just a comment here)
Commit count: 0

cargo fmt