-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jun  4 00:18:50 2023 UTC
-- File 20230603_103941_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 7.226560 to 48.209008
-each separately from 7s to 48s and from 208719us to 717626us.
   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, ...
      21.490488 in 1 packets: 18
      5.607236 in 1 packets: 36
      13.883568 in 1 packets: 54
MIU packet time from 2023-06-03T10:39:51.226.560.000 to 2023-06-03T10:40:32.209.008.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, ...
      21.490488 in 1 packets: 18
      5.607236 in 1 packets: 36
      13.883568 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 8.7837038 to 49.7835603
   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, ...
      20.9999266 in 1 packets: 18
      5.9999790 in 1 packets: 36
      13.9999509 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      02 -> 52.4 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C3 -> 40.4 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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20230603_103941_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:
      138 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.0102650 to 9.0105540
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.4904150  -- OK for SL --
   MIU time from 2023-06-03T10:39:51.226.560.000 to 2023-06-03T10:39:51.226.849.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.490488

 - 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 30.5009690 to 30.5012580
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.6072150  -- OK for SL --
   MIU time from 2023-06-03T10:40:12.717.337.000 to 2023-06-03T10:40:12.717.626.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.607236

 - 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:
      96 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.1084730 to 36.1087620
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.8835190  -- OK for SL --
   MIU time from 2023-06-03T10:40:18.324.862.000 to 2023-06-03T10:40:18.325.151.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.883568

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.9922810 to 49.9925700
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-03T10:40:32.208.719.000 to 2023-06-03T10:40:32.209.008.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 = 7, 32bit 10MHz counter = 9.010265000 corrected by 40bit 10MHz counter of 8.783703800 obtained at 1Hz counter of 7. Result: 7.226561993
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2023-06-03T10:39:51.226.419.725
   Max 1st sample MIU time among all SL packets: 2023-06-03T10:40:32.208.867.725
   Min 1st sample XO time among all SL packets: 7.226421717
   Max 1st sample XO time among all SL packets: 48.208870156
   TM values from -479 to 288 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-03T10:39:51.226.419.725 (XO: 7.226421717 - 7.226727719, t=40.4 degC)  Rank: 00138
   TM values: Max =   288  Min =  -479  Ave =    -4.63  Std =    36.92
   Min TM value:-479 at an offset of 177.901 usec -> 2023-06-03T10:39:51.226.597.625 (XO: 7.226599618)
   Max TM value:288 at an offset of 97.838 usec -> 2023-06-03T10:39:51.226.517.562 (XO: 7.226519555)
   Max dTM/dt [1/us]:3.28e+03 at an offset of 178.001 usec -> 2023-06-03T10:39:51.226.597.725 (XO: 7.226599718)
   Min dTM/dt [1/us]:-3.15e+03 at an offset of 177.851 usec -> 2023-06-03T10:39:51.226.597.575 (XO: 7.226599568)

 - Block number: 2 starting at 2023-06-03T10:40:12.717.196.725 (XO: 28.717200907 - 28.717506908, t=40.4 degC)  Rank: 00078
   TM values: Max =   213  Min =  -254  Ave =    -4.44  Std =    23.54
   Min TM value:-254 at an offset of 157.676 usec -> 2023-06-03T10:40:12.717.354.400 (XO: 28.717358582)
   Max TM value:213 at an offset of 129.988 usec -> 2023-06-03T10:40:12.717.326.712 (XO: 28.717330895)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 132.588 usec -> 2023-06-03T10:40:12.717.329.312 (XO: 28.717333495)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 130.088 usec -> 2023-06-03T10:40:12.717.326.812 (XO: 28.717330995)

 - Block number: 3 starting at 2023-06-03T10:40:18.324.721.725 (XO: 34.324724462 - 34.325030463, t=40.4 degC)  Rank: 00096
   TM values: Max =   272  Min =  -381  Ave =    -4.53  Std =    40.20
   Min TM value:-381 at an offset of 93.513 usec -> 2023-06-03T10:40:18.324.815.237 (XO: 34.324817974)
   Max TM value:272 at an offset of 97.888 usec -> 2023-06-03T10:40:18.324.819.612 (XO: 34.324822349)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 62.275 usec -> 2023-06-03T10:40:18.324.784.000 (XO: 34.324786737)
   Min dTM/dt [1/us]:-2.86e+03 at an offset of 93.425 usec -> 2023-06-03T10:40:18.324.815.150 (XO: 34.324817887)

 - Block number: 4 starting at 2023-06-03T10:40:32.208.578.725 (XO: 48.208581155 - 48.208887156, t=40.4 degC)  Rank: 00079
   TM values: Max =   175  Min =  -239  Ave =    -4.51  Std =    17.20
   Min TM value:-239 at an offset of 127.238 usec -> 2023-06-03T10:40:32.208.705.962 (XO: 48.208708393)
   Max TM value:175 at an offset of 115.425 usec -> 2023-06-03T10:40:32.208.694.150 (XO: 48.208696580)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 129.650 usec -> 2023-06-03T10:40:32.208.708.375 (XO: 48.208710805)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 127.113 usec -> 2023-06-03T10:40:32.208.705.837 (XO: 48.208708268)
