-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 20 04:12:15 2021 UTC
-- File 20210818_112102_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.454375 to 50.755987
-each separately from 3s to 50s and from 155219us to 755987us.
   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.740433 in 1 packets: 18
      2.959833 in 1 packets: 36
      19.600190 in 1 packets: 54
MIU packet time from 2021-08-18T11:21:08.454.375.000 to 2021-08-18T11:21:55.755.987.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.740433 in 1 packets: 18
      2.959833 in 1 packets: 36
      19.600190 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 4.9446821 to 51.9445268
   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.9999173 in 1 packets: 18
      2.9999901 in 1 packets: 36
      18.9999373 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
Temperature XO: 
      C0 -> 35.6 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C1 -> 37.2 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 in 17 packets: 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 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 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 20210818_112102_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.3990575 to 5.3993465
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.7403510  -- OK for SL --
   MIU time from 2021-08-18T11:21:08.454.375.000 to 2021-08-18T11:21:08.454.664.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.740433

 - 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 30.1396975 to 30.1399865
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.9598230  -- OK for SL --
   MIU time from 2021-08-18T11:21:33.195.097.000 to 2021-08-18T11:21:33.195.386.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.959833

 - 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 33.0998095 to 33.1000985
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.6001270  -- OK for SL --
   MIU time from 2021-08-18T11:21:36.155.219.000 to 2021-08-18T11:21:36.155.508.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.600190

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.7002255 to 52.7005145
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-18T11:21:55.755.698.000 to 2021-08-18T11:21:55.755.987.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 = 3, 32bit 10MHz counter = 5.399057500 corrected by 40bit 10MHz counter of 4.944682100 obtained at 1Hz counter of 3. Result: 3.454376899
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-18T11:21:08.454.234.725
   Max 1st sample MIU time among all SL packets: 2021-08-18T11:21:55.755.846.725
   Min 1st sample XO time among all SL packets: 3.454236624
   Max 1st sample XO time among all SL packets: 50.755849919
   TM values from -238 to 181 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-18T11:21:08.454.234.725 (XO: 3.454236624 - 3.454542625, t=35.6 degC)  Rank: 00079
   TM values: Max =   177  Min =  -227  Ave =    -4.52  Std =    25.27
   Min TM value:-227 at an offset of 128.313 usec -> 2021-08-18T11:21:08.454.363.037 (XO: 3.454364937)
   Max TM value:177 at an offset of 131.000 usec -> 2021-08-18T11:21:08.454.365.725 (XO: 3.454367624)
   Max dTM/dt [1/us]:1.45e+03 at an offset of 130.813 usec -> 2021-08-18T11:21:08.454.365.537 (XO: 3.454367437)
   Min dTM/dt [1/us]:-1.50e+03 at an offset of 214.101 usec -> 2021-08-18T11:21:08.454.448.825 (XO: 3.454450725)

 - Block number: 2 starting at 2021-08-18T11:21:33.194.956.725 (XO: 28.194958468 - 28.195264469, t=37.2 degC)  Rank: 00081
   TM values: Max =   181  Min =  -228  Ave =    -4.49  Std =    16.69
   Min TM value:-228 at an offset of 125.338 usec -> 2021-08-18T11:21:33.195.082.062 (XO: 28.195083806)
   Max TM value:181 at an offset of 127.925 usec -> 2021-08-18T11:21:33.195.084.650 (XO: 28.195086394)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 127.738 usec -> 2021-08-18T11:21:33.195.084.462 (XO: 28.195086206)
   Min dTM/dt [1/us]:-1.81e+03 at an offset of 125.138 usec -> 2021-08-18T11:21:33.195.081.862 (XO: 28.195083606)

 - Block number: 3 starting at 2021-08-18T11:21:36.155.078.725 (XO: 31.155080237 - 31.155386238, t=37.2 degC)  Rank: 00077
   TM values: Max =   181  Min =  -236  Ave =    -4.63  Std =    20.59
   Min TM value:-236 at an offset of 127.800 usec -> 2021-08-18T11:21:36.155.206.525 (XO: 31.155208037)
   Max TM value:181 at an offset of 125.463 usec -> 2021-08-18T11:21:36.155.204.187 (XO: 31.155205700)
   Max dTM/dt [1/us]:1.49e+03 at an offset of 130.188 usec -> 2021-08-18T11:21:36.155.208.912 (XO: 31.155210425)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 127.588 usec -> 2021-08-18T11:21:36.155.206.312 (XO: 31.155207825)

 - Block number: 4 starting at 2021-08-18T11:21:55.755.557.725 (XO: 50.755560918 - 50.755866919, t=35.6 degC)  Rank: 00083
   TM values: Max =   169  Min =  -238  Ave =    -4.54  Std =    18.35
   Min TM value:-238 at an offset of 128.450 usec -> 2021-08-18T11:21:55.755.686.175 (XO: 50.755689369)
   Max TM value:169 at an offset of 128.125 usec -> 2021-08-18T11:21:55.755.685.850 (XO: 50.755689044)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 130.863 usec -> 2021-08-18T11:21:55.755.688.587 (XO: 50.755691781)
   Min dTM/dt [1/us]:-1.61e+03 at an offset of 128.225 usec -> 2021-08-18T11:21:55.755.685.950 (XO: 50.755689144)
