-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 16 23:22:05 2023 UTC
-- File 20220612_102249_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 5.342554 to 32.681815
-each separately from 5s to 32s and from 342554us to 681815us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.278867 in 1 packets: 18
      7.059527 in 1 packets: 36
MIU packet time from 2022-06-12T10:22:57.342.554.000 to 2022-06-12T10:23:24.681.815.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.278867 in 1 packets: 18
      7.059527 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 7.2559182 to 34.2558268
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      19.9999323 in 1 packets: 18
      6.9999763 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FF -> 56.3 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C5 -> 43.6 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 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 35 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 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20220612_102249_1227.dat, 3 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.5984741 to 7.5987631
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.2787990  -- OK for SL --
   MIU time from 2022-06-12T10:22:57.342.554.000 to 2022-06-12T10:22:57.342.843.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.278867

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.8775621 to 27.8778511
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.0595030  -- OK for SL --
   MIU time from 2022-06-12T10:23:17.621.710.000 to 2022-06-12T10:23:17.621.999.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.059527

 - 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 34.9373541 to 34.9376431
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-12T10:23:24.681.526.000 to 2022-06-12T10:23:24.681.815.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 5, 32bit 10MHz counter = 7.598474100 corrected by 40bit 10MHz counter of 7.255918200 obtained at 1Hz counter of 5. Result: 5.342557065
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2022-06-12T10:22:57.342.413.725
   Max 1st sample MIU time among all SL packets: 2022-06-12T10:23:24.681.674.725
   Min 1st sample XO time among all SL packets: 5.342416789
   Max 1st sample XO time among all SL packets: 32.681678343
   TM values from -291 to 219 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-12T10:22:57.342.413.725 (XO: 5.342416789 - 5.342722790, t=43.6 degC)  Rank: 00075
   TM values: Max =   219  Min =  -291  Ave =    -4.58  Std =    25.33
   Min TM value:-291 at an offset of 162.513 usec -> 2022-06-12T10:22:57.342.576.238 (XO: 5.342579302)
   Max TM value:219 at an offset of 162.226 usec -> 2022-06-12T10:22:57.342.575.950 (XO: 5.342579015)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 107.300 usec -> 2022-06-12T10:22:57.342.521.025 (XO: 5.342524090)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 162.326 usec -> 2022-06-12T10:22:57.342.576.050 (XO: 5.342579115)

 - Block number: 2 starting at 2022-06-12T10:23:17.621.569.725 (XO: 25.621573438 - 25.621879439, t=43.6 degC)  Rank: 00087
   TM values: Max =   200  Min =  -213  Ave =    -4.51  Std =    27.57
   Min TM value:-213 at an offset of 117.213 usec -> 2022-06-12T10:23:17.621.686.937 (XO: 25.621690651)
   Max TM value:200 at an offset of 179.088 usec -> 2022-06-12T10:23:17.621.748.813 (XO: 25.621752526)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 178.938 usec -> 2022-06-12T10:23:17.621.748.663 (XO: 25.621752376)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 121.938 usec -> 2022-06-12T10:23:17.621.691.662 (XO: 25.621695376)

 - Block number: 3 starting at 2022-06-12T10:23:24.681.385.725 (XO: 32.681389342 - 32.681695343, t=43.6 degC)  Rank: 00080
   TM values: Max =   191  Min =  -208  Ave =    -4.45  Std =    28.04
   Min TM value:-208 at an offset of 116.263 usec -> 2022-06-12T10:23:24.681.501.987 (XO: 32.681505605)
   Max TM value:191 at an offset of 120.775 usec -> 2022-06-12T10:23:24.681.506.500 (XO: 32.681510117)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 118.438 usec -> 2022-06-12T10:23:24.681.504.162 (XO: 32.681507780)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 149.263 usec -> 2022-06-12T10:23:24.681.534.988 (XO: 32.681538605)
