-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar  4 19:10:09 2022 UTC
-- File 20220201_052112_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 13.819048 to 49.386699
-each separately from 13s to 49s and from 386410us to 819337us.
   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, ...
      13.702753 in 1 packets: 18
      3.080314 in 1 packets: 36
      18.783428 in 1 packets: 54
MIU packet time from 2022-02-01T05:21:28.819.048.000 to 2022-02-01T05:22:04.386.699.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, ...
      13.702753 in 1 packets: 18
      3.080314 in 1 packets: 36
      18.783428 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 15.2803153 to 51.2801847
   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, ...
      13.9999492 in 1 packets: 18
      2.9999891 in 1 packets: 36
      18.9999311 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      05 -> 48.5 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20220201_052112_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 16.0993632 to 16.0996522
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.7027030  -- OK for SL --
   MIU time from 2022-02-01T05:21:28.819.048.000 to 2022-02-01T05:21:28.819.337.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.702753

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.8023552 to 29.8026442
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.0803030  -- OK for SL --
   MIU time from 2022-02-01T05:21:42.522.090.000 to 2022-02-01T05:21:42.522.379.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.080314

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.8829472 to 32.8832362
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.7833590  -- OK for SL --
   MIU time from 2022-02-01T05:21:45.602.693.000 to 2022-02-01T05:21:45.602.982.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.783428

 - 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 51.6665952 to 51.6668842
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-01T05:22:04.386.410.000 to 2022-02-01T05:22:04.386.699.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 = 13, 32bit 10MHz counter = 16.099363200 corrected by 40bit 10MHz counter of 15.280315300 obtained at 1Hz counter of 13. Result: 13.819050849
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-02-01T05:21:28.818.907.725
   Max 1st sample MIU time among all SL packets: 2022-02-01T05:22:04.386.558.725
   Min 1st sample XO time among all SL packets: 13.818910573
   Max 1st sample XO time among all SL packets: 49.386560617
   TM values from -279 to 237 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-01T05:21:28.818.907.725 (XO: 13.818910573 - 13.819216574, t=37.2 degC)  Rank: 00080
   TM values: Max =   192  Min =  -279  Ave =    -4.33  Std =    25.42
   Min TM value:-279 at an offset of 127.725 usec -> 2022-02-01T05:21:28.819.035.450 (XO: 13.819038299)
   Max TM value:192 at an offset of 127.938 usec -> 2022-02-01T05:21:28.819.035.662 (XO: 13.819038511)
   Max dTM/dt [1/us]:2.50e+03 at an offset of 127.800 usec -> 2022-02-01T05:21:28.819.035.525 (XO: 13.819038374)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 125.400 usec -> 2022-02-01T05:21:28.819.033.125 (XO: 13.819035974)

 - Block number: 2 starting at 2022-02-01T05:21:42.521.949.725 (XO: 27.521952356 - 27.522258357, t=37.2 degC)  Rank: 00078
   TM values: Max =   237  Min =  -253  Ave =    -4.38  Std =    24.52
   Min TM value:-253 at an offset of 127.825 usec -> 2022-02-01T05:21:42.522.077.550 (XO: 27.522080182)
   Max TM value:237 at an offset of 153.151 usec -> 2022-02-01T05:21:42.522.102.875 (XO: 27.522105507)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 155.751 usec -> 2022-02-01T05:21:42.522.105.475 (XO: 27.522108107)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 153.263 usec -> 2022-02-01T05:21:42.522.102.988 (XO: 27.522105619)

 - Block number: 3 starting at 2022-02-01T05:21:45.602.552.725 (XO: 30.602555494 - 30.602861495, t=37.2 degC)  Rank: 00083
   TM values: Max =   193  Min =  -271  Ave =    -4.39  Std =    28.25
   Min TM value:-271 at an offset of 115.663 usec -> 2022-02-01T05:21:45.602.668.387 (XO: 30.602671157)
   Max TM value:193 at an offset of 115.913 usec -> 2022-02-01T05:21:45.602.668.637 (XO: 30.602671407)
   Max dTM/dt [1/us]:2.72e+03 at an offset of 115.775 usec -> 2022-02-01T05:21:45.602.668.500 (XO: 30.602671270)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 113.350 usec -> 2022-02-01T05:21:45.602.666.075 (XO: 30.602668845)

 - Block number: 4 starting at 2022-02-01T05:22:04.386.269.725 (XO: 49.386271616 - 49.386577617, t=37.2 degC)  Rank: 00079
   TM values: Max =   210  Min =  -259  Ave =    -4.41  Std =    25.50
   Min TM value:-259 at an offset of 114.063 usec -> 2022-02-01T05:22:04.386.383.787 (XO: 49.386385678)
   Max TM value:210 at an offset of 114.300 usec -> 2022-02-01T05:22:04.386.384.025 (XO: 49.386385916)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 143.726 usec -> 2022-02-01T05:22:04.386.413.450 (XO: 49.386415341)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 111.738 usec -> 2022-02-01T05:22:04.386.381.462 (XO: 49.386383353)
