-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar  1 12:27:23 2023 UTC
-- File 20220515_173330_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.943416 to 50.922597
-each separately from 5s to 50s and from 194772us to 943705us.
   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, ...
      21.251067 in 1 packets: 18
      10.099714 in 1 packets: 36
      13.627244 in 1 packets: 54
MIU packet time from 2022-05-15T17:33:38.943.416.000 to 2022-05-15T17:34:23.922.597.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, ...
      21.251067 in 1 packets: 18
      10.099714 in 1 packets: 36
      13.627244 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.4614774 to 51.4613218
   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, ...
      21.9999239 in 1 packets: 18
      9.9999654 in 1 packets: 36
      12.9999551 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      01 -> 53.7 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C3 -> 40.4 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 20220515_173330_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.4048949 to 7.4051839
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.2509910  -- OK for SL --
   MIU time from 2022-05-15T17:33:38.943.416.000 to 2022-05-15T17:33:38.943.705.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.251067

 - 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:
      64 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.6561749 to 28.6564639
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.0996790  -- OK for SL --
   MIU time from 2022-05-15T17:34:00.194.772.000 to 2022-05-15T17:34:00.195.061.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.099714

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.7561429 to 38.7564319
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.6271990  -- OK for SL --
   MIU time from 2022-05-15T17:34:10.294.775.000 to 2022-05-15T17:34:10.295.064.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.627244

 - 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:
      59 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.3836309 to 52.3839199
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-15T17:34:23.922.308.000 to 2022-05-15T17:34:23.922.597.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.404894900 corrected by 40bit 10MHz counter of 6.461477400 obtained at 1Hz counter of 5. Result: 5.943420802
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-05-15T17:33:38.943.275.725
   Max 1st sample MIU time among all SL packets: 2022-05-15T17:34:23.922.456.725
   Min 1st sample XO time among all SL packets: 5.943280526
   Max 1st sample XO time among all SL packets: 50.922461054
   TM values from -316 to 279 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-15T17:33:38.943.275.725 (XO: 5.943280526 - 5.943586528, t=40.4 degC)  Rank: 00080
   TM values: Max =   279  Min =  -316  Ave =    -4.45  Std =    78.87
   Min TM value:-316 at an offset of 118.713 usec -> 2022-05-15T17:33:38.943.394.437 (XO: 5.943399239)
   Max TM value:279 at an offset of 132.263 usec -> 2022-05-15T17:33:38.943.407.987 (XO: 5.943412789)
   Max dTM/dt [1/us]:2.77e+03 at an offset of 134.788 usec -> 2022-05-15T17:33:38.943.410.512 (XO: 5.943415314)
   Min dTM/dt [1/us]:-2.83e+03 at an offset of 132.388 usec -> 2022-05-15T17:33:38.943.408.112 (XO: 5.943412914)

 - Block number: 2 starting at 2022-05-15T17:34:00.194.631.725 (XO: 27.194634006 - 27.194940007, t=40.4 degC)  Rank: 00064
   TM values: Max =   147  Min =  -152  Ave =    -4.51  Std =    69.40
   Min TM value:-152 at an offset of 184.888 usec -> 2022-05-15T17:34:00.194.816.613 (XO: 27.194818894)
   Max TM value:147 at an offset of 159.788 usec -> 2022-05-15T17:34:00.194.791.513 (XO: 27.194793794)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 159.763 usec -> 2022-05-15T17:34:00.194.791.488 (XO: 27.194793769)
   Min dTM/dt [1/us]:-1.50e+03 at an offset of 160.226 usec -> 2022-05-15T17:34:00.194.791.950 (XO: 27.194794232)

 - Block number: 3 starting at 2022-05-15T17:34:10.294.634.725 (XO: 37.294636956 - 37.294942957, t=40.4 degC)  Rank: 00073
   TM values: Max =   261  Min =  -268  Ave =    -4.48  Std =    62.99
   Min TM value:-268 at an offset of 130.688 usec -> 2022-05-15T17:34:10.294.765.412 (XO: 37.294767644)
   Max TM value:261 at an offset of 132.788 usec -> 2022-05-15T17:34:10.294.767.512 (XO: 37.294769744)
   Max dTM/dt [1/us]:2.64e+03 at an offset of 130.813 usec -> 2022-05-15T17:34:10.294.765.537 (XO: 37.294767769)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 132.913 usec -> 2022-05-15T17:34:10.294.767.637 (XO: 37.294769869)

 - Block number: 4 starting at 2022-05-15T17:34:23.922.167.725 (XO: 50.922172053 - 50.922478054, t=40.4 degC)  Rank: 00059
   TM values: Max =   220  Min =  -276  Ave =    -4.40  Std =    34.14
   Min TM value:-276 at an offset of 128.988 usec -> 2022-05-15T17:34:23.922.296.712 (XO: 50.922301041)
   Max TM value:220 at an offset of 129.263 usec -> 2022-05-15T17:34:23.922.296.987 (XO: 50.922301316)
   Max dTM/dt [1/us]:2.32e+03 at an offset of 129.125 usec -> 2022-05-15T17:34:23.922.296.850 (XO: 50.922301178)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 126.713 usec -> 2022-05-15T17:34:23.922.294.437 (XO: 50.922298766)
