-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 01:40:38 2023 UTC
-- File 20220629_150340_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 0.419847 to 46.583010
-each separately from 0s to 46s and from 141940us to 583010us.
   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, ...
      17.880929 in 1 packets: 18
      15.840586 in 1 packets: 36
      12.440492 in 1 packets: 54
MIU packet time from 2022-06-29T15:03:43.419.847.000 to 2022-06-29T15:04:29.583.010.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, ...
      17.880929 in 1 packets: 18
      15.840586 in 1 packets: 36
      12.440492 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 2.2578792 to 48.2577094
   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, ...
      17.9999336 in 1 packets: 18
      15.9999409 in 1 packets: 36
      11.9999557 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20220629_150340_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.6777271 to 2.6780161
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.8808630  -- OK for SL --
   MIU time from 2022-06-29T15:03:43.419.847.000 to 2022-06-29T15:03:43.420.136.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.880929

 - 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 20.5588791 to 20.5591681
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.8405270  -- OK for SL --
   MIU time from 2022-06-29T15:04:01.301.065.000 to 2022-06-29T15:04:01.301.354.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.840586

 - 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 36.3996951 to 36.3999841
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.4404470  -- OK for SL --
   MIU time from 2022-06-29T15:04:17.141.940.000 to 2022-06-29T15:04:17.142.229.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.440492

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.8404311 to 48.8407201
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-29T15:04:29.582.721.000 to 2022-06-29T15:04:29.583.010.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 = 0, 32bit 10MHz counter = 2.677727100 corrected by 40bit 10MHz counter of 2.257879200 obtained at 1Hz counter of 0. Result: 0.419849453
--
   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.999996200 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-06-29T15:03:43.419.706.725
   Max 1st sample MIU time among all SL packets: 2022-06-29T15:04:29.582.869.725
   Min 1st sample XO time among all SL packets: 0.419709178
   Max 1st sample XO time among all SL packets: 46.582872523
   TM values from -264 to 221 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-29T15:03:43.419.706.725 (XO: 0.419709178 - 0.420015179, t=35.6 degC)  Rank: 00083
   TM values: Max =   221  Min =  -264  Ave =    -4.51  Std =    21.45
   Min TM value:-264 at an offset of 112.550 usec -> 2022-06-29T15:03:43.419.819.275 (XO: 0.419821728)
   Max TM value:221 at an offset of 110.100 usec -> 2022-06-29T15:03:43.419.816.825 (XO: 0.419819278)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 112.650 usec -> 2022-06-29T15:03:43.419.819.375 (XO: 0.419821828)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 112.463 usec -> 2022-06-29T15:03:43.419.819.187 (XO: 0.419821641)

 - Block number: 2 starting at 2022-06-29T15:04:01.300.924.725 (XO: 18.300927169 - 18.301233170, t=35.6 degC)  Rank: 00077
   TM values: Max =   158  Min =  -221  Ave =    -4.51  Std =    17.32
   Min TM value:-221 at an offset of 124.525 usec -> 2022-06-29T15:04:01.301.049.250 (XO: 18.301051694)
   Max TM value:158 at an offset of 122.000 usec -> 2022-06-29T15:04:01.301.046.725 (XO: 18.301049169)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 124.638 usec -> 2022-06-29T15:04:01.301.049.362 (XO: 18.301051806)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 122.138 usec -> 2022-06-29T15:04:01.301.046.862 (XO: 18.301049306)

 - Block number: 3 starting at 2022-06-29T15:04:17.141.799.725 (XO: 34.141801650 - 34.142107651, t=35.6 degC)  Rank: 00080
   TM values: Max =   196  Min =  -212  Ave =    -4.39  Std =    27.67
   Min TM value:-212 at an offset of 113.125 usec -> 2022-06-29T15:04:17.141.912.850 (XO: 34.141914775)
   Max TM value:196 at an offset of 110.638 usec -> 2022-06-29T15:04:17.141.910.362 (XO: 34.141912288)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 113.263 usec -> 2022-06-29T15:04:17.141.912.987 (XO: 34.141914913)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 110.775 usec -> 2022-06-29T15:04:17.141.910.500 (XO: 34.141912425)

 - Block number: 4 starting at 2022-06-29T15:04:29.582.580.725 (XO: 46.582583522 - 46.582889523, t=35.6 degC)  Rank: 00083
   TM values: Max =   218  Min =  -228  Ave =    -4.49  Std =    32.81
   Min TM value:-228 at an offset of 124.213 usec -> 2022-06-29T15:04:29.582.704.937 (XO: 46.582707735)
   Max TM value:218 at an offset of 121.750 usec -> 2022-06-29T15:04:29.582.702.475 (XO: 46.582705273)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 124.313 usec -> 2022-06-29T15:04:29.582.705.037 (XO: 46.582707835)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 121.863 usec -> 2022-06-29T15:04:29.582.702.587 (XO: 46.582705385)
