-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 10 07:40:21 2023 UTC
-- File 20220530_155610_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.035681 to 52.318303
-each separately from 6s to 52s and from 35681us to 396539us.
   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, ...
      12.360280 in 1 packets: 18
      13.720367 in 1 packets: 36
      20.200819 in 1 packets: 54
MIU packet time from 2022-05-30T15:56:19.035.681.000 to 2022-05-30T15:57:05.318.303.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, ...
      12.360280 in 1 packets: 18
      13.720367 in 1 packets: 36
      20.200819 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.8164395 to 53.8162830
   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, ...
      11.9999591 in 1 packets: 18
      13.9999525 in 1 packets: 36
      19.9999319 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      00 -> 55.0 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C4 -> 42.0 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 20220530_155610_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 7.8521221 to 7.8524111
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.3602390  -- OK for SL --
   MIU time from 2022-05-30T15:56:19.035.681.000 to 2022-05-30T15:56:19.035.970.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.360280

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.2126501 to 20.2129391
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.7203190  -- OK for SL --
   MIU time from 2022-05-30T15:56:31.396.250.000 to 2022-05-30T15:56:31.396.539.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.720367

 - 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 33.9332581 to 33.9335471
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.2007510  -- OK for SL --
   MIU time from 2022-05-30T15:56:45.116.906.000 to 2022-05-30T15:56:45.117.195.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.200819

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.1342981 to 54.1345871
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-30T15:57:05.318.014.000 to 2022-05-30T15:57:05.318.303.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 = 7.852122100 corrected by 40bit 10MHz counter of 7.816439500 obtained at 1Hz counter of 6. Result: 6.035682721
--
   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.999996600 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2022-05-30T15:56:19.035.540.725
   Max 1st sample MIU time among all SL packets: 2022-05-30T15:57:05.318.162.725
   Min 1st sample XO time among all SL packets: 6.035542446
   Max 1st sample XO time among all SL packets: 52.318164907
   TM values from -295 to 245 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-30T15:56:19.035.540.725 (XO: 6.035542446 - 6.035848447, t=42.0 degC)  Rank: 00086
   TM values: Max =   226  Min =  -255  Ave =    -4.46  Std =    30.01
   Min TM value:-255 at an offset of 124.575 usec -> 2022-05-30T15:56:19.035.665.300 (XO: 6.035667021)
   Max TM value:226 at an offset of 126.938 usec -> 2022-05-30T15:56:19.035.667.662 (XO: 6.035669384)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 126.788 usec -> 2022-05-30T15:56:19.035.667.512 (XO: 6.035669234)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 195.438 usec -> 2022-05-30T15:56:19.035.736.163 (XO: 6.035737884)

 - Block number: 2 starting at 2022-05-30T15:56:31.396.109.725 (XO: 18.396112572 - 18.396418573, t=42.0 degC)  Rank: 00086
   TM values: Max =   245  Min =  -270  Ave =    -4.47  Std =    28.87
   Min TM value:-270 at an offset of 128.463 usec -> 2022-05-30T15:56:31.396.238.187 (XO: 18.396241035)
   Max TM value:245 at an offset of 130.838 usec -> 2022-05-30T15:56:31.396.240.562 (XO: 18.396243410)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 189.601 usec -> 2022-05-30T15:56:31.396.299.325 (XO: 18.396302172)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 128.338 usec -> 2022-05-30T15:56:31.396.238.062 (XO: 18.396240910)

 - Block number: 3 starting at 2022-05-30T15:56:45.116.765.725 (XO: 32.116767122 - 32.117073123, t=42.0 degC)  Rank: 00079
   TM values: Max =   242  Min =  -295  Ave =    -4.40  Std =    26.99
   Min TM value:-295 at an offset of 112.813 usec -> 2022-05-30T15:56:45.116.878.537 (XO: 32.116879935)
   Max TM value:242 at an offset of 112.563 usec -> 2022-05-30T15:56:45.116.878.287 (XO: 32.116879685)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 115.050 usec -> 2022-05-30T15:56:45.116.880.775 (XO: 32.116882172)
   Min dTM/dt [1/us]:-2.59e+03 at an offset of 112.650 usec -> 2022-05-30T15:56:45.116.878.375 (XO: 32.116879772)

 - Block number: 4 starting at 2022-05-30T15:57:05.317.873.725 (XO: 52.317875906 - 52.318181907, t=42.0 degC)  Rank: 00077
   TM values: Max =   225  Min =  -287  Ave =    -4.40  Std =    20.99
   Min TM value:-287 at an offset of 126.725 usec -> 2022-05-30T15:57:05.318.000.450 (XO: 52.318002631)
   Max TM value:225 at an offset of 126.463 usec -> 2022-05-30T15:57:05.318.000.187 (XO: 52.318002369)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 128.963 usec -> 2022-05-30T15:57:05.318.002.687 (XO: 52.318004869)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 126.575 usec -> 2022-05-30T15:57:05.318.000.300 (XO: 52.318002481)
