-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar  9 00:24:54 2023 UTC
-- File 20220528_115631_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 1.870174 to 48.093613
-each separately from 1s to 48s and from 81163us to 870463us.
   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, ...
      24.249828 in 1 packets: 18
      11.960583 in 1 packets: 36
      10.011872 in 1 packets: 54
MIU packet time from 2022-05-28T11:56:36.870.174.000 to 2022-05-28T11:57:23.093.613.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, ...
      24.249828 in 1 packets: 18
      11.960583 in 1 packets: 36
      10.011872 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.2598959 to 50.2597385
   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.9999162 in 1 packets: 18
      11.9999598 in 1 packets: 36
      9.9999666 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 72 packets (all packets)
Temperature XO: 
      C5 -> 43.6 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 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 in 1 packets: 55
      3 in 5 packets: 56, 57, 58, 59, 60
      4 in 12 packets: 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20220528_115631_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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.1300720 to 4.1303610
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.2497430  -- OK for SL --
   MIU time from 2022-05-28T11:56:36.870.174.000 to 2022-05-28T11:56:36.870.463.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.249828

 - 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 28.3801040 to 28.3803930
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.9605430  -- OK for SL --
   MIU time from 2022-05-28T11:57:01.120.291.000 to 2022-05-28T11:57:01.120.580.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.960583

 - 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 40.3409360 to 40.3412250
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.0118390  -- OK for SL --
   MIU time from 2022-05-28T11:57:13.081.163.000 to 2022-05-28T11:57:13.081.452.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.011872

 - 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:
      158 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.3530640 to 50.3533530
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-28T11:57:23.093.324.000 to 2022-05-28T11:57:23.093.613.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 = 1, 32bit 10MHz counter = 4.130072000 corrected by 40bit 10MHz counter of 3.259895900 obtained at 1Hz counter of 1. Result: 1.870179059
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2022-05-28T11:56:36.870.033.725
   Max 1st sample MIU time among all SL packets: 2022-05-28T11:57:23.093.472.725
   Min 1st sample XO time among all SL packets: 1.870038783
   Max 1st sample XO time among all SL packets: 48.093474543
   TM values from -818 to 781 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-28T11:56:36.870.033.725 (XO: 1.870038783 - 1.870344784, t=43.6 degC)  Rank: 00072
   TM values: Max =   214  Min =  -251  Ave =    -4.46  Std =    32.93
   Min TM value:-251 at an offset of 166.938 usec -> 2022-05-28T11:56:36.870.200.663 (XO: 1.870205721)
   Max TM value:214 at an offset of 210.301 usec -> 2022-05-28T11:56:36.870.244.025 (XO: 1.870249084)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 151.951 usec -> 2022-05-28T11:56:36.870.185.675 (XO: 1.870190734)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 166.851 usec -> 2022-05-28T11:56:36.870.200.575 (XO: 1.870205634)

 - Block number: 2 starting at 2022-05-28T11:57:01.120.150.725 (XO: 26.120152022 - 26.120458023, t=43.6 degC)  Rank: 00081
   TM values: Max =   217  Min =  -223  Ave =    -4.51  Std =    33.67
   Min TM value:-223 at an offset of 125.375 usec -> 2022-05-28T11:57:01.120.276.100 (XO: 26.120277397)
   Max TM value:217 at an offset of 125.625 usec -> 2022-05-28T11:57:01.120.276.350 (XO: 26.120277647)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 125.525 usec -> 2022-05-28T11:57:01.120.276.250 (XO: 26.120277547)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 139.825 usec -> 2022-05-28T11:57:01.120.290.550 (XO: 26.120291847)

 - Block number: 3 starting at 2022-05-28T11:57:13.081.022.725 (XO: 38.081024092 - 38.081330093, t=43.6 degC)  Rank: 00077
   TM values: Max =   219  Min =  -226  Ave =    -4.44  Std =    20.18
   Min TM value:-226 at an offset of 128.625 usec -> 2022-05-28T11:57:13.081.151.350 (XO: 38.081152718)
   Max TM value:219 at an offset of 128.888 usec -> 2022-05-28T11:57:13.081.151.612 (XO: 38.081152980)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 128.800 usec -> 2022-05-28T11:57:13.081.151.525 (XO: 38.081152893)
   Min dTM/dt [1/us]:-1.81e+03 at an offset of 114.388 usec -> 2022-05-28T11:57:13.081.137.112 (XO: 38.081138480)

 - Block number: 4 starting at 2022-05-28T11:57:23.093.183.725 (XO: 48.093185542 - 48.093491543, t=43.6 degC)  Rank: 00158
   TM values: Max =   781  Min =  -818  Ave =    -4.22  Std =   139.54
   Min TM value:-818 at an offset of 141.525 usec -> 2022-05-28T11:57:23.093.325.250 (XO: 48.093327067)
   Max TM value:781 at an offset of 182.738 usec -> 2022-05-28T11:57:23.093.366.463 (XO: 48.093368280)
   Max dTM/dt [1/us]:5.42e+03 at an offset of 230.926 usec -> 2022-05-28T11:57:23.093.414.650 (XO: 48.093416468)
   Min dTM/dt [1/us]:-4.64e+03 at an offset of 99.500 usec -> 2022-05-28T11:57:23.093.283.225 (XO: 48.093285042)
