-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Nov  9 13:11:46 2021 UTC
-- File 20210709_014135_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 3.455433 to 38.745585
-each separately from 3s to 38s and from 455433us to 895653us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      22.439642 in 1 packets: 18
      12.849643 in 1 packets: 36
MIU packet time from 2021-07-09T01:41:41.455.433.000 to 2021-07-09T01:42:16.745.585.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      22.439642 in 1 packets: 18
      12.849643 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 4.9136406 to 39.9135220
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      21.9999255 in 1 packets: 18
      12.9999559 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210709_014135_1227.dat, 3 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.3690747 to 5.3693637
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.4395670  -- OK for SL --
   MIU time from 2021-07-09T01:41:41.455.433.000 to 2021-07-09T01:41:41.455.722.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.439642

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.8089307 to 27.8092197
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.8495990  -- OK for SL --
   MIU time from 2021-07-09T01:42:03.895.364.000 to 2021-07-09T01:42:03.895.653.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.849643

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.6588187 to 40.6591077
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-09T01:42:16.745.296.000 to 2021-07-09T01:42:16.745.585.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 3, 32bit 10MHz counter = 5.369074700 corrected by 40bit 10MHz counter of 4.913640600 obtained at 1Hz counter of 3. Result: 3.455435603
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-07-09T01:41:41.455.292.725
   Max 1st sample MIU time among all SL packets: 2021-07-09T01:42:16.745.444.725
   Min 1st sample XO time among all SL packets: 3.455295327
   Max 1st sample XO time among all SL packets: 38.745447960
   TM values from -260 to 233 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-09T01:41:41.455.292.725 (XO: 3.455295327 - 3.455601328, t=37.2 degC)  Rank: 00077
   TM values: Max =   229  Min =  -258  Ave =    -4.49  Std =    18.19
   Min TM value:-258 at an offset of 125.475 usec -> 2021-07-09T01:41:41.455.418.200 (XO: 3.455420803)
   Max TM value:229 at an offset of 125.213 usec -> 2021-07-09T01:41:41.455.417.937 (XO: 3.455420540)
   Max dTM/dt [1/us]:1.59e+03 at an offset of 128.088 usec -> 2021-07-09T01:41:41.455.420.812 (XO: 3.455423415)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 125.325 usec -> 2021-07-09T01:41:41.455.418.050 (XO: 3.455420653)

 - Block number: 2 starting at 2021-07-09T01:42:03.895.223.725 (XO: 25.895227369 - 25.895533370, t=37.2 degC)  Rank: 00077
   TM values: Max =   233  Min =  -260  Ave =    -4.40  Std =    22.48
   Min TM value:-260 at an offset of 107.075 usec -> 2021-07-09T01:42:03.895.330.800 (XO: 25.895334444)
   Max TM value:233 at an offset of 105.075 usec -> 2021-07-09T01:42:03.895.328.800 (XO: 25.895332444)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 104.913 usec -> 2021-07-09T01:42:03.895.328.637 (XO: 25.895332282)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 107.000 usec -> 2021-07-09T01:42:03.895.330.725 (XO: 25.895334369)

 - Block number: 3 starting at 2021-07-09T01:42:16.745.155.725 (XO: 38.745158959 - 38.745464960, t=37.2 degC)  Rank: 00083
   TM values: Max =   219  Min =  -247  Ave =    -4.39  Std =    18.08
   Min TM value:-247 at an offset of 120.563 usec -> 2021-07-09T01:42:16.745.276.287 (XO: 38.745279521)
   Max TM value:219 at an offset of 123.263 usec -> 2021-07-09T01:42:16.745.278.987 (XO: 38.745282221)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 123.100 usec -> 2021-07-09T01:42:16.745.278.825 (XO: 38.745282059)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 120.400 usec -> 2021-07-09T01:42:16.745.276.125 (XO: 38.745279359)
