-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 21:44:46 2022 UTC
-- File 20220207_230711_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 4.240379 to 38.821813
-each separately from 4s to 38s and from 240379us to 821813us.
   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, ...
      11.039894 in 1 packets: 18
      23.540673 in 1 packets: 36
MIU packet time from 2022-02-07T23:07:18.240.379.000 to 2022-02-07T23:07:52.821.813.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, ...
      11.039894 in 1 packets: 18
      23.540673 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 5.4366528 to 39.4365322
   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, ...
      10.9999610 in 1 packets: 18
      22.9999184 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 20220207_230711_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.6770324 to 5.6773214
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.0398550  -- OK for SL --
   MIU time from 2022-02-07T23:07:18.240.379.000 to 2022-02-07T23:07:18.240.668.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.039894

 - 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.7171764 to 16.7174654
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.5405910  -- OK for SL --
   MIU time from 2022-02-07T23:07:29.280.562.000 to 2022-02-07T23:07:29.280.851.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.540673

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.2580564 to 40.2583454
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-07T23:07:52.821.524.000 to 2022-02-07T23:07:52.821.813.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 = 4, 32bit 10MHz counter = 5.677032400 corrected by 40bit 10MHz counter of 5.436652800 obtained at 1Hz counter of 4. Result: 4.240380441
--
   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: 2022-02-07T23:07:18.240.238.725
   Max 1st sample MIU time among all SL packets: 2022-02-07T23:07:52.821.672.725
   Min 1st sample XO time among all SL packets: 4.240240166
   Max 1st sample XO time among all SL packets: 38.821675883
   TM values from -296 to 214 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-07T23:07:18.240.238.725 (XO: 4.240240166 - 4.240546167, t=37.2 degC)  Rank: 00084
   TM values: Max =   214  Min =  -291  Ave =    -4.56  Std =    22.37
   Min TM value:-291 at an offset of 108.275 usec -> 2022-02-07T23:07:18.240.347.000 (XO: 4.240348441)
   Max TM value:214 at an offset of 108.538 usec -> 2022-02-07T23:07:18.240.347.262 (XO: 4.240348704)
   Max dTM/dt [1/us]:2.55e+03 at an offset of 108.388 usec -> 2022-02-07T23:07:18.240.347.112 (XO: 4.240348554)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 105.950 usec -> 2022-02-07T23:07:18.240.344.675 (XO: 4.240346116)

 - Block number: 2 starting at 2022-02-07T23:07:29.280.421.725 (XO: 15.280423306 - 15.280729308, t=37.2 degC)  Rank: 00080
   TM values: Max =   204  Min =  -295  Ave =    -4.47  Std =    23.92
   Min TM value:-295 at an offset of 84.800 usec -> 2022-02-07T23:07:29.280.506.525 (XO: 15.280508107)
   Max TM value:204 at an offset of 82.313 usec -> 2022-02-07T23:07:29.280.504.037 (XO: 15.280505619)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 84.900 usec -> 2022-02-07T23:07:29.280.506.625 (XO: 15.280508207)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 82.438 usec -> 2022-02-07T23:07:29.280.504.162 (XO: 15.280505744)

 - Block number: 3 starting at 2022-02-07T23:07:52.821.383.725 (XO: 38.821386882 - 38.821692883, t=37.2 degC)  Rank: 00084
   TM values: Max =   214  Min =  -296  Ave =    -4.59  Std =    24.92
   Min TM value:-296 at an offset of 108.963 usec -> 2022-02-07T23:07:52.821.492.687 (XO: 38.821495845)
   Max TM value:214 at an offset of 106.525 usec -> 2022-02-07T23:07:52.821.490.250 (XO: 38.821493407)
   Max dTM/dt [1/us]:2.60e+03 at an offset of 109.063 usec -> 2022-02-07T23:07:52.821.492.787 (XO: 38.821495945)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 106.625 usec -> 2022-02-07T23:07:52.821.490.350 (XO: 38.821493507)
