-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 07:41:35 2023 UTC
-- File 20220128_050608_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 5.309583 to 58.177262
-each separately from 5s to 58s and from 50822us to 309872us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      10.740950 in 1 packets: 18
      27.003696 in 1 packets: 36
      15.121877 in 1 packets: 54
MIU packet time from 2022-01-28T05:06:16.309.583.000 to 2022-01-28T05:07:09.177.262.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      10.740950 in 1 packets: 18
      27.003696 in 1 packets: 36
      15.121877 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 6.8177308 to 59.8175402
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      10.9999604 in 1 packets: 18
      26.9999029 in 1 packets: 36
      14.9999461 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20220128_050608_1227.dat, 4 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:
      62 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.1273144 to 7.1276034
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.7409110  -- OK for SL --
   MIU time from 2022-01-28T05:06:16.309.583.000 to 2022-01-28T05:06:16.309.872.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.740950

 - 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:
      60 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.8685144 to 17.8688034
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.0035990  -- OK for SL --
   MIU time from 2022-01-28T05:06:27.050.822.000 to 2022-01-28T05:06:27.051.111.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.003696

 - 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:
      59 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.8724024 to 44.8726914
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.1218230  -- OK for SL --
   MIU time from 2022-01-28T05:06:54.054.807.000 to 2022-01-28T05:06:54.055.096.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.121877

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      62 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.9945144 to 59.9948034
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-28T05:07:09.176.973.000 to 2022-01-28T05:07:09.177.262.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 5, 32bit 10MHz counter = 7.127314400 corrected by 40bit 10MHz counter of 6.817730800 obtained at 1Hz counter of 5. Result: 5.309584715
--
   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.999996300 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-28T05:06:16.309.442.725
   Max 1st sample MIU time among all SL packets: 2022-01-28T05:07:09.177.121.725
   Min 1st sample XO time among all SL packets: 5.309444439
   Max 1st sample XO time among all SL packets: 58.177123580
   TM values from -198 to 158 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-28T05:06:16.309.442.725 (XO: 5.309444439 - 5.309750440, t=37.2 degC)  Rank: 00062
   TM values: Max =   136  Min =  -176  Ave =    -4.50  Std =    16.74
   Min TM value:-176 at an offset of 85.088 usec -> 2022-01-28T05:06:16.309.527.812 (XO: 5.309529527)
   Max TM value:136 at an offset of 72.538 usec -> 2022-01-28T05:06:16.309.515.262 (XO: 5.309516977)
   Max dTM/dt [1/us]:1.28e+03 at an offset of 87.363 usec -> 2022-01-28T05:06:16.309.530.087 (XO: 5.309531802)
   Min dTM/dt [1/us]:-1.33e+03 at an offset of 84.875 usec -> 2022-01-28T05:06:16.309.527.600 (XO: 5.309529314)

 - Block number: 2 starting at 2022-01-28T05:06:27.050.681.725 (XO: 16.050683102 - 16.050989103, t=37.2 degC)  Rank: 00060
   TM values: Max =   158  Min =  -189  Ave =    -4.52  Std =    18.70
   Min TM value:-189 at an offset of 151.151 usec -> 2022-01-28T05:06:27.050.832.875 (XO: 16.050834253)
   Max TM value:158 at an offset of 120.363 usec -> 2022-01-28T05:06:27.050.802.087 (XO: 16.050803465)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 122.900 usec -> 2022-01-28T05:06:27.050.804.625 (XO: 16.050806003)
   Min dTM/dt [1/us]:-1.46e+03 at an offset of 120.475 usec -> 2022-01-28T05:06:27.050.802.200 (XO: 16.050803578)

 - Block number: 3 starting at 2022-01-28T05:06:54.054.666.725 (XO: 43.054668222 - 43.054974223, t=37.2 degC)  Rank: 00059
   TM values: Max =   153  Min =  -198  Ave =    -4.54  Std =    20.77
   Min TM value:-198 at an offset of 163.288 usec -> 2022-01-28T05:06:54.054.830.013 (XO: 43.054831510)
   Max TM value:153 at an offset of 162.988 usec -> 2022-01-28T05:06:54.054.829.713 (XO: 43.054831210)
   Max dTM/dt [1/us]:1.60e+03 at an offset of 165.563 usec -> 2022-01-28T05:06:54.054.832.288 (XO: 43.054833785)
   Min dTM/dt [1/us]:-1.56e+03 at an offset of 119.788 usec -> 2022-01-28T05:06:54.054.786.512 (XO: 43.054788010)

 - Block number: 4 starting at 2022-01-28T05:07:09.176.832.725 (XO: 58.176834579 - 58.177140580, t=37.2 degC)  Rank: 00062
   TM values: Max =   118  Min =  -175  Ave =    -4.48  Std =    14.88
   Min TM value:-175 at an offset of 108.813 usec -> 2022-01-28T05:07:09.176.941.537 (XO: 58.176943392)
   Max TM value:118 at an offset of 96.413 usec -> 2022-01-28T05:07:09.176.929.137 (XO: 58.176930992)
   Max dTM/dt [1/us]:1.29e+03 at an offset of 111.113 usec -> 2022-01-28T05:07:09.176.943.837 (XO: 58.176945692)
   Min dTM/dt [1/us]:-1.32e+03 at an offset of 108.575 usec -> 2022-01-28T05:07:09.176.941.300 (XO: 58.176943155)
