-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jun  4 05:50:00 2023 UTC
-- File 20230603_233347_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.274658 to 45.674985
-each separately from 7s to 45s and from 274658us to 704972us.
   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, ...
      16.429736 in 1 packets: 18
      11.649785 in 1 packets: 36
      10.319650 in 1 packets: 54
MIU packet time from 2023-06-03T23:33:57.274.658.000 to 2023-06-03T23:34:35.674.985.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, ...
      16.429736 in 1 packets: 18
      11.649785 in 1 packets: 36
      10.319650 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.7825597 to 46.7824257
   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, ...
      15.9999436 in 1 packets: 18
      11.9999577 in 1 packets: 36
      9.9999647 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: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C4 -> 42.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C3 -> 40.4 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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_233347_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.0572192 to 9.0575082
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.4296790  -- OK for SL --
   MIU time from 2023-06-03T23:33:57.274.658.000 to 2023-06-03T23:33:57.274.947.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.429736

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.4871872 to 25.4874762
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.6497430  -- OK for SL --
   MIU time from 2023-06-03T23:34:13.704.683.000 to 2023-06-03T23:34:13.704.972.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.649785

 - 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 37.1372192 to 37.1375082
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.3196150  -- OK for SL --
   MIU time from 2023-06-03T23:34:25.354.757.000 to 2023-06-03T23:34:25.355.046.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.319650

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.4571232 to 47.4574122
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-03T23:34:35.674.696.000 to 2023-06-03T23:34:35.674.985.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.057219200 corrected by 40bit 10MHz counter of 8.782559700 obtained at 1Hz counter of 7. Result: 7.274660461
--
   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-03T23:33:57.274.517.725
   Max 1st sample MIU time among all SL packets: 2023-06-03T23:34:35.674.844.725
   Min 1st sample XO time among all SL packets: 7.274520186
   Max 1st sample XO time among all SL packets: 45.674848587
   TM values from -275 to 213 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-03T23:33:57.274.517.725 (XO: 7.274520186 - 7.274826187, t=42.0 degC)  Rank: 00084
   TM values: Max =   184  Min =  -275  Ave =    -4.53  Std =    20.50
   Min TM value:-275 at an offset of 128.863 usec -> 2023-06-03T23:33:57.274.646.587 (XO: 7.274649049)
   Max TM value:184 at an offset of 133.825 usec -> 2023-06-03T23:33:57.274.651.550 (XO: 7.274654011)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 131.388 usec -> 2023-06-03T23:33:57.274.649.112 (XO: 7.274651574)
   Min dTM/dt [1/us]:-1.93e+03 at an offset of 116.500 usec -> 2023-06-03T23:33:57.274.634.225 (XO: 7.274636686)

 - Block number: 2 starting at 2023-06-03T23:34:13.704.542.725 (XO: 23.704546091 - 23.704852092, t=42.0 degC)  Rank: 00072
   TM values: Max =   213  Min =  -214  Ave =    -4.54  Std =    28.74
   Min TM value:-214 at an offset of 211.888 usec -> 2023-06-03T23:34:13.704.754.613 (XO: 23.704757979)
   Max TM value:213 at an offset of 211.613 usec -> 2023-06-03T23:34:13.704.754.338 (XO: 23.704757704)
   Max dTM/dt [1/us]:1.65e+03 at an offset of 209.376 usec -> 2023-06-03T23:34:13.704.752.100 (XO: 23.704755467)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 211.738 usec -> 2023-06-03T23:34:13.704.754.463 (XO: 23.704757829)

 - Block number: 3 starting at 2023-06-03T23:34:25.354.616.725 (XO: 35.354619202 - 35.354925203, t=40.4 degC)  Rank: 00077
   TM values: Max =   184  Min =  -256  Ave =    -4.58  Std =    20.56
   Min TM value:-256 at an offset of 115.463 usec -> 2023-06-03T23:34:25.354.732.187 (XO: 35.354734665)
   Max TM value:184 at an offset of 115.175 usec -> 2023-06-03T23:34:25.354.731.900 (XO: 35.354734377)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 117.913 usec -> 2023-06-03T23:34:25.354.734.637 (XO: 35.354737115)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 115.313 usec -> 2023-06-03T23:34:25.354.732.037 (XO: 35.354734515)

 - Block number: 4 starting at 2023-06-03T23:34:35.674.555.725 (XO: 45.674559586 - 45.674865587, t=40.4 degC)  Rank: 00077
   TM values: Max =   169  Min =  -218  Ave =    -4.61  Std =    19.56
   Min TM value:-218 at an offset of 115.350 usec -> 2023-06-03T23:34:35.674.671.075 (XO: 45.674674936)
   Max TM value:169 at an offset of 115.000 usec -> 2023-06-03T23:34:35.674.670.725 (XO: 45.674674586)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 117.925 usec -> 2023-06-03T23:34:35.674.673.650 (XO: 45.674677511)
   Min dTM/dt [1/us]:-1.65e+03 at an offset of 115.163 usec -> 2023-06-03T23:34:35.674.670.887 (XO: 45.674674749)
