-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 14 00:15:53 2023 UTC
-- File 20220605_150550_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 12.532116 to 50.706308
-each separately from 12s to 50s and from 367844us to 790988us.
   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, ...
      7.258294 in 1 packets: 18
      16.576856 in 1 packets: 36
      14.337886 in 1 packets: 54
MIU packet time from 2022-06-05T15:06:05.532.116.000 to 2022-06-05T15:06:43.706.308.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, ...
      7.258294 in 1 packets: 18
      16.576856 in 1 packets: 36
      14.337886 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 14.2567413 to 52.2566145
   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, ...
      6.9999766 in 1 packets: 18
      16.9999432 in 1 packets: 36
      13.9999534 in 1 packets: 54
Temperature FPGA: 
      FE -> 57.6 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      FF -> 56.3 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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 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 20220605_150550_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 14.7888590 to 14.7891480
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.2582710  -- OK for SL --
   MIU time from 2022-06-05T15:06:05.532.116.000 to 2022-06-05T15:06:05.532.405.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.258294

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.0474190 to 22.0477080
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5767990  -- OK for SL --
   MIU time from 2022-06-05T15:06:12.790.699.000 to 2022-06-05T15:06:12.790.988.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.576856

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.6245070 to 38.6247960
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.3378390  -- OK for SL --
   MIU time from 2022-06-05T15:06:29.367.844.000 to 2022-06-05T15:06:29.368.133.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.337886

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.9626350 to 52.9629240
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-05T15:06:43.706.019.000 to 2022-06-05T15:06:43.706.308.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 = 12, 32bit 10MHz counter = 14.788859000 corrected by 40bit 10MHz counter of 14.256741300 obtained at 1Hz counter of 12. Result: 12.532119509
--
   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: 2022-06-05T15:06:05.531.975.725
   Max 1st sample MIU time among all SL packets: 2022-06-05T15:06:43.706.167.725
   Min 1st sample XO time among all SL packets: 12.531979234
   Max 1st sample XO time among all SL packets: 50.706171626
   TM values from -281 to 230 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-05T15:06:05.531.975.725 (XO: 12.531979234 - 12.532285235, t=45.2 degC)  Rank: 00081
   TM values: Max =   230  Min =  -262  Ave =    -4.34  Std =    27.74
   Min TM value:-262 at an offset of 147.526 usec -> 2022-06-05T15:06:05.532.123.250 (XO: 12.532126759)
   Max TM value:230 at an offset of 124.488 usec -> 2022-06-05T15:06:05.532.100.212 (XO: 12.532103722)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 149.801 usec -> 2022-06-05T15:06:05.532.125.525 (XO: 12.532129034)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 124.638 usec -> 2022-06-05T15:06:05.532.100.362 (XO: 12.532103872)

 - Block number: 2 starting at 2022-06-05T15:06:12.790.558.725 (XO: 19.790563434 - 19.790869435, t=45.2 degC)  Rank: 00076
   TM values: Max =   198  Min =  -209  Ave =    -4.48  Std =    26.11
   Min TM value:-209 at an offset of 6.563 usec -> 2022-06-05T15:06:12.790.565.287 (XO: 19.790569996)
   Max TM value:198 at an offset of 141.388 usec -> 2022-06-05T15:06:12.790.700.112 (XO: 19.790704822)
   Max dTM/dt [1/us]:1.52e+03 at an offset of 110.075 usec -> 2022-06-05T15:06:12.790.668.800 (XO: 19.790673509)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 141.488 usec -> 2022-06-05T15:06:12.790.700.212 (XO: 19.790704922)

 - Block number: 3 starting at 2022-06-05T15:06:29.367.703.725 (XO: 36.367706838 - 36.368012839, t=45.2 degC)  Rank: 00078
   TM values: Max =   222  Min =  -281  Ave =    -4.47  Std =    37.53
   Min TM value:-281 at an offset of 156.488 usec -> 2022-06-05T15:06:29.367.860.213 (XO: 36.367863326)
   Max TM value:222 at an offset of 232.638 usec -> 2022-06-05T15:06:29.367.936.363 (XO: 36.367939477)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 261.701 usec -> 2022-06-05T15:06:29.367.965.425 (XO: 36.367968539)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 108.900 usec -> 2022-06-05T15:06:29.367.812.625 (XO: 36.367815739)

 - Block number: 4 starting at 2022-06-05T15:06:43.705.878.725 (XO: 50.705882625 - 50.706188626, t=45.2 degC)  Rank: 00072
   TM values: Max =   221  Min =  -237  Ave =    -4.42  Std =    34.57
   Min TM value:-237 at an offset of 111.163 usec -> 2022-06-05T15:06:43.705.989.887 (XO: 50.705993788)
   Max TM value:221 at an offset of 273.863 usec -> 2022-06-05T15:06:43.706.152.588 (XO: 50.706156488)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 169.688 usec -> 2022-06-05T15:06:43.706.048.413 (XO: 50.706052313)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 273.963 usec -> 2022-06-05T15:06:43.706.152.688 (XO: 50.706156588)
