-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 18:14:34 2023 UTC
-- File 20220705_204130_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 7.922762 to 47.197037
-each separately from 7s to 47s and from 158496us to 923051us.
   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, ...
      18.536804 in 1 packets: 18
      8.698352 in 1 packets: 36
      12.037963 in 1 packets: 54
MIU packet time from 2022-07-05T20:41:40.922.762.000 to 2022-07-05T20:42:20.197.037.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, ...
      18.536804 in 1 packets: 18
      8.698352 in 1 packets: 36
      12.037963 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 8.6481416 to 48.6479954
   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, ...
      18.9999305 in 1 packets: 18
      8.9999671 in 1 packets: 36
      11.9999562 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      02 -> 52.4 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C2 -> 38.8 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 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20220705_204130_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.5709044 to 9.5711934
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.5367350  -- OK for SL --
   MIU time from 2022-07-05T20:41:40.922.762.000 to 2022-07-05T20:41:40.923.051.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.536804

 - 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:
      91 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.1079284 to 28.1082174
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.6983190  -- OK for SL --
   MIU time from 2022-07-05T20:41:59.459.855.000 to 2022-07-05T20:41:59.460.144.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.698352

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.8065364 to 36.8068254
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.0379190  -- OK for SL --
   MIU time from 2022-07-05T20:42:08.158.496.000 to 2022-07-05T20:42:08.158.785.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.037963

 - 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 48.8447444 to 48.8450334
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-05T20:42:20.196.748.000 to 2022-07-05T20:42:20.197.037.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 = 7, 32bit 10MHz counter = 9.570904400 corrected by 40bit 10MHz counter of 8.648141600 obtained at 1Hz counter of 7. Result: 7.922766214
--
   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-07-05T20:41:40.922.621.725
   Max 1st sample MIU time among all SL packets: 2022-07-05T20:42:20.196.896.725
   Min 1st sample XO time among all SL packets: 7.922625939
   Max 1st sample XO time among all SL packets: 47.196898434
   TM values from -316 to 302 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-05T20:41:40.922.621.725 (XO: 7.922625939 - 7.922931940, t=38.8 degC)  Rank: 00076
   TM values: Max =   262  Min =  -291  Ave =    -4.42  Std =    42.12
   Min TM value:-291 at an offset of 117.350 usec -> 2022-07-05T20:41:40.922.739.075 (XO: 7.922743289)
   Max TM value:262 at an offset of 119.988 usec -> 2022-07-05T20:41:40.922.741.712 (XO: 7.922745927)
   Max dTM/dt [1/us]:3.10e+03 at an offset of 117.400 usec -> 2022-07-05T20:41:40.922.739.125 (XO: 7.922743339)
   Min dTM/dt [1/us]:-2.84e+03 at an offset of 115.000 usec -> 2022-07-05T20:41:40.922.736.725 (XO: 7.922740939)

 - Block number: 2 starting at 2022-07-05T20:41:59.459.714.725 (XO: 26.459717680 - 26.460023681, t=38.8 degC)  Rank: 00091
   TM values: Max =   302  Min =  -316  Ave =    -4.48  Std =    34.45
   Min TM value:-316 at an offset of 128.663 usec -> 2022-07-05T20:41:59.459.843.387 (XO: 26.459846343)
   Max TM value:302 at an offset of 128.450 usec -> 2022-07-05T20:41:59.459.843.175 (XO: 26.459846130)
   Max dTM/dt [1/us]:2.59e+03 at an offset of 128.375 usec -> 2022-07-05T20:41:59.459.843.100 (XO: 26.459846055)
   Min dTM/dt [1/us]:-3.28e+03 at an offset of 128.588 usec -> 2022-07-05T20:41:59.459.843.312 (XO: 26.459846268)

 - Block number: 3 starting at 2022-07-05T20:42:08.158.355.725 (XO: 35.158357511 - 35.158663512, t=38.8 degC)  Rank: 00080
   TM values: Max =   220  Min =  -272  Ave =    -4.40  Std =    32.06
   Min TM value:-272 at an offset of 127.675 usec -> 2022-07-05T20:42:08.158.483.400 (XO: 35.158485186)
   Max TM value:220 at an offset of 132.475 usec -> 2022-07-05T20:42:08.158.488.200 (XO: 35.158489986)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 130.000 usec -> 2022-07-05T20:42:08.158.485.725 (XO: 35.158487511)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 127.463 usec -> 2022-07-05T20:42:08.158.483.187 (XO: 35.158484974)

 - Block number: 4 starting at 2022-07-05T20:42:20.196.607.725 (XO: 47.196609433 - 47.196915434, t=38.8 degC)  Rank: 00077
   TM values: Max =   240  Min =  -311  Ave =    -4.52  Std =    32.47
   Min TM value:-311 at an offset of 118.125 usec -> 2022-07-05T20:42:20.196.725.850 (XO: 47.196727558)
   Max TM value:240 at an offset of 118.350 usec -> 2022-07-05T20:42:20.196.726.075 (XO: 47.196727783)
   Max dTM/dt [1/us]:2.64e+03 at an offset of 118.175 usec -> 2022-07-05T20:42:20.196.725.900 (XO: 47.196727608)
   Min dTM/dt [1/us]:-2.95e+03 at an offset of 115.788 usec -> 2022-07-05T20:42:20.196.723.512 (XO: 47.196725221)
