-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 11:17:44 2023 UTC
-- File 20220127_100015_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.177252 to 38.656062
-each separately from 4s to 38s and from 177252us to 756847us.
   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, ...
      16.579017 in 1 packets: 18
      17.898926 in 1 packets: 36
MIU packet time from 2022-01-27T10:00:22.177.252.000 to 2022-01-27T10:00:56.656.062.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, ...
      16.579017 in 1 packets: 18
      17.898926 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.7806684 to 39.7805484
   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, ...
      15.9999434 in 1 packets: 18
      17.9999366 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      06 -> 47.2 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C0 -> 35.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 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 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 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 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 20220127_100015_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.9579218 to 5.9582108
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5789590  -- OK for SL --
   MIU time from 2022-01-27T10:00:22.177.252.000 to 2022-01-27T10:00:22.177.541.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.579017

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.5371698 to 22.5374588
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.8988630  -- OK for SL --
   MIU time from 2022-01-27T10:00:38.756.558.000 to 2022-01-27T10:00:38.756.847.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.898926

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.4363218 to 40.4366108
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-27T10:00:56.655.773.000 to 2022-01-27T10:00:56.656.062.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.957921800 corrected by 40bit 10MHz counter of 5.780668400 obtained at 1Hz counter of 4. Result: 4.177254038
--
   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-01-27T10:00:22.177.111.725
   Max 1st sample MIU time among all SL packets: 2022-01-27T10:00:56.655.921.725
   Min 1st sample XO time among all SL packets: 4.177113763
   Max 1st sample XO time among all SL packets: 38.655924486
   TM values from -262 to 237 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-27T10:00:22.177.111.725 (XO: 4.177113763 - 4.177419764, t=35.6 degC)  Rank: 00081
   TM values: Max =   184  Min =  -246  Ave =    -4.60  Std =    20.96
   Min TM value:-246 at an offset of 114.863 usec -> 2022-01-27T10:00:22.177.226.587 (XO: 4.177228626)
   Max TM value:184 at an offset of 112.413 usec -> 2022-01-27T10:00:22.177.224.137 (XO: 4.177226176)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 114.988 usec -> 2022-01-27T10:00:22.177.226.712 (XO: 4.177228751)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 112.525 usec -> 2022-01-27T10:00:22.177.224.250 (XO: 4.177226288)

 - Block number: 2 starting at 2022-01-27T10:00:38.756.417.725 (XO: 20.756420372 - 20.756726374, t=35.6 degC)  Rank: 00081
   TM values: Max =   237  Min =  -262  Ave =    -4.51  Std =    24.24
   Min TM value:-262 at an offset of 127.000 usec -> 2022-01-27T10:00:38.756.544.725 (XO: 20.756547373)
   Max TM value:237 at an offset of 124.575 usec -> 2022-01-27T10:00:38.756.542.300 (XO: 20.756544948)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 127.125 usec -> 2022-01-27T10:00:38.756.544.850 (XO: 20.756547498)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 124.663 usec -> 2022-01-27T10:00:38.756.542.387 (XO: 20.756545035)

 - Block number: 3 starting at 2022-01-27T10:00:56.655.632.725 (XO: 38.655635485 - 38.655941486, t=35.6 degC)  Rank: 00079
   TM values: Max =   221  Min =  -250  Ave =    -4.60  Std =    24.18
   Min TM value:-250 at an offset of 131.650 usec -> 2022-01-27T10:00:56.655.764.375 (XO: 38.655767136)
   Max TM value:221 at an offset of 171.101 usec -> 2022-01-27T10:00:56.655.803.825 (XO: 38.655806586)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 173.676 usec -> 2022-01-27T10:00:56.655.806.400 (XO: 38.655809161)
   Min dTM/dt [1/us]:-2.48e+03 at an offset of 129.338 usec -> 2022-01-27T10:00:56.655.762.062 (XO: 38.655764823)
