-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  8 16:31:06 2022 UTC
-- File 20210910_124336_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 6.313939 to 54.571284
-each separately from 6s to 54s and from 132321us to 603822us.
   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, ...
      22.289305 in 1 packets: 18
      10.528499 in 1 packets: 36
      15.438385 in 1 packets: 54
MIU packet time from 2021-09-10T12:43:45.313.939.000 to 2021-09-10T12:44:33.571.284.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, ...
      22.289305 in 1 packets: 18
      10.528499 in 1 packets: 36
      15.438385 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 7.8815381 to 55.8813786
   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.9999269 in 1 packets: 18
      10.9999634 in 1 packets: 36
      14.9999502 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210910_124336_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:
      98 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.1954782 to 8.1957672
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.2892310  -- OK for SL --
   MIU time from 2021-09-10T12:43:45.313.939.000 to 2021-09-10T12:43:45.314.228.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.289305

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.4849982 to 30.4852872
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.5284630  -- OK for SL --
   MIU time from 2021-09-10T12:44:07.603.533.000 to 2021-09-10T12:44:07.603.822.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.528499

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.0137502 to 41.0140392
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.4383350  -- OK for SL --
   MIU time from 2021-09-10T12:44:18.132.321.000 to 2021-09-10T12:44:18.132.610.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.438385

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.4523742 to 56.4526632
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-10T12:44:33.570.995.000 to 2021-09-10T12:44:33.571.284.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 = 6, 32bit 10MHz counter = 8.195478200 corrected by 40bit 10MHz counter of 7.881538100 obtained at 1Hz counter of 6. Result: 6.313941136
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-10T12:43:45.313.798.725
   Max 1st sample MIU time among all SL packets: 2021-09-10T12:44:33.571.143.725
   Min 1st sample XO time among all SL packets: 6.313800861
   Max 1st sample XO time among all SL packets: 54.571146210
   TM values from -247 to 208 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-10T12:43:45.313.798.725 (XO: 6.313800861 - 6.314106862, t=37.2 degC)  Rank: 00098
   TM values: Max =   174  Min =  -108  Ave =    -4.87  Std =    19.55
   Min TM value:-108 at an offset of 104.250 usec -> 2021-09-10T12:43:45.313.902.975 (XO: 6.313905111)
   Max TM value:174 at an offset of 98.963 usec -> 2021-09-10T12:43:45.313.897.687 (XO: 6.313899823)
   Max dTM/dt [1/us]:2.72e+02 at an offset of 82.888 usec -> 2021-09-10T12:43:45.313.881.612 (XO: 6.313883748)
   Min dTM/dt [1/us]:-2.72e+02 at an offset of 109.963 usec -> 2021-09-10T12:43:45.313.908.687 (XO: 6.313910823)

 - Block number: 2 starting at 2021-09-10T12:44:07.603.392.725 (XO: 28.603394916 - 28.603700917, t=37.2 degC)  Rank: 00079
   TM values: Max =   206  Min =  -229  Ave =    -4.42  Std =    17.62
   Min TM value:-229 at an offset of 127.513 usec -> 2021-09-10T12:44:07.603.520.237 (XO: 28.603522429)
   Max TM value:206 at an offset of 127.188 usec -> 2021-09-10T12:44:07.603.519.912 (XO: 28.603522104)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 129.913 usec -> 2021-09-10T12:44:07.603.522.637 (XO: 28.603524829)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 127.313 usec -> 2021-09-10T12:44:07.603.520.037 (XO: 28.603522229)

 - Block number: 3 starting at 2021-09-10T12:44:18.132.180.725 (XO: 39.132181961 - 39.132487962, t=37.2 degC)  Rank: 00075
   TM values: Max =   208  Min =  -235  Ave =    -4.47  Std =    18.75
   Min TM value:-235 at an offset of 112.813 usec -> 2021-09-10T12:44:18.132.293.537 (XO: 39.132294774)
   Max TM value:208 at an offset of 112.513 usec -> 2021-09-10T12:44:18.132.293.237 (XO: 39.132294474)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 115.213 usec -> 2021-09-10T12:44:18.132.295.937 (XO: 39.132297174)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 112.625 usec -> 2021-09-10T12:44:18.132.293.350 (XO: 39.132294587)

 - Block number: 4 starting at 2021-09-10T12:44:33.570.854.725 (XO: 54.570857209 - 54.571163210, t=37.2 degC)  Rank: 00074
   TM values: Max =   202  Min =  -247  Ave =    -4.55  Std =    22.03
   Min TM value:-247 at an offset of 128.413 usec -> 2021-09-10T12:44:33.570.983.137 (XO: 54.570985622)
   Max TM value:202 at an offset of 128.088 usec -> 2021-09-10T12:44:33.570.982.812 (XO: 54.570985297)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 125.950 usec -> 2021-09-10T12:44:33.570.980.675 (XO: 54.570983159)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 128.188 usec -> 2021-09-10T12:44:33.570.982.912 (XO: 54.570985397)
