-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jan  4 17:18:08 2022 UTC
-- File 20210907_064938_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 4.121245 to 47.201437
-each separately from 4s to 47s and from 121245us to 421839us.
   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, ...
      11.139828 in 1 packets: 18
      18.159899 in 1 packets: 36
      13.779309 in 1 packets: 54
MIU packet time from 2021-09-07T06:49:45.121.245.000 to 2021-09-07T06:50:28.201.437.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, ...
      11.139828 in 1 packets: 18
      18.159899 in 1 packets: 36
      13.779309 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 5.8521668 to 48.8520241
   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, ...
      10.9999635 in 1 packets: 18
      17.9999403 in 1 packets: 36
      13.9999535 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C1 -> 37.2 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 20210907_064938_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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.9734133 to 5.9737023
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.1397910  -- OK for SL --
   MIU time from 2021-09-07T06:49:45.121.245.000 to 2021-09-07T06:49:45.121.534.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.139828

 - 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 17.1134933 to 17.1137823
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.1598390  -- OK for SL --
   MIU time from 2021-09-07T06:49:56.261.362.000 to 2021-09-07T06:49:56.261.651.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.159899

 - 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 35.2736213 to 35.2739103
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.7792630  -- OK for SL --
   MIU time from 2021-09-07T06:50:14.421.550.000 to 2021-09-07T06:50:14.421.839.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.779309

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.0531733 to 49.0534623
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-07T06:50:28.201.148.000 to 2021-09-07T06:50:28.201.437.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 = 4, 32bit 10MHz counter = 5.973413300 corrected by 40bit 10MHz counter of 5.852166800 obtained at 1Hz counter of 4. Result: 4.121246900
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-07T06:49:45.121.104.725
   Max 1st sample MIU time among all SL packets: 2021-09-07T06:50:28.201.296.725
   Min 1st sample XO time among all SL packets: 4.121106625
   Max 1st sample XO time among all SL packets: 47.201298589
   TM values from -279 to 230 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-07T06:49:45.121.104.725 (XO: 4.121106625 - 4.121412626, t=37.2 degC)  Rank: 00088
   TM values: Max =   230  Min =  -279  Ave =    -4.50  Std =    23.24
   Min TM value:-279 at an offset of 130.788 usec -> 2021-09-07T06:49:45.121.235.512 (XO: 4.121237413)
   Max TM value:230 at an offset of 128.250 usec -> 2021-09-07T06:49:45.121.232.975 (XO: 4.121234875)
   Max dTM/dt [1/us]:2.63e+03 at an offset of 130.888 usec -> 2021-09-07T06:49:45.121.235.612 (XO: 4.121237513)
   Min dTM/dt [1/us]:-2.74e+03 at an offset of 128.363 usec -> 2021-09-07T06:49:45.121.233.087 (XO: 4.121234988)

 - Block number: 2 starting at 2021-09-07T06:49:56.261.221.725 (XO: 15.261223587 - 15.261529588, t=37.2 degC)  Rank: 00083
   TM values: Max =   228  Min =  -236  Ave =    -4.49  Std =    19.49
   Min TM value:-236 at an offset of 114.325 usec -> 2021-09-07T06:49:56.261.336.050 (XO: 15.261337912)
   Max TM value:228 at an offset of 117.013 usec -> 2021-09-07T06:49:56.261.338.737 (XO: 15.261340600)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 116.888 usec -> 2021-09-07T06:49:56.261.338.612 (XO: 15.261340475)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 114.175 usec -> 2021-09-07T06:49:56.261.335.900 (XO: 15.261337762)

 - Block number: 3 starting at 2021-09-07T06:50:14.421.409.725 (XO: 33.421411858 - 33.421717859, t=37.2 degC)  Rank: 00080
   TM values: Max =   217  Min =  -263  Ave =    -4.39  Std =    23.59
   Min TM value:-263 at an offset of 113.475 usec -> 2021-09-07T06:50:14.421.523.200 (XO: 33.421525333)
   Max TM value:217 at an offset of 116.075 usec -> 2021-09-07T06:50:14.421.525.800 (XO: 33.421527933)
   Max dTM/dt [1/us]:2.58e+03 at an offset of 115.850 usec -> 2021-09-07T06:50:14.421.525.575 (XO: 33.421527708)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 113.325 usec -> 2021-09-07T06:50:14.421.523.050 (XO: 33.421525183)

 - Block number: 4 starting at 2021-09-07T06:50:28.201.007.725 (XO: 47.201009588 - 47.201315589, t=37.2 degC)  Rank: 00080
   TM values: Max =   230  Min =  -276  Ave =    -4.49  Std =    28.27
   Min TM value:-276 at an offset of 183.826 usec -> 2021-09-07T06:50:28.201.191.550 (XO: 47.201193414)
   Max TM value:230 at an offset of 167.951 usec -> 2021-09-07T06:50:28.201.175.675 (XO: 47.201177539)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 128.125 usec -> 2021-09-07T06:50:28.201.135.850 (XO: 47.201137714)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 125.600 usec -> 2021-09-07T06:50:28.201.133.325 (XO: 47.201135189)
