-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 20:43:41 2022 UTC
-- File 20220207_222232_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 11.851231 to 55.760253
-each separately from 11s to 55s and from 330541us to 851520us.
   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, ...
      11.859354 in 1 packets: 18
      9.619378 in 1 packets: 36
      22.429134 in 1 packets: 54
MIU packet time from 2022-02-07T22:22:46.851.231.000 to 2022-02-07T22:23:30.760.253.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, ...
      11.859354 in 1 packets: 18
      9.619378 in 1 packets: 36
      22.429134 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 13.1860435 to 57.1858873
   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, ...
      11.9999573 in 1 packets: 18
      9.9999646 in 1 packets: 36
      21.9999219 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
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 20220207_222232_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.0372754 to 14.0375644
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.8593110  -- OK for SL --
   MIU time from 2022-02-07T22:22:46.851.231.000 to 2022-02-07T22:22:46.851.520.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.859354

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.8968754 to 25.8971644
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.6193430  -- OK for SL --
   MIU time from 2022-02-07T22:22:58.710.874.000 to 2022-02-07T22:22:58.711.163.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.619378

 - 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 35.5165074 to 35.5167964
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.4290550  -- OK for SL --
   MIU time from 2022-02-07T22:23:08.330.541.000 to 2022-02-07T22:23:08.330.830.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.429134

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.9458514 to 57.9461404
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-07T22:23:30.759.964.000 to 2022-02-07T22:23:30.760.253.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 = 11, 32bit 10MHz counter = 14.037275400 corrected by 40bit 10MHz counter of 13.186043500 obtained at 1Hz counter of 11. Result: 11.851234879
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2022-02-07T22:22:46.851.090.725
   Max 1st sample MIU time among all SL packets: 2022-02-07T22:23:30.760.112.725
   Min 1st sample XO time among all SL packets: 11.851094604
   Max 1st sample XO time among all SL packets: 55.760115561
   TM values from -297 to 257 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-07T22:22:46.851.090.725 (XO: 11.851094604 - 11.851400605, t=37.2 degC)  Rank: 00085
   TM values: Max =   257  Min =  -272  Ave =    -4.49  Std =    23.79
   Min TM value:-272 at an offset of 124.013 usec -> 2022-02-07T22:22:46.851.214.737 (XO: 11.851218617)
   Max TM value:257 at an offset of 121.588 usec -> 2022-02-07T22:22:46.851.212.312 (XO: 11.851216192)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 124.188 usec -> 2022-02-07T22:22:46.851.214.912 (XO: 11.851218792)
   Min dTM/dt [1/us]:-2.76e+03 at an offset of 121.663 usec -> 2022-02-07T22:22:46.851.212.387 (XO: 11.851216267)

 - Block number: 2 starting at 2022-02-07T22:22:58.710.733.725 (XO: 23.710736813 - 23.711042814, t=37.2 degC)  Rank: 00087
   TM values: Max =   240  Min =  -297  Ave =    -4.43  Std =    26.98
   Min TM value:-297 at an offset of 86.150 usec -> 2022-02-07T22:22:58.710.819.875 (XO: 23.710822963)
   Max TM value:240 at an offset of 83.750 usec -> 2022-02-07T22:22:58.710.817.475 (XO: 23.710820563)
   Max dTM/dt [1/us]:2.44e+03 at an offset of 86.275 usec -> 2022-02-07T22:22:58.710.820.000 (XO: 23.710823088)
   Min dTM/dt [1/us]:-2.75e+03 at an offset of 83.863 usec -> 2022-02-07T22:22:58.710.817.587 (XO: 23.710820675)

 - Block number: 3 starting at 2022-02-07T22:23:08.330.400.725 (XO: 33.330402914 - 33.330708916, t=37.2 degC)  Rank: 00079
   TM values: Max =   188  Min =  -266  Ave =    -4.50  Std =    31.08
   Min TM value:-266 at an offset of 173.176 usec -> 2022-02-07T22:23:08.330.573.900 (XO: 33.330576090)
   Max TM value:188 at an offset of 143.688 usec -> 2022-02-07T22:23:08.330.544.413 (XO: 33.330546602)
   Max dTM/dt [1/us]:2.51e+03 at an offset of 113.175 usec -> 2022-02-07T22:23:08.330.513.900 (XO: 33.330516090)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 110.675 usec -> 2022-02-07T22:23:08.330.511.400 (XO: 33.330513590)

 - Block number: 4 starting at 2022-02-07T22:23:30.759.823.725 (XO: 55.759826560 - 55.760132561, t=37.2 degC)  Rank: 00077
   TM values: Max =   207  Min =  -256  Ave =    -4.55  Std =    22.47
   Min TM value:-256 at an offset of 109.288 usec -> 2022-02-07T22:23:30.759.933.012 (XO: 55.759935848)
   Max TM value:207 at an offset of 106.825 usec -> 2022-02-07T22:23:30.759.930.550 (XO: 55.759933386)
   Max dTM/dt [1/us]:2.53e+03 at an offset of 109.388 usec -> 2022-02-07T22:23:30.759.933.112 (XO: 55.759935948)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 106.975 usec -> 2022-02-07T22:23:30.759.930.700 (XO: 55.759933536)
