-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jan 11 10:25:37 2022 UTC
-- File 20210915_054941_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 2.599109 to 59.836083
-each separately from 2s to 59s and from 499146us to 836083us.
   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, ...
      20.899748 in 1 packets: 18
      16.049524 in 1 packets: 36
      20.286546 in 1 packets: 54
MIU packet time from 2021-09-15T05:49:46.599.109.000 to 2021-09-15T05:50:43.836.083.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, ...
      20.899748 in 1 packets: 18
      16.049524 in 1 packets: 36
      20.286546 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 4.2656335 to 61.2654443
   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, ...
      20.9999303 in 1 packets: 18
      15.9999468 in 1 packets: 36
      19.9999337 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 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 20210915_054941_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.8647429 to 4.8650319
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.8996790  -- OK for SL --
   MIU time from 2021-09-15T05:49:46.599.109.000 to 2021-09-15T05:49:46.599.398.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.899748

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.7647109 to 25.7649999
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0494710  -- OK for SL --
   MIU time from 2021-09-15T05:50:07.499.146.000 to 2021-09-15T05:50:07.499.435.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.049524

 - 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 41.8144709 to 41.8147599
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.2864790  -- OK for SL --
   MIU time from 2021-09-15T05:50:23.548.959.000 to 2021-09-15T05:50:23.549.248.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.286546

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 62.1012389 to 62.1015279
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-15T05:50:43.835.794.000 to 2021-09-15T05:50:43.836.083.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 = 2, 32bit 10MHz counter = 4.864742900 corrected by 40bit 10MHz counter of 4.265633500 obtained at 1Hz counter of 2. Result: 2.599111437
--
   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-15T05:49:46.598.968.725
   Max 1st sample MIU time among all SL packets: 2021-09-15T05:50:43.835.942.725
   Min 1st sample XO time among all SL packets: 2.598971162
   Max 1st sample XO time among all SL packets: 59.835946084
   TM values from -248 to 215 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-15T05:49:46.598.968.725 (XO: 2.598971162 - 2.599277163, t=37.2 degC)  Rank: 00082
   TM values: Max =   178  Min =  -222  Ave =    -4.51  Std =    20.56
   Min TM value:-222 at an offset of 128.275 usec -> 2021-09-15T05:49:46.599.097.000 (XO: 2.599099437)
   Max TM value:178 at an offset of 130.950 usec -> 2021-09-15T05:49:46.599.099.675 (XO: 2.599102112)
   Max dTM/dt [1/us]:1.56e+03 at an offset of 130.775 usec -> 2021-09-15T05:49:46.599.099.500 (XO: 2.599101937)
   Min dTM/dt [1/us]:-1.68e+03 at an offset of 128.063 usec -> 2021-09-15T05:49:46.599.096.787 (XO: 2.599099224)

 - Block number: 2 starting at 2021-09-15T05:50:07.499.005.725 (XO: 23.499008522 - 23.499314523, t=37.2 degC)  Rank: 00082
   TM values: Max =   209  Min =  -248  Ave =    -4.44  Std =    26.36
   Min TM value:-248 at an offset of 119.413 usec -> 2021-09-15T05:50:07.499.125.137 (XO: 23.499127935)
   Max TM value:209 at an offset of 117.350 usec -> 2021-09-15T05:50:07.499.123.075 (XO: 23.499125872)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 117.188 usec -> 2021-09-15T05:50:07.499.122.912 (XO: 23.499125710)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 119.225 usec -> 2021-09-15T05:50:07.499.124.950 (XO: 23.499127747)

 - Block number: 3 starting at 2021-09-15T05:50:23.548.818.725 (XO: 39.548821836 - 39.549127837, t=37.2 degC)  Rank: 00079
   TM values: Max =   215  Min =  -243  Ave =    -4.54  Std =    26.61
   Min TM value:-243 at an offset of 131.575 usec -> 2021-09-15T05:50:23.548.950.300 (XO: 39.548953412)
   Max TM value:215 at an offset of 129.450 usec -> 2021-09-15T05:50:23.548.948.175 (XO: 39.548951287)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 157.451 usec -> 2021-09-15T05:50:23.548.976.175 (XO: 39.548979287)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 159.613 usec -> 2021-09-15T05:50:23.548.978.338 (XO: 39.548981449)

 - Block number: 4 starting at 2021-09-15T05:50:43.835.653.725 (XO: 59.835657083 - 59.835963084, t=37.2 degC)  Rank: 00076
   TM values: Max =   179  Min =  -236  Ave =    -4.56  Std =    20.20
   Min TM value:-236 at an offset of 130.125 usec -> 2021-09-15T05:50:43.835.783.850 (XO: 59.835787208)
   Max TM value:179 at an offset of 132.763 usec -> 2021-09-15T05:50:43.835.786.487 (XO: 59.835789846)
   Max dTM/dt [1/us]:1.40e+03 at an offset of 132.613 usec -> 2021-09-15T05:50:43.835.786.337 (XO: 59.835789696)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 129.913 usec -> 2021-09-15T05:50:43.835.783.637 (XO: 59.835786996)
