-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Feb 14 05:46:05 2022 UTC
-- File 20211109_011544_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.872273 to 57.218064
-each separately from 6s to 57s and from 39368us to 872562us.
   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.438637 in 1 packets: 18
      11.727880 in 1 packets: 36
      16.178118 in 1 packets: 54
MIU packet time from 2021-11-09T01:15:53.872.273.000 to 2021-11-09T01:16:44.218.064.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.438637 in 1 packets: 18
      11.727880 in 1 packets: 36
      16.178118 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.7718685 to 58.7716931
   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, ...
      22.9999209 in 1 packets: 18
      11.9999586 in 1 packets: 36
      15.9999451 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C0 -> 35.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: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      3 in 1 packets: 19
      4 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20211109_011544_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.6441413 to 8.6444303
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.4385590  -- OK for SL --
   MIU time from 2021-11-09T01:15:53.872.273.000 to 2021-11-09T01:15:53.872.562.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.438637

 - 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:
      108 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.0829893 to 31.0832783
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.7278390  -- OK for SL --
   MIU time from 2021-11-09T01:16:16.311.199.000 to 2021-11-09T01:16:16.311.488.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.727880

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.8111173 to 42.8114063
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1780630  -- OK for SL --
   MIU time from 2021-11-09T01:16:28.039.368.000 to 2021-11-09T01:16:28.039.657.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.178118

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.9894693 to 58.9897583
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-11-09T01:16:44.217.775.000 to 2021-11-09T01:16:44.218.064.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.644141300 corrected by 40bit 10MHz counter of 7.771868500 obtained at 1Hz counter of 6. Result: 6.872275766
--
   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.999996500 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2021-11-09T01:15:53.872.132.725
   Max 1st sample MIU time among all SL packets: 2021-11-09T01:16:44.217.923.725
   Min 1st sample XO time among all SL packets: 6.872135490
   Max 1st sample XO time among all SL packets: 57.217925688
   TM values from -200 to 311 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-11-09T01:15:53.872.132.725 (XO: 6.872135490 - 6.872441491, t=35.6 degC)  Rank: 00086
   TM values: Max =   139  Min =  -127  Ave =    -4.45  Std =    23.48
   Min TM value:-127 at an offset of 147.351 usec -> 2021-11-09T01:15:53.872.280.075 (XO: 6.872282841)
   Max TM value:139 at an offset of 78.050 usec -> 2021-11-09T01:15:53.872.210.775 (XO: 6.872213541)
   Max dTM/dt [1/us]:1.02e+03 at an offset of 146.650 usec -> 2021-11-09T01:15:53.872.279.375 (XO: 6.872282141)
   Min dTM/dt [1/us]:-7.38e+02 at an offset of 159.626 usec -> 2021-11-09T01:15:53.872.292.350 (XO: 6.872295116)

 - Block number: 2 starting at 2021-11-09T01:16:16.311.058.725 (XO: 29.311060683 - 29.311366684, t=35.6 degC)  Rank: 00108
   TM values: Max =   311  Min =  -153  Ave =    -4.59  Std =    25.17
   Min TM value:-153 at an offset of 128.300 usec -> 2021-11-09T01:16:16.311.187.025 (XO: 29.311188983)
   Max TM value:311 at an offset of 118.400 usec -> 2021-11-09T01:16:16.311.177.125 (XO: 29.311179083)
   Max dTM/dt [1/us]:7.92e+02 at an offset of 118.263 usec -> 2021-11-09T01:16:16.311.176.987 (XO: 29.311178946)
   Min dTM/dt [1/us]:-4.66e+02 at an offset of 118.738 usec -> 2021-11-09T01:16:16.311.177.462 (XO: 29.311179421)

 - Block number: 3 starting at 2021-11-09T01:16:28.039.227.725 (XO: 41.039229158 - 41.039535159, t=35.6 degC)  Rank: 00069
   TM values: Max =   167  Min =  -181  Ave =    -4.47  Std =    19.32
   Min TM value:-181 at an offset of 107.963 usec -> 2021-11-09T01:16:28.039.335.687 (XO: 41.039337121)
   Max TM value:167 at an offset of 105.300 usec -> 2021-11-09T01:16:28.039.333.025 (XO: 41.039334459)
   Max dTM/dt [1/us]:1.42e+03 at an offset of 105.175 usec -> 2021-11-09T01:16:28.039.332.900 (XO: 41.039334334)
   Min dTM/dt [1/us]:-1.47e+03 at an offset of 107.838 usec -> 2021-11-09T01:16:28.039.335.562 (XO: 41.039336996)

 - Block number: 4 starting at 2021-11-09T01:16:44.217.634.725 (XO: 57.217636687 - 57.217942688, t=35.6 degC)  Rank: 00075
   TM values: Max =   197  Min =  -200  Ave =    -4.46  Std =    17.91
   Min TM value:-200 at an offset of 122.225 usec -> 2021-11-09T01:16:44.217.756.950 (XO: 57.217758912)
   Max TM value:197 at an offset of 119.663 usec -> 2021-11-09T01:16:44.217.754.387 (XO: 57.217756350)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 119.538 usec -> 2021-11-09T01:16:44.217.754.262 (XO: 57.217756225)
   Min dTM/dt [1/us]:-1.56e+03 at an offset of 122.113 usec -> 2021-11-09T01:16:44.217.756.837 (XO: 57.217758800)
