-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 20 19:06:51 2023 UTC
-- File 20220628_032929_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 9.868781 to 45.269444
-each separately from 9s to 45s and from 19124us to 869070us.
   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, ...
      13.399923 in 1 packets: 18
      17.749842 in 1 packets: 36
      4.249742 in 1 packets: 54
MIU packet time from 2022-06-28T03:29:41.868.781.000 to 2022-06-28T03:30:17.269.444.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, ...
      13.399923 in 1 packets: 18
      17.749842 in 1 packets: 36
      4.249742 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 11.1579781 to 47.1578436
   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, ...
      13.9999477 in 1 packets: 18
      17.9999327 in 1 packets: 36
      3.9999851 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220628_032929_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.0267594 to 12.0270484
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.3998710  -- OK for SL --
   MIU time from 2022-06-28T03:29:41.868.781.000 to 2022-06-28T03:29:41.869.070.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.399923

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.4269194 to 25.4272084
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.7497750  -- OK for SL --
   MIU time from 2022-06-28T03:29:55.268.993.000 to 2022-06-28T03:29:55.269.282.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.749842

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.1769834 to 43.1772724
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.2497270  -- OK for SL --
   MIU time from 2022-06-28T03:30:13.019.124.000 to 2022-06-28T03:30:13.019.413.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.249742

 - 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 47.4269994 to 47.4272884
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-28T03:30:17.269.155.000 to 2022-06-28T03:30:17.269.444.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 = 9, 32bit 10MHz counter = 12.026759400 corrected by 40bit 10MHz counter of 11.157978100 obtained at 1Hz counter of 9. Result: 9.868784515
--
   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.999996200 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2022-06-28T03:29:41.868.640.725
   Max 1st sample MIU time among all SL packets: 2022-06-28T03:30:17.269.303.725
   Min 1st sample XO time among all SL packets: 9.868644239
   Max 1st sample XO time among all SL packets: 45.269305548
   TM values from -256 to 213 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-28T03:29:41.868.640.725 (XO: 9.868644239 - 9.868950240, t=37.2 degC)  Rank: 00076
   TM values: Max =   188  Min =  -256  Ave =    -4.60  Std =    27.06
   Min TM value:-256 at an offset of 123.013 usec -> 2022-06-28T03:29:41.868.763.737 (XO: 9.868767252)
   Max TM value:188 at an offset of 120.500 usec -> 2022-06-28T03:29:41.868.761.225 (XO: 9.868764739)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 123.125 usec -> 2022-06-28T03:29:41.868.763.850 (XO: 9.868767364)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 120.600 usec -> 2022-06-28T03:29:41.868.761.325 (XO: 9.868764839)

 - Block number: 2 starting at 2022-06-28T03:29:55.268.852.725 (XO: 23.268854320 - 23.269160321, t=37.2 degC)  Rank: 00086
   TM values: Max =   181  Min =  -232  Ave =    -4.55  Std =    23.72
   Min TM value:-232 at an offset of 119.838 usec -> 2022-06-28T03:29:55.268.972.562 (XO: 23.268974158)
   Max TM value:181 at an offset of 124.613 usec -> 2022-06-28T03:29:55.268.977.337 (XO: 23.268978933)
   Max dTM/dt [1/us]:1.50e+03 at an offset of 122.225 usec -> 2022-06-28T03:29:55.268.974.950 (XO: 23.268976545)
   Min dTM/dt [1/us]:-1.75e+03 at an offset of 107.613 usec -> 2022-06-28T03:29:55.268.960.337 (XO: 23.268961933)

 - Block number: 3 starting at 2022-06-28T03:30:13.018.983.725 (XO: 41.018984697 - 41.019290698, t=37.2 degC)  Rank: 00080
   TM values: Max =   213  Min =  -244  Ave =    -4.59  Std =    24.43
   Min TM value:-244 at an offset of 109.888 usec -> 2022-06-28T03:30:13.019.093.612 (XO: 41.019094585)
   Max TM value:213 at an offset of 105.563 usec -> 2022-06-28T03:30:13.019.089.287 (XO: 41.019090260)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 105.425 usec -> 2022-06-28T03:30:13.019.089.150 (XO: 41.019090123)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 107.525 usec -> 2022-06-28T03:30:13.019.091.250 (XO: 41.019092223)

 - Block number: 4 starting at 2022-06-28T03:30:17.269.014.725 (XO: 45.269016547 - 45.269322548, t=37.2 degC)  Rank: 00079
   TM values: Max =   186  Min =  -253  Ave =    -4.52  Std =    18.29
   Min TM value:-253 at an offset of 112.463 usec -> 2022-06-28T03:30:17.269.127.187 (XO: 45.269129010)
   Max TM value:186 at an offset of 109.950 usec -> 2022-06-28T03:30:17.269.124.675 (XO: 45.269126498)
   Max dTM/dt [1/us]:2.29e+03 at an offset of 112.588 usec -> 2022-06-28T03:30:17.269.127.312 (XO: 45.269129135)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 110.063 usec -> 2022-06-28T03:30:17.269.124.787 (XO: 45.269126610)
