-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jul  4 23:51:28 2023 UTC
-- File 20230626_182804_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 2.845200 to 59.785296
-each separately from 2s to 59s and from 125097us to 845489us.
   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, ...
      19.799635 in 1 packets: 18
      10.479684 in 1 packets: 36
      26.659621 in 1 packets: 54
MIU packet time from 2023-06-26T18:28:09.845.200.000 to 2023-06-26T18:29:06.785.296.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, ...
      19.799635 in 1 packets: 18
      10.479684 in 1 packets: 36
      26.659621 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.7047580 to 60.7045673
   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, ...
      19.9999331 in 1 packets: 18
      10.9999633 in 1 packets: 36
      25.9999129 in 1 packets: 54
Temperature FPGA: 
      FF -> 56.3 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      FE -> 57.6 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      3 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20230626_182804_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:
      89 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.5499607 to 4.5502497
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7995670  -- OK for SL --
   MIU time from 2023-06-26T18:28:09.845.200.000 to 2023-06-26T18:28:09.845.489.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.799635

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.3498167 to 24.3501057
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.4796470  -- OK for SL --
   MIU time from 2023-06-26T18:28:29.645.124.000 to 2023-06-26T18:28:29.645.413.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.479684

 - 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 34.8297527 to 34.8300417
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.6595350  -- OK for SL --
   MIU time from 2023-06-26T18:28:40.125.097.000 to 2023-06-26T18:28:40.125.386.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.659621

 - 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 61.4895767 to 61.4898657
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-26T18:29:06.785.007.000 to 2023-06-26T18:29:06.785.296.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 = 2, 32bit 10MHz counter = 4.549960700 corrected by 40bit 10MHz counter of 3.704758000 obtained at 1Hz counter of 2. Result: 2.845205489
--
   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: 2023-06-26T18:28:09.845.059.725
   Max 1st sample MIU time among all SL packets: 2023-06-26T18:29:06.785.155.725
   Min 1st sample XO time among all SL packets: 2.845065214
   Max 1st sample XO time among all SL packets: 59.785160795
   TM values from -334 to 269 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-26T18:28:09.845.059.725 (XO: 2.845065214 - 2.845371215, t=45.2 degC)  Rank: 00089
   TM values: Max =   222  Min =  -326  Ave =    -4.46  Std =    27.92
   Min TM value:-326 at an offset of 114.625 usec -> 2023-06-26T18:28:09.845.174.350 (XO: 2.845179839)
   Max TM value:222 at an offset of 119.563 usec -> 2023-06-26T18:28:09.845.179.287 (XO: 2.845184777)
   Max dTM/dt [1/us]:2.39e+03 at an offset of 116.975 usec -> 2023-06-26T18:28:09.845.176.700 (XO: 2.845182189)
   Min dTM/dt [1/us]:-2.80e+03 at an offset of 114.500 usec -> 2023-06-26T18:28:09.845.174.225 (XO: 2.845179714)

 - Block number: 2 starting at 2023-06-26T18:28:29.644.983.725 (XO: 22.644987453 - 22.645293454, t=45.2 degC)  Rank: 00080
   TM values: Max =   211  Min =  -248  Ave =    -4.49  Std =    32.01
   Min TM value:-248 at an offset of 189.401 usec -> 2023-06-26T18:28:29.645.173.125 (XO: 22.645176854)
   Max TM value:211 at an offset of 189.701 usec -> 2023-06-26T18:28:29.645.173.425 (XO: 22.645177154)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 189.501 usec -> 2023-06-26T18:28:29.645.173.225 (XO: 22.645176954)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 231.413 usec -> 2023-06-26T18:28:29.645.215.138 (XO: 22.645218867)

 - Block number: 3 starting at 2023-06-26T18:28:40.124.956.725 (XO: 33.124958450 - 33.125264451, t=45.2 degC)  Rank: 00077
   TM values: Max =   238  Min =  -306  Ave =    -4.46  Std =    33.00
   Min TM value:-306 at an offset of 116.713 usec -> 2023-06-26T18:28:40.125.073.437 (XO: 33.125075163)
   Max TM value:238 at an offset of 116.413 usec -> 2023-06-26T18:28:40.125.073.137 (XO: 33.125074863)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 119.013 usec -> 2023-06-26T18:28:40.125.075.737 (XO: 33.125077463)
   Min dTM/dt [1/us]:-2.80e+03 at an offset of 116.550 usec -> 2023-06-26T18:28:40.125.073.275 (XO: 33.125075000)

 - Block number: 4 starting at 2023-06-26T18:29:06.784.866.725 (XO: 59.784871794 - 59.785177795, t=45.2 degC)  Rank: 00080
   TM values: Max =   269  Min =  -334  Ave =    -4.48  Std =    37.28
   Min TM value:-334 at an offset of 117.075 usec -> 2023-06-26T18:29:06.784.983.800 (XO: 59.784988869)
   Max TM value:269 at an offset of 114.625 usec -> 2023-06-26T18:29:06.784.981.350 (XO: 59.784986419)
   Max dTM/dt [1/us]:2.56e+03 at an offset of 117.188 usec -> 2023-06-26T18:29:06.784.983.912 (XO: 59.784988981)
   Min dTM/dt [1/us]:-2.73e+03 at an offset of 114.763 usec -> 2023-06-26T18:29:06.784.981.487 (XO: 59.784986556)
