-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jan  4 11:24:40 2022 UTC
-- File 20210906_164106_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.625931 to 53.406803
-each separately from 3s to 53s and from 146021us to 806323us.
   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, ...
      26.179814 in 1 packets: 18
      0.339698 in 1 packets: 36
      23.260204 in 1 packets: 54
MIU packet time from 2021-09-06T16:41:12.625.931.000 to 2021-09-06T16:42:02.406.803.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, ...
      26.179814 in 1 packets: 18
      0.339698 in 1 packets: 36
      23.260204 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.8838690 to 54.8837025
   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, ...
      25.9999134 in 1 packets: 18
      0.9999967 in 1 packets: 36
      22.9999234 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20210906_164106_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 5.5098009 to 5.5100899
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.1797270  -- OK for SL --
   MIU time from 2021-09-06T16:41:12.625.931.000 to 2021-09-06T16:41:12.626.220.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.179814

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.6898169 to 31.6901059
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 0.3396950  -- OK for SL --
   MIU time from 2021-09-06T16:41:38.806.034.000 to 2021-09-06T16:41:38.806.323.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 0.339698

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.0298009 to 32.0300899
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.2601270  -- OK for SL --
   MIU time from 2021-09-06T16:41:39.146.021.000 to 2021-09-06T16:41:39.146.310.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.260204

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.2902169 to 55.2905059
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-06T16:42:02.406.514.000 to 2021-09-06T16:42:02.406.803.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.509800900 corrected by 40bit 10MHz counter of 4.883869000 obtained at 1Hz counter of 3. Result: 3.625933966
--
   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: 2021-09-06T16:41:12.625.790.725
   Max 1st sample MIU time among all SL packets: 2021-09-06T16:42:02.406.662.725
   Min 1st sample XO time among all SL packets: 3.625793690
   Max 1st sample XO time among all SL packets: 53.406664508
   TM values from -282 to 230 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-06T16:41:12.625.790.725 (XO: 3.625793690 - 3.626099691, t=37.2 degC)  Rank: 00081
   TM values: Max =   216  Min =  -274  Ave =    -4.43  Std =    27.30
   Min TM value:-274 at an offset of 181.651 usec -> 2021-09-06T16:41:12.625.972.375 (XO: 3.625975341)
   Max TM value:216 at an offset of 184.176 usec -> 2021-09-06T16:41:12.625.974.900 (XO: 3.625977866)
   Max dTM/dt [1/us]:2.44e+03 at an offset of 184.026 usec -> 2021-09-06T16:41:12.625.974.750 (XO: 3.625977716)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 120.950 usec -> 2021-09-06T16:41:12.625.911.675 (XO: 3.625914641)

 - Block number: 2 starting at 2021-09-06T16:41:38.805.893.725 (XO: 29.805896884 - 29.806202885, t=37.2 degC)  Rank: 00078
   TM values: Max =   207  Min =  -282  Ave =    -4.55  Std =    20.61
   Min TM value:-282 at an offset of 121.250 usec -> 2021-09-06T16:41:38.806.014.975 (XO: 29.806018135)
   Max TM value:207 at an offset of 121.000 usec -> 2021-09-06T16:41:38.806.014.725 (XO: 29.806017885)
   Max dTM/dt [1/us]:1.56e+03 at an offset of 123.700 usec -> 2021-09-06T16:41:38.806.017.425 (XO: 29.806020585)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 121.125 usec -> 2021-09-06T16:41:38.806.014.850 (XO: 29.806018010)

 - Block number: 3 starting at 2021-09-06T16:41:39.145.880.725 (XO: 30.145882006 - 30.146188007, t=37.2 degC)  Rank: 00076
   TM values: Max =   218  Min =  -278  Ave =    -4.49  Std =    26.15
   Min TM value:-278 at an offset of 163.876 usec -> 2021-09-06T16:41:39.146.044.600 (XO: 30.146045882)
   Max TM value:218 at an offset of 122.188 usec -> 2021-09-06T16:41:39.146.002.912 (XO: 30.146004194)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 122.038 usec -> 2021-09-06T16:41:39.146.002.762 (XO: 30.146004044)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 163.763 usec -> 2021-09-06T16:41:39.146.044.488 (XO: 30.146045769)

 - Block number: 4 starting at 2021-09-06T16:42:02.406.373.725 (XO: 53.406375507 - 53.406681508, t=37.2 degC)  Rank: 00081
   TM values: Max =   230  Min =  -227  Ave =    -4.42  Std =    20.07
   Min TM value:-227 at an offset of 118.813 usec -> 2021-09-06T16:42:02.406.492.537 (XO: 53.406494320)
   Max TM value:230 at an offset of 121.513 usec -> 2021-09-06T16:42:02.406.495.237 (XO: 53.406497020)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 121.325 usec -> 2021-09-06T16:42:02.406.495.050 (XO: 53.406496832)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 118.663 usec -> 2021-09-06T16:42:02.406.492.387 (XO: 53.406494170)
