-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 20 22:33:18 2023 UTC
-- File 20220622_080249_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 5.468030 to 36.626473
-each separately from 5s to 36s and from 427039us to 626473us.
   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, ...
      18.958720 in 1 packets: 18
      12.198856 in 1 packets: 36
MIU packet time from 2022-06-22T08:02:57.468.030.000 to 2022-06-22T08:03:28.626.473.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, ...
      18.958720 in 1 packets: 18
      12.198856 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 6.7596189 to 37.7595121
   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, ...
      18.9999345 in 1 packets: 18
      11.9999587 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FF -> 56.3 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C5 -> 43.6 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 35 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220622_080249_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.2276502 to 7.2279392
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.9586550  -- OK for SL --
   MIU time from 2022-06-22T08:02:57.468.030.000 to 2022-06-22T08:02:57.468.319.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.958720

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.1865942 to 26.1868832
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.1988150  -- OK for SL --
   MIU time from 2022-06-22T08:03:16.427.039.000 to 2022-06-22T08:03:16.427.328.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.198856

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.3856982 to 38.3859872
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-22T08:03:28.626.184.000 to 2022-06-22T08:03:28.626.473.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 = 5, 32bit 10MHz counter = 7.227650200 corrected by 40bit 10MHz counter of 6.759618900 obtained at 1Hz counter of 5. Result: 5.468032938
--
   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: 2022-06-22T08:02:57.467.889.725
   Max 1st sample MIU time among all SL packets: 2022-06-22T08:03:28.626.332.725
   Min 1st sample XO time among all SL packets: 5.467892663
   Max 1st sample XO time among all SL packets: 36.626336955
   TM values from -285 to 247 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-22T08:02:57.467.889.725 (XO: 5.467892663 - 5.468198664, t=43.6 degC)  Rank: 00079
   TM values: Max =   247  Min =  -285  Ave =    -4.44  Std =    31.37
   Min TM value:-285 at an offset of 163.063 usec -> 2022-06-22T08:02:57.468.052.788 (XO: 5.468055726)
   Max TM value:247 at an offset of 117.788 usec -> 2022-06-22T08:02:57.468.007.512 (XO: 5.468010451)
   Max dTM/dt [1/us]:2.41e+03 at an offset of 117.625 usec -> 2022-06-22T08:02:57.468.007.350 (XO: 5.468010288)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 115.213 usec -> 2022-06-22T08:02:57.468.004.937 (XO: 5.468007876)

 - Block number: 2 starting at 2022-06-22T08:03:16.426.898.725 (XO: 24.426901976 - 24.427207978, t=43.6 degC)  Rank: 00083
   TM values: Max =   240  Min =  -257  Ave =    -4.50  Std =    30.71
   Min TM value:-257 at an offset of 104.925 usec -> 2022-06-22T08:03:16.427.003.650 (XO: 24.427006902)
   Max TM value:240 at an offset of 107.263 usec -> 2022-06-22T08:03:16.427.005.987 (XO: 24.427009239)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 107.125 usec -> 2022-06-22T08:03:16.427.005.850 (XO: 24.427009102)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 104.763 usec -> 2022-06-22T08:03:16.427.003.487 (XO: 24.427006739)

 - Block number: 3 starting at 2022-06-22T08:03:28.626.043.725 (XO: 36.626047954 - 36.626353955, t=43.6 degC)  Rank: 00078
   TM values: Max =   237  Min =  -253  Ave =    -4.49  Std =    28.38
   Min TM value:-253 at an offset of 217.438 usec -> 2022-06-22T08:03:28.626.261.163 (XO: 36.626265392)
   Max TM value:237 at an offset of 219.826 usec -> 2022-06-22T08:03:28.626.263.550 (XO: 36.626267779)
   Max dTM/dt [1/us]:2.38e+03 at an offset of 162.501 usec -> 2022-06-22T08:03:28.626.206.225 (XO: 36.626210454)
   Min dTM/dt [1/us]:-1.65e+03 at an offset of 219.476 usec -> 2022-06-22T08:03:28.626.263.200 (XO: 36.626267429)
