-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 10:32:30 2023 UTC
-- File 20220708_035654_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 2.847213 to 55.807821
-each separately from 2s to 55s and from 347331us to 847502us.
   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, ...
      23.499829 in 1 packets: 18
      11.179719 in 1 packets: 36
      18.279904 in 1 packets: 54
MIU packet time from 2022-07-08T03:56:59.847.213.000 to 2022-07-08T03:57:52.807.821.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, ...
      23.499829 in 1 packets: 18
      11.179719 in 1 packets: 36
      18.279904 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 3.7632507 to 56.7630596
   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, ...
      23.9999135 in 1 packets: 18
      10.9999603 in 1 packets: 36
      17.9999351 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 72 packets (all packets)
Temperature XO: 
      C2 -> 38.8 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 20220708_035654_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.6104646 to 4.6107536
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.4997430  -- OK for SL --
   MIU time from 2022-07-08T03:56:59.847.213.000 to 2022-07-08T03:56:59.847.502.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.499829

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.1104966 to 28.1107856
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.1796790  -- OK for SL --
   MIU time from 2022-07-08T03:57:23.347.331.000 to 2022-07-08T03:57:23.347.620.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.179719

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.2904646 to 39.2907536
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.2798390  -- OK for SL --
   MIU time from 2022-07-08T03:57:34.527.339.000 to 2022-07-08T03:57:34.527.628.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.279904

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.5705926 to 57.5708816
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-08T03:57:52.807.532.000 to 2022-07-08T03:57:52.807.821.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 = 2, 32bit 10MHz counter = 4.610464600 corrected by 40bit 10MHz counter of 3.763250700 obtained at 1Hz counter of 2. Result: 2.847216950
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-07-08T03:56:59.847.072.725
   Max 1st sample MIU time among all SL packets: 2022-07-08T03:57:52.807.680.725
   Min 1st sample XO time among all SL packets: 2.847076674
   Max 1st sample XO time among all SL packets: 55.807684633
   TM values from -256 to 229 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-08T03:56:59.847.072.725 (XO: 2.847076674 - 2.847382676, t=38.8 degC)  Rank: 00084
   TM values: Max =   179  Min =  -247  Ave =    -4.55  Std =    24.21
   Min TM value:-247 at an offset of 115.850 usec -> 2022-07-08T03:56:59.847.188.575 (XO: 2.847192525)
   Max TM value:179 at an offset of 103.438 usec -> 2022-07-08T03:56:59.847.176.162 (XO: 2.847180112)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 118.225 usec -> 2022-07-08T03:56:59.847.190.950 (XO: 2.847194900)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 115.675 usec -> 2022-07-08T03:56:59.847.188.400 (XO: 2.847192350)

 - Block number: 2 starting at 2022-07-08T03:57:23.347.190.725 (XO: 26.347193375 - 26.347499376, t=38.8 degC)  Rank: 00082
   TM values: Max =   201  Min =  -252  Ave =    -4.62  Std =    24.52
   Min TM value:-252 at an offset of 126.525 usec -> 2022-07-08T03:57:23.347.317.250 (XO: 26.347319900)
   Max TM value:201 at an offset of 126.175 usec -> 2022-07-08T03:57:23.347.316.900 (XO: 26.347319550)
   Max dTM/dt [1/us]:2.42e+03 at an offset of 128.775 usec -> 2022-07-08T03:57:23.347.319.500 (XO: 26.347322150)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 126.338 usec -> 2022-07-08T03:57:23.347.317.062 (XO: 26.347319713)

 - Block number: 3 starting at 2022-07-08T03:57:34.527.198.725 (XO: 37.527201723 - 37.527507724, t=38.8 degC)  Rank: 00080
   TM values: Max =   229  Min =  -256  Ave =    -4.53  Std =    34.41
   Min TM value:-256 at an offset of 183.988 usec -> 2022-07-08T03:57:34.527.382.713 (XO: 37.527385711)
   Max TM value:229 at an offset of 183.701 usec -> 2022-07-08T03:57:34.527.382.425 (XO: 37.527385424)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 186.251 usec -> 2022-07-08T03:57:34.527.384.975 (XO: 37.527387974)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 183.863 usec -> 2022-07-08T03:57:34.527.382.588 (XO: 37.527385586)

 - Block number: 4 starting at 2022-07-08T03:57:52.807.391.725 (XO: 55.807395632 - 55.807701633, t=38.8 degC)  Rank: 00079
   TM values: Max =   159  Min =  -242  Ave =    -4.50  Std =    25.54
   Min TM value:-242 at an offset of 128.963 usec -> 2022-07-08T03:57:52.807.520.687 (XO: 55.807524595)
   Max TM value:159 at an offset of 182.951 usec -> 2022-07-08T03:57:52.807.574.675 (XO: 55.807578582)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 129.025 usec -> 2022-07-08T03:57:52.807.520.750 (XO: 55.807524657)
   Min dTM/dt [1/us]:-1.64e+03 at an offset of 115.400 usec -> 2022-07-08T03:57:52.807.507.125 (XO: 55.807511032)
