-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 20 10:36:59 2023 UTC
-- File 20220619_135117_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.043366 to 59.564171
-each separately from 3s to 59s and from 43366us to 684193us.
   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.180160 in 1 packets: 18
      3.459800 in 1 packets: 36
      27.879689 in 1 packets: 54
MIU packet time from 2022-06-19T13:51:23.043.366.000 to 2022-06-19T13:52:19.564.171.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.180160 in 1 packets: 18
      3.459800 in 1 packets: 36
      27.879689 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.6274534 to 59.6272726
   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, ...
      24.9999192 in 1 packets: 18
      2.9999903 in 1 packets: 36
      27.9999097 in 1 packets: 54
Temperature FPGA: 
      FF -> 56.3 degC in 72 packets (all packets)
Temperature XO: 
      C6 -> 45.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 20220619_135117_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.6708207 to 3.6711097
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.1800790  -- OK for SL --
   MIU time from 2022-06-19T13:51:23.043.366.000 to 2022-06-19T13:51:23.043.655.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.180160

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.8511887 to 28.8514777
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.4597910  -- OK for SL --
   MIU time from 2022-06-19T13:51:48.223.815.000 to 2022-06-19T13:51:48.224.104.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.459800

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.3112687 to 32.3115577
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.8795990  -- OK for SL --
   MIU time from 2022-06-19T13:51:51.683.904.000 to 2022-06-19T13:51:51.684.193.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.879689

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.1911567 to 60.1914457
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-19T13:52:19.563.882.000 to 2022-06-19T13:52:19.564.171.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 60 XO calibration points at 1Hz counter from 0 to 59
   --- First point: 1Hz counter = 3, 32bit 10MHz counter = 3.670820700 corrected by 40bit 10MHz counter of 3.627453400 obtained at 1Hz counter of 3. Result: 3.043367439
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2022-06-19T13:51:23.043.225.725
   Max 1st sample MIU time among all SL packets: 2022-06-19T13:52:19.564.030.725
   Min 1st sample XO time among all SL packets: 3.043227163
   Max 1st sample XO time among all SL packets: 59.564034686
   TM values from -267 to 247 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-19T13:51:23.043.225.725 (XO: 3.043227163 - 3.043533164, t=45.2 degC)  Rank: 00081
   TM values: Max =   243  Min =  -241  Ave =    -4.63  Std =    29.53
   Min TM value:-241 at an offset of 142.725 usec -> 2022-06-19T13:51:23.043.368.450 (XO: 3.043369889)
   Max TM value:243 at an offset of 142.988 usec -> 2022-06-19T13:51:23.043.368.712 (XO: 3.043370151)
   Max dTM/dt [1/us]:2.29e+03 at an offset of 142.825 usec -> 2022-06-19T13:51:23.043.368.550 (XO: 3.043369989)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 102.250 usec -> 2022-06-19T13:51:23.043.327.975 (XO: 3.043329414)

 - Block number: 2 starting at 2022-06-19T13:51:48.223.674.725 (XO: 28.223676541 - 28.223982542, t=45.2 degC)  Rank: 00082
   TM values: Max =   212  Min =  -231  Ave =    -4.52  Std =    25.73
   Min TM value:-231 at an offset of 129.213 usec -> 2022-06-19T13:51:48.223.803.937 (XO: 28.223805754)
   Max TM value:212 at an offset of 129.475 usec -> 2022-06-19T13:51:48.223.804.200 (XO: 28.223806016)
   Max dTM/dt [1/us]:2.33e+03 at an offset of 129.313 usec -> 2022-06-19T13:51:48.223.804.037 (XO: 28.223805854)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 114.775 usec -> 2022-06-19T13:51:48.223.789.500 (XO: 28.223791316)

 - Block number: 3 starting at 2022-06-19T13:51:51.683.763.725 (XO: 31.683767713 - 31.684073714, t=45.2 degC)  Rank: 00077
   TM values: Max =   220  Min =  -239  Ave =    -4.52  Std =    19.58
   Min TM value:-239 at an offset of 39.438 usec -> 2022-06-19T13:51:51.683.803.162 (XO: 31.683807151)
   Max TM value:220 at an offset of 41.738 usec -> 2022-06-19T13:51:51.683.805.462 (XO: 31.683809451)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 41.588 usec -> 2022-06-19T13:51:51.683.805.312 (XO: 31.683809301)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 44.113 usec -> 2022-06-19T13:51:51.683.807.837 (XO: 31.683811826)

 - Block number: 4 starting at 2022-06-19T13:52:19.563.741.725 (XO: 59.563745685 - 59.564051686, t=45.2 degC)  Rank: 00080
   TM values: Max =   247  Min =  -267  Ave =    -4.46  Std =    27.62
   Min TM value:-267 at an offset of 257.751 usec -> 2022-06-19T13:52:19.563.999.475 (XO: 59.564003436)
   Max TM value:247 at an offset of 116.088 usec -> 2022-06-19T13:52:19.563.857.812 (XO: 59.563861773)
   Max dTM/dt [1/us]:2.32e+03 at an offset of 115.938 usec -> 2022-06-19T13:52:19.563.857.662 (XO: 59.563861623)
   Min dTM/dt [1/us]:-2.49e+03 at an offset of 113.538 usec -> 2022-06-19T13:52:19.563.855.262 (XO: 59.563859223)
