-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jul  2 00:50:16 2023 UTC
-- File 20230613_011836_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.292737 to 49.742714
-each separately from 5s to 49s and from 82631us to 742714us.
   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, ...
      19.789605 in 1 packets: 18
      18.379597 in 1 packets: 36
      6.279619 in 1 packets: 54
MIU packet time from 2023-06-13T01:18:44.292.737.000 to 2023-06-13T01:19:28.742.714.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, ...
      19.789605 in 1 packets: 18
      18.379597 in 1 packets: 36
      6.279619 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.3955347 to 50.3953816
   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, ...
      19.9999304 in 1 packets: 18
      17.9999374 in 1 packets: 36
      5.9999791 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 72 packets (all packets)
Temperature XO: 
      C5 -> 43.6 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 20230613_011836_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:
      126 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.6882728 to 6.6885618
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7895350  -- OK for SL --
   MIU time from 2023-06-13T01:18:44.292.737.000 to 2023-06-13T01:18:44.293.026.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.789605

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.4780968 to 26.4783858
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.3795350  -- OK for SL --
   MIU time from 2023-06-13T01:19:04.082.631.000 to 2023-06-13T01:19:04.082.920.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.379597

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.8579208 to 44.8582098
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.2795990  -- OK for SL --
   MIU time from 2023-06-13T01:19:22.462.517.000 to 2023-06-13T01:19:22.462.806.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.279619

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.1378088 to 51.1380978
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-13T01:19:28.742.425.000 to 2023-06-13T01:19:28.742.714.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 = 6.688272800 corrected by 40bit 10MHz counter of 6.395534700 obtained at 1Hz counter of 5. Result: 5.292739125
--
   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-13T01:18:44.292.596.725
   Max 1st sample MIU time among all SL packets: 2023-06-13T01:19:28.742.573.725
   Min 1st sample XO time among all SL packets: 5.292598849
   Max 1st sample XO time among all SL packets: 49.742578524
   TM values from -491 to 229 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-13T01:18:44.292.596.725 (XO: 5.292598849 - 5.292904850, t=43.6 degC)  Rank: 00126
   TM values: Max =   229  Min =  -491  Ave =    -4.33  Std =    36.00
   Min TM value:-491 at an offset of 103.738 usec -> 2023-06-13T01:18:44.292.700.462 (XO: 5.292702587)
   Max TM value:229 at an offset of 106.775 usec -> 2023-06-13T01:18:44.292.703.500 (XO: 5.292705624)
   Max dTM/dt [1/us]:5.45e+03 at an offset of 101.200 usec -> 2023-06-13T01:18:44.292.697.925 (XO: 5.292700049)
   Min dTM/dt [1/us]:-3.36e+03 at an offset of 101.113 usec -> 2023-06-13T01:18:44.292.697.837 (XO: 5.292699962)

 - Block number: 2 starting at 2023-06-13T01:19:04.082.490.725 (XO: 25.082491714 - 25.082797715, t=43.6 degC)  Rank: 00073
   TM values: Max =   205  Min =  -283  Ave =    -4.40  Std =    19.80
   Min TM value:-283 at an offset of 97.813 usec -> 2023-06-13T01:19:04.082.588.537 (XO: 25.082589527)
   Max TM value:205 at an offset of 102.725 usec -> 2023-06-13T01:19:04.082.593.450 (XO: 25.082594439)
   Max dTM/dt [1/us]:1.47e+03 at an offset of 100.288 usec -> 2023-06-13T01:19:04.082.591.012 (XO: 25.082592002)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 85.613 usec -> 2023-06-13T01:19:04.082.576.337 (XO: 25.082577327)

 - Block number: 3 starting at 2023-06-13T01:19:22.462.376.725 (XO: 43.462379690 - 43.462685691, t=43.6 degC)  Rank: 00074
   TM values: Max =   195  Min =  -211  Ave =    -4.38  Std =    20.18
   Min TM value:-211 at an offset of 92.000 usec -> 2023-06-13T01:19:22.462.468.725 (XO: 43.462471690)
   Max TM value:195 at an offset of 109.125 usec -> 2023-06-13T01:19:22.462.485.850 (XO: 43.462488815)
   Max dTM/dt [1/us]:1.49e+03 at an offset of 106.738 usec -> 2023-06-13T01:19:22.462.483.462 (XO: 43.462486427)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 91.850 usec -> 2023-06-13T01:19:22.462.468.575 (XO: 43.462471540)

 - Block number: 4 starting at 2023-06-13T01:19:28.742.284.725 (XO: 49.742289523 - 49.742595524, t=43.6 degC)  Rank: 00076
   TM values: Max =   199  Min =  -271  Ave =    -4.47  Std =    24.06
   Min TM value:-271 at an offset of 120.913 usec -> 2023-06-13T01:19:28.742.405.637 (XO: 49.742410436)
   Max TM value:199 at an offset of 91.525 usec -> 2023-06-13T01:19:28.742.376.250 (XO: 49.742381048)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 120.975 usec -> 2023-06-13T01:19:28.742.405.700 (XO: 49.742410498)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 118.550 usec -> 2023-06-13T01:19:28.742.403.275 (XO: 49.742408073)
