-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jun  4 22:28:31 2023 UTC
-- File 20230604_042127_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 1.330799 to 30.691352
-each separately from 1s to 30s and from 126874us to 691352us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.795786 in 1 packets: 18
      8.563900 in 1 packets: 36
MIU packet time from 2023-06-04T04:21:31.330.799.000 to 2023-06-04T04:22:00.691.352.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.795786 in 1 packets: 18
      8.563900 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 2.7548500 to 31.7547465
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.9999251 in 1 packets: 18
      7.9999714 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets (all packets)
Temperature XO: 
      C3 -> 40.4 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      3 in 3 packets: 19, 20, 21
      4 in 33 packets: 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20230604_042127_1227.dat, 3 SL data blocks found. Extra packets: 0.
--
Data structure of blocks of survey data packets:

 - Block number: 1 from the sequence of 18 packets.
   Block numbers in the data:
      1 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.0856506 to 3.0859396
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.7957110  -- OK for SL --
   MIU time from 2023-06-04T04:21:31.330.799.000 to 2023-06-04T04:21:31.331.088.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.795786

 - Block number: 2 from the sequence of 18 packets.
   Block numbers in the data:
      2 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      233 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.8816506 to 23.8819396
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.5638710  -- OK for SL --
   MIU time from 2023-06-04T04:21:52.126.874.000 to 2023-06-04T04:21:52.127.163.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.563900

 - Block number: 3 from the sequence of 18 packets.
   Block numbers in the data:
      3 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.4458106 to 32.4460996
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-04T04:22:00.691.063.000 to 2023-06-04T04:22:00.691.352.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 1, 32bit 10MHz counter = 3.085650600 corrected by 40bit 10MHz counter of 2.754850000 obtained at 1Hz counter of 1. Result: 1.330801791
--
   MIU or XO time of the 1st SL sample = header (MIU or corrected XO) time +offset(if negative) - 275 ns delay
   Samplig frequency correction factor in all SL packets: 0.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2023-06-04T04:21:31.330.658.725
   Max 1st sample MIU time among all SL packets: 2023-06-04T04:22:00.691.211.725
   Min 1st sample XO time among all SL packets: 1.330661515
   Max 1st sample XO time among all SL packets: 30.691215244
   TM values from -905 to 2047 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-04T04:21:31.330.658.725 (XO: 1.330661515 - 1.330967516, t=40.4 degC)  Rank: 00084
   TM values: Max =   186  Min =  -241  Ave =    -4.50  Std =    19.15
   Min TM value:-241 at an offset of 125.463 usec -> 2023-06-04T04:21:31.330.784.187 (XO: 1.330786978)
   Max TM value:186 at an offset of 130.475 usec -> 2023-06-04T04:21:31.330.789.200 (XO: 1.330791991)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 128.025 usec -> 2023-06-04T04:21:31.330.786.750 (XO: 1.330789541)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 112.738 usec -> 2023-06-04T04:21:31.330.771.462 (XO: 1.330774253)

 - Block number: 2 starting at 2023-06-04T04:21:52.126.733.725 (XO: 22.126735681 - 22.127041682, t=40.4 degC)  Rank: 00233
   TM values: Max =  2047  Min =  -905  Ave =    -4.62  Std =   100.66
   Min TM value:-905 at an offset of 141.863 usec -> 2023-06-04T04:21:52.126.875.588 (XO: 22.126877544)
   Max TM value:2047 at an offset of 141.313 usec -> 2023-06-04T04:21:52.126.875.038 (XO: 22.126876994)
   Max dTM/dt [1/us]:1.18e+04 at an offset of 141.288 usec -> 2023-06-04T04:21:52.126.875.013 (XO: 22.126876969)
   Min dTM/dt [1/us]:-1.38e+04 at an offset of 141.401 usec -> 2023-06-04T04:21:52.126.875.125 (XO: 22.126877082)

 - Block number: 3 starting at 2023-06-04T04:22:00.690.922.725 (XO: 30.690926243 - 30.691232244, t=40.4 degC)  Rank: 00076
   TM values: Max =   189  Min =  -239  Ave =    -4.51  Std =    19.62
   Min TM value:-239 at an offset of 124.900 usec -> 2023-06-04T04:22:00.691.047.625 (XO: 30.691051144)
   Max TM value:189 at an offset of 112.813 usec -> 2023-06-04T04:22:00.691.035.537 (XO: 30.691039056)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 127.388 usec -> 2023-06-04T04:22:00.691.050.112 (XO: 30.691053631)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 124.763 usec -> 2023-06-04T04:22:00.691.047.487 (XO: 30.691051006)
