-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Aug  2 16:24:34 2021 UTC
-- File 20210702_103104_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.852018 to 59.630078
-each separately from 2s to 59s and from 782us to 852307us.
   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, ...
      25.258747 in 1 packets: 18
      8.889439 in 1 packets: 36
      22.628718 in 1 packets: 54
MIU packet time from 2021-07-02T10:31:05.852.018.000 to 2021-07-02T10:32:02.630.078.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, ...
      25.258747 in 1 packets: 18
      8.889439 in 1 packets: 36
      22.628718 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 3.3758641 to 60.3756603
   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, ...
      25.9999071 in 1 packets: 18
      8.9999678 in 1 packets: 36
      21.9999213 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 36 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      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 20210702_103104_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.2278818 to 4.2281708
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.2586550  -- OK for SL --
   MIU time from 2021-07-02T10:31:05.852.018.000 to 2021-07-02T10:31:05.852.307.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.258747

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.4868258 to 29.4871148
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.8894070  -- OK for SL --
   MIU time from 2021-07-02T10:31:31.111.054.000 to 2021-07-02T10:31:31.111.343.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.889439

 - 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:
      92 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.3765218 to 38.3768108
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.6286390  -- OK for SL --
   MIU time from 2021-07-02T10:31:40.000.782.000 to 2021-07-02T10:31:40.001.071.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.628718

 - 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 61.0054498 to 61.0057388
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-02T10:32:02.629.789.000 to 2021-07-02T10:32:02.630.078.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.227881800 corrected by 40bit 10MHz counter of 3.375864100 obtained at 1Hz counter of 2. Result: 2.852020767
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2021-07-02T10:31:05.851.877.725
   Max 1st sample MIU time among all SL packets: 2021-07-02T10:32:02.629.937.725
   Min 1st sample XO time among all SL packets: 2.851880492
   Max 1st sample XO time among all SL packets: 59.629940493
   TM values from -269 to 247 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-02T10:31:05.851.877.725 (XO: 2.851880492 - 2.852186493, t=35.6 degC)  Rank: 00080
   TM values: Max =   208  Min =  -269  Ave =    -4.52  Std =    19.62
   Min TM value:-269 at an offset of 129.000 usec -> 2021-07-02T10:31:05.852.006.725 (XO: 2.852009492)
   Max TM value:208 at an offset of 128.663 usec -> 2021-07-02T10:31:05.852.006.387 (XO: 2.852009155)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 131.413 usec -> 2021-07-02T10:31:05.852.009.137 (XO: 2.852011905)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 128.763 usec -> 2021-07-02T10:31:05.852.006.487 (XO: 2.852009255)

 - Block number: 2 starting at 2021-07-02T10:31:31.110.913.725 (XO: 28.110914724 - 28.111220725, t=35.6 degC)  Rank: 00079
   TM values: Max =   218  Min =  -236  Ave =    -4.53  Std =    18.25
   Min TM value:-236 at an offset of 116.188 usec -> 2021-07-02T10:31:31.111.029.912 (XO: 28.111030912)
   Max TM value:218 at an offset of 118.875 usec -> 2021-07-02T10:31:31.111.032.600 (XO: 28.111033600)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 118.750 usec -> 2021-07-02T10:31:31.111.032.475 (XO: 28.111033475)
   Min dTM/dt [1/us]:-1.93e+03 at an offset of 116.013 usec -> 2021-07-02T10:31:31.111.029.737 (XO: 28.111030737)

 - Block number: 3 starting at 2021-07-02T10:31:40.000.641.725 (XO: 37.000642527 - 37.000948528, t=35.6 degC)  Rank: 00092
   TM values: Max =   247  Min =  -253  Ave =    -4.58  Std =    24.52
   Min TM value:-253 at an offset of 128.063 usec -> 2021-07-02T10:31:40.000.769.787 (XO: 37.000770590)
   Max TM value:247 at an offset of 130.800 usec -> 2021-07-02T10:31:40.000.772.525 (XO: 37.000773328)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 130.688 usec -> 2021-07-02T10:31:40.000.772.412 (XO: 37.000773215)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 127.938 usec -> 2021-07-02T10:31:40.000.769.662 (XO: 37.000770465)

 - Block number: 4 starting at 2021-07-02T10:32:02.629.648.725 (XO: 59.629651492 - 59.629957493, t=35.6 degC)  Rank: 00082
   TM values: Max =   181  Min =  -214  Ave =    -4.48  Std =    19.58
   Min TM value:-214 at an offset of 125.713 usec -> 2021-07-02T10:32:02.629.774.437 (XO: 59.629777205)
   Max TM value:181 at an offset of 128.500 usec -> 2021-07-02T10:32:02.629.777.225 (XO: 59.629779992)
   Max dTM/dt [1/us]:1.59e+03 at an offset of 128.338 usec -> 2021-07-02T10:32:02.629.777.062 (XO: 59.629779830)
   Min dTM/dt [1/us]:-1.65e+03 at an offset of 112.700 usec -> 2021-07-02T10:32:02.629.761.425 (XO: 59.629764192)
