-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan  3 14:31:05 2022 UTC
-- File 20210905_160607_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 1.921052 to 48.843706
-each separately from 1s to 48s and from 282347us to 921341us.
   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, ...
      23.361006 in 1 packets: 18
      17.400441 in 1 packets: 36
      6.160051 in 1 packets: 54
MIU packet time from 2021-09-05T16:06:11.921.052.000 to 2021-09-05T16:06:58.843.706.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, ...
      23.361006 in 1 packets: 18
      17.400441 in 1 packets: 36
      6.160051 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 2.8922541 to 49.8920972
   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, ...
      23.9999199 in 1 packets: 18
      16.9999432 in 1 packets: 36
      5.9999800 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 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 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210905_160607_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.8133063 to 3.8135953
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.3609270  -- OK for SL --
   MIU time from 2021-09-05T16:06:11.921.052.000 to 2021-09-05T16:06:11.921.341.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.361006

 - 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 27.1745223 to 27.1748113
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.4003830  -- OK for SL --
   MIU time from 2021-09-05T16:06:35.282.347.000 to 2021-09-05T16:06:35.282.636.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.400441

 - 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 44.5751943 to 44.5754833
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.1600310  -- OK for SL --
   MIU time from 2021-09-05T16:06:52.683.077.000 to 2021-09-05T16:06:52.683.366.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.160051

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.7355143 to 50.7358033
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-05T16:06:58.843.417.000 to 2021-09-05T16:06:58.843.706.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 = 1, 32bit 10MHz counter = 3.813306300 corrected by 40bit 10MHz counter of 2.892254100 obtained at 1Hz counter of 1. Result: 1.921055332
--
   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-05T16:06:11.920.911.725
   Max 1st sample MIU time among all SL packets: 2021-09-05T16:06:58.843.565.725
   Min 1st sample XO time among all SL packets: 1.920915056
   Max 1st sample XO time among all SL packets: 48.843568609
   TM values from -283 to 235 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-05T16:06:11.920.911.725 (XO: 1.920915056 - 1.921221057, t=35.6 degC)  Rank: 00079
   TM values: Max =   234  Min =  -251  Ave =    -4.51  Std =    20.37
   Min TM value:-251 at an offset of 127.463 usec -> 2021-09-05T16:06:11.921.039.187 (XO: 1.921042519)
   Max TM value:234 at an offset of 130.075 usec -> 2021-09-05T16:06:11.921.041.800 (XO: 1.921045132)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 129.963 usec -> 2021-09-05T16:06:11.921.041.687 (XO: 1.921045019)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 127.275 usec -> 2021-09-05T16:06:11.921.039.000 (XO: 1.921042332)

 - Block number: 2 starting at 2021-09-05T16:06:35.282.206.725 (XO: 25.282208956 - 25.282514957, t=35.6 degC)  Rank: 00083
   TM values: Max =   235  Min =  -283  Ave =    -4.62  Std =    33.12
   Min TM value:-283 at an offset of 184.951 usec -> 2021-09-05T16:06:35.282.391.675 (XO: 25.282393907)
   Max TM value:235 at an offset of 114.763 usec -> 2021-09-05T16:06:35.282.321.487 (XO: 25.282323719)
   Max dTM/dt [1/us]:2.58e+03 at an offset of 117.425 usec -> 2021-09-05T16:06:35.282.324.150 (XO: 25.282326382)
   Min dTM/dt [1/us]:-2.62e+03 at an offset of 114.875 usec -> 2021-09-05T16:06:35.282.321.600 (XO: 25.282323832)

 - Block number: 3 starting at 2021-09-05T16:06:52.682.936.725 (XO: 42.682939079 - 42.683245080, t=35.6 degC)  Rank: 00079
   TM values: Max =   215  Min =  -275  Ave =    -4.52  Std =    26.05
   Min TM value:-275 at an offset of 125.338 usec -> 2021-09-05T16:06:52.683.062.062 (XO: 42.683064417)
   Max TM value:215 at an offset of 127.938 usec -> 2021-09-05T16:06:52.683.064.662 (XO: 42.683067017)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 127.713 usec -> 2021-09-05T16:06:52.683.064.437 (XO: 42.683066792)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 125.138 usec -> 2021-09-05T16:06:52.683.061.862 (XO: 42.683064217)

 - Block number: 4 starting at 2021-09-05T16:06:58.843.276.725 (XO: 48.843279608 - 48.843585609, t=35.6 degC)  Rank: 00082
   TM values: Max =   233  Min =  -278  Ave =    -4.49  Std =    21.67
   Min TM value:-278 at an offset of 126.538 usec -> 2021-09-05T16:06:58.843.403.262 (XO: 48.843406146)
   Max TM value:233 at an offset of 124.238 usec -> 2021-09-05T16:06:58.843.400.962 (XO: 48.843403846)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 128.925 usec -> 2021-09-05T16:06:58.843.405.650 (XO: 48.843408533)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 126.350 usec -> 2021-09-05T16:06:58.843.403.075 (XO: 48.843405958)
