-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar  6 22:40:17 2023 UTC
-- File 20220521_160509_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 3.275960 to 53.917913
-each separately from 3s to 53s and from 236448us to 917913us.
   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, ...
      15.960199 in 1 packets: 18
      16.560007 in 1 packets: 36
      18.120591 in 1 packets: 54
MIU packet time from 2022-05-21T16:05:15.275.960.000 to 2022-05-21T16:06:05.917.913.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, ...
      15.960199 in 1 packets: 18
      16.560007 in 1 packets: 36
      18.120591 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.8527942 to 54.8526183
   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, ...
      15.9999437 in 2 packets: 18, 36
      17.9999367 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 36 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: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      01 -> 53.7 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C4 -> 42.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C3 -> 40.4 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20220521_160509_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.1287554 to 5.1290444
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.9601430  -- OK for SL --
   MIU time from 2022-05-21T16:05:15.275.960.000 to 2022-05-21T16:05:15.276.249.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.960199

 - 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 21.0891874 to 21.0894764
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5599510  -- OK for SL --
   MIU time from 2022-05-21T16:05:31.236.448.000 to 2022-05-21T16:05:31.236.737.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.560007

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.6494274 to 37.6497164
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.1205270  -- OK for SL --
   MIU time from 2022-05-21T16:05:47.796.744.000 to 2022-05-21T16:05:47.797.033.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.120591

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.7702434 to 55.7705324
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-21T16:06:05.917.624.000 to 2022-05-21T16:06:05.917.913.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 = 3, 32bit 10MHz counter = 5.128755400 corrected by 40bit 10MHz counter of 4.852794200 obtained at 1Hz counter of 3. Result: 3.275962166
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-05-21T16:05:15.275.819.725
   Max 1st sample MIU time among all SL packets: 2022-05-21T16:06:05.917.772.725
   Min 1st sample XO time among all SL packets: 3.275821890
   Max 1st sample XO time among all SL packets: 53.917777037
   TM values from -276 to 223 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-21T16:05:15.275.819.725 (XO: 3.275821890 - 3.276127891, t=42.0 degC)  Rank: 00078
   TM values: Max =   212  Min =  -249  Ave =    -4.46  Std =    28.00
   Min TM value:-249 at an offset of 130.750 usec -> 2022-05-21T16:05:15.275.950.475 (XO: 3.275952641)
   Max TM value:212 at an offset of 131.000 usec -> 2022-05-21T16:05:15.275.950.725 (XO: 3.275952891)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 130.875 usec -> 2022-05-21T16:05:15.275.950.600 (XO: 3.275952766)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 130.675 usec -> 2022-05-21T16:05:15.275.950.400 (XO: 3.275952566)

 - Block number: 2 starting at 2022-05-21T16:05:31.236.307.725 (XO: 19.236310052 - 19.236616053, t=42.0 degC)  Rank: 00081
   TM values: Max =   218  Min =  -276  Ave =    -4.59  Std =    22.93
   Min TM value:-276 at an offset of 118.813 usec -> 2022-05-21T16:05:31.236.426.537 (XO: 19.236428865)
   Max TM value:218 at an offset of 118.563 usec -> 2022-05-21T16:05:31.236.426.287 (XO: 19.236428615)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 165.688 usec -> 2022-05-21T16:05:31.236.473.413 (XO: 19.236475740)
   Min dTM/dt [1/us]:-2.55e+03 at an offset of 118.663 usec -> 2022-05-21T16:05:31.236.426.387 (XO: 19.236428715)

 - Block number: 3 starting at 2022-05-21T16:05:47.796.603.725 (XO: 35.796608313 - 35.796914314, t=40.4 degC)  Rank: 00085
   TM values: Max =   208  Min =  -269  Ave =    -4.55  Std =    22.78
   Min TM value:-269 at an offset of 130.675 usec -> 2022-05-21T16:05:47.796.734.400 (XO: 35.796738989)
   Max TM value:208 at an offset of 130.925 usec -> 2022-05-21T16:05:47.796.734.650 (XO: 35.796739239)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 130.838 usec -> 2022-05-21T16:05:47.796.734.562 (XO: 35.796739151)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 130.588 usec -> 2022-05-21T16:05:47.796.734.312 (XO: 35.796738901)

 - Block number: 4 starting at 2022-05-21T16:06:05.917.483.725 (XO: 53.917488036 - 53.917794037, t=40.4 degC)  Rank: 00079
   TM values: Max =   223  Min =  -255  Ave =    -4.43  Std =    23.37
   Min TM value:-255 at an offset of 115.350 usec -> 2022-05-21T16:06:05.917.599.075 (XO: 53.917603387)
   Max TM value:223 at an offset of 117.738 usec -> 2022-05-21T16:06:05.917.601.462 (XO: 53.917605774)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 117.638 usec -> 2022-05-21T16:06:05.917.601.362 (XO: 53.917605674)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 115.238 usec -> 2022-05-21T16:06:05.917.598.962 (XO: 53.917603274)
