-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec 24 23:44:47 2021 UTC
-- File 20210825_155151_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.534911 to 48.973696
-each separately from 0s to 48s and from 23697us to 973696us.
   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.369000 in 1 packets: 18
      21.119208 in 1 packets: 36
      9.949421 in 1 packets: 54
MIU packet time from 2021-08-25T15:51:54.534.911.000 to 2021-08-25T15:52:42.973.696.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.369000 in 1 packets: 18
      21.119208 in 1 packets: 36
      9.949421 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 1.8379500 to 49.8377904
   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, ...
      16.9999436 in 1 packets: 18
      21.9999267 in 1 packets: 36
      8.9999701 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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 20210825_155151_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:
      95 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.3728622 to 2.3731512
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.3689430  -- OK for SL --
   MIU time from 2021-08-25T15:51:54.534.911.000 to 2021-08-25T15:51:54.535.200.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.369000

 - 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 19.7420942 to 19.7423832
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.1191350  -- OK for SL --
   MIU time from 2021-08-25T15:52:11.904.200.000 to 2021-08-25T15:52:11.904.489.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.119208

 - 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.8615182 to 40.8618072
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.9493910  -- OK for SL --
   MIU time from 2021-08-25T15:52:33.023.697.000 to 2021-08-25T15:52:33.023.986.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.949421

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.8111982 to 50.8114872
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-25T15:52:42.973.407.000 to 2021-08-25T15:52:42.973.696.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.372862200 corrected by 40bit 10MHz counter of 1.837950000 obtained at 1Hz counter of 0. Result: 0.534913965
--
   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-08-25T15:51:54.534.770.725
   Max 1st sample MIU time among all SL packets: 2021-08-25T15:52:42.973.555.725
   Min 1st sample XO time among all SL packets: 0.534773690
   Max 1st sample XO time among all SL packets: 48.973559835
   TM values from -289 to 285 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-25T15:51:54.534.770.725 (XO: 0.534773690 - 0.535079691, t=37.2 degC)  Rank: 00095
   TM values: Max =   285  Min =  -289  Ave =    -4.43  Std =    24.89
   Min TM value:-289 at an offset of 118.250 usec -> 2021-08-25T15:51:54.534.888.975 (XO: 0.534891940)
   Max TM value:285 at an offset of 116.163 usec -> 2021-08-25T15:51:54.534.886.887 (XO: 0.534889853)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 116.063 usec -> 2021-08-25T15:51:54.534.886.787 (XO: 0.534889753)
   Min dTM/dt [1/us]:-2.56e+03 at an offset of 118.125 usec -> 2021-08-25T15:51:54.534.888.850 (XO: 0.534891815)

 - Block number: 2 starting at 2021-08-25T15:52:11.904.059.725 (XO: 17.904063399 - 17.904369400, t=37.2 degC)  Rank: 00081
   TM values: Max =   227  Min =  -264  Ave =    -4.57  Std =    27.89
   Min TM value:-264 at an offset of 119.225 usec -> 2021-08-25T15:52:11.904.178.950 (XO: 17.904182624)
   Max TM value:227 at an offset of 117.050 usec -> 2021-08-25T15:52:11.904.176.775 (XO: 17.904180449)
   Max dTM/dt [1/us]:2.42e+03 at an offset of 121.650 usec -> 2021-08-25T15:52:11.904.181.375 (XO: 17.904185049)
   Min dTM/dt [1/us]:-2.54e+03 at an offset of 119.088 usec -> 2021-08-25T15:52:11.904.178.812 (XO: 17.904182487)

 - Block number: 3 starting at 2021-08-25T15:52:33.023.556.725 (XO: 39.023557703 - 39.023863704, t=37.2 degC)  Rank: 00079
   TM values: Max =   216  Min =  -245  Ave =    -4.64  Std =    22.07
   Min TM value:-245 at an offset of 112.450 usec -> 2021-08-25T15:52:33.023.669.175 (XO: 39.023670153)
   Max TM value:216 at an offset of 115.138 usec -> 2021-08-25T15:52:33.023.671.862 (XO: 39.023672841)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 114.950 usec -> 2021-08-25T15:52:33.023.671.675 (XO: 39.023672653)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 112.225 usec -> 2021-08-25T15:52:33.023.668.950 (XO: 39.023669928)

 - Block number: 4 starting at 2021-08-25T15:52:42.973.266.725 (XO: 48.973270834 - 48.973576835, t=37.2 degC)  Rank: 00078
   TM values: Max =   235  Min =  -272  Ave =    -4.50  Std =    22.36
   Min TM value:-272 at an offset of 125.300 usec -> 2021-08-25T15:52:42.973.392.025 (XO: 48.973396135)
   Max TM value:235 at an offset of 127.925 usec -> 2021-08-25T15:52:42.973.394.650 (XO: 48.973398760)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 127.838 usec -> 2021-08-25T15:52:42.973.394.562 (XO: 48.973398672)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 125.175 usec -> 2021-08-25T15:52:42.973.391.900 (XO: 48.973396010)
