-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan  8 17:18:20 2024 UTC
-- File 20230721_175301_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 12.113169 to 48.473959
-each separately from 12s to 48s and from 14827us to 473959us.
   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, ...
      2.901369 in 1 packets: 18
      22.372294 in 1 packets: 36
      11.085971 in 1 packets: 54
MIU packet time from 2023-07-21T17:53:16.113.169.000 to 2023-07-21T17:53:52.473.959.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, ...
      2.901369 in 1 packets: 18
      22.372294 in 1 packets: 36
      11.085971 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 13.5756573 to 49.5755394
   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, ...
      2.9999902 in 1 packets: 18
      21.9999279 in 1 packets: 36
      10.9999640 in 1 packets: 54
Temperature FPGA: 
      FF -> 56.3 degC in 72 packets (all packets)
Temperature XO: 
      C6 -> 45.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 20230721_175301_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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.6888274 to 13.6891164
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.9013590  -- OK for SL --
   MIU time from 2023-07-21T17:53:16.113.169.000 to 2023-07-21T17:53:16.113.458.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.901369

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.5904754 to 16.5907644
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.3722230  -- OK for SL --
   MIU time from 2023-07-21T17:53:19.014.827.000 to 2023-07-21T17:53:19.015.116.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.372294

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.9629874 to 38.9632764
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.0859350  -- OK for SL --
   MIU time from 2023-07-21T17:53:41.387.410.000 to 2023-07-21T17:53:41.387.699.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.085971

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.0492114 to 50.0495004
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-07-21T17:53:52.473.670.000 to 2023-07-21T17:53:52.473.959.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 = 12, 32bit 10MHz counter = 13.688827400 corrected by 40bit 10MHz counter of 13.575657300 obtained at 1Hz counter of 12. Result: 12.113170462
--
   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.999996800 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2023-07-21T17:53:16.113.028.725
   Max 1st sample MIU time among all SL packets: 2023-07-21T17:53:52.473.818.725
   Min 1st sample XO time among all SL packets: 12.113030187
   Max 1st sample XO time among all SL packets: 48.473822241
   TM values from -330 to 263 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-07-21T17:53:16.113.028.725 (XO: 12.113030187 - 12.113336188, t=45.2 degC)  Rank: 00068
   TM values: Max =   263  Min =  -330  Ave =    -4.49  Std =    41.39
   Min TM value:-330 at an offset of 111.875 usec -> 2023-07-21T17:53:16.113.140.600 (XO: 12.113142062)
   Max TM value:263 at an offset of 111.625 usec -> 2023-07-21T17:53:16.113.140.350 (XO: 12.113141812)
   Max dTM/dt [1/us]:2.58e+03 at an offset of 114.150 usec -> 2023-07-21T17:53:16.113.142.875 (XO: 12.113144337)
   Min dTM/dt [1/us]:-3.11e+03 at an offset of 111.750 usec -> 2023-07-21T17:53:16.113.140.475 (XO: 12.113141937)

 - Block number: 2 starting at 2023-07-21T17:53:19.014.686.725 (XO: 15.014687672 - 15.014993673, t=45.2 degC)  Rank: 00080
   TM values: Max =   219  Min =  -297  Ave =    -4.43  Std =    36.78
   Min TM value:-297 at an offset of 123.513 usec -> 2023-07-21T17:53:19.014.810.237 (XO: 15.014811185)
   Max TM value:219 at an offset of 123.250 usec -> 2023-07-21T17:53:19.014.809.975 (XO: 15.014810922)
   Max dTM/dt [1/us]:2.39e+03 at an offset of 125.888 usec -> 2023-07-21T17:53:19.014.812.612 (XO: 15.014813560)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 123.375 usec -> 2023-07-21T17:53:19.014.810.100 (XO: 15.014811047)

 - Block number: 3 starting at 2023-07-21T17:53:41.387.269.725 (XO: 37.387272964 - 37.387578965, t=45.2 degC)  Rank: 00077
   TM values: Max =   221  Min =  -311  Ave =    -4.43  Std =    30.45
   Min TM value:-311 at an offset of 124.888 usec -> 2023-07-21T17:53:41.387.394.612 (XO: 37.387397852)
   Max TM value:221 at an offset of 127.313 usec -> 2023-07-21T17:53:41.387.397.037 (XO: 37.387400277)
   Max dTM/dt [1/us]:2.51e+03 at an offset of 127.188 usec -> 2023-07-21T17:53:41.387.396.912 (XO: 37.387400152)
   Min dTM/dt [1/us]:-2.56e+03 at an offset of 124.750 usec -> 2023-07-21T17:53:41.387.394.475 (XO: 37.387397715)

 - Block number: 4 starting at 2023-07-21T17:53:52.473.529.725 (XO: 48.473533240 - 48.473839241, t=45.2 degC)  Rank: 00077
   TM values: Max =   243  Min =  -221  Ave =    -4.40  Std =    28.13
   Min TM value:-221 at an offset of 110.613 usec -> 2023-07-21T17:53:52.473.640.337 (XO: 48.473643853)
   Max TM value:243 at an offset of 115.675 usec -> 2023-07-21T17:53:52.473.645.400 (XO: 48.473648916)
   Max dTM/dt [1/us]:1.45e+03 at an offset of 113.200 usec -> 2023-07-21T17:53:52.473.642.925 (XO: 48.473646441)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 115.800 usec -> 2023-07-21T17:53:52.473.645.525 (XO: 48.473649041)
