-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 22:28:36 2023 UTC
-- File 20220711_184649_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 9.289132 to 39.959468
-each separately from 9s to 39s and from 289132us to 959468us.
   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.329705 in 1 packets: 18
      10.339764 in 1 packets: 36
MIU packet time from 2022-07-11T18:47:01.289.132.000 to 2022-07-11T18:47:31.959.468.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.329705 in 1 packets: 18
      10.339764 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 10.7501175 to 40.7500076
   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.9999267 in 1 packets: 18
      9.9999634 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C1 -> 37.2 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: 
      1 in 1 packets: 1
      2 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      3 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      3 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20220711_184649_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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.0392508 to 11.0395398
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.3296310  -- OK for SL --
   MIU time from 2022-07-11T18:47:01.289.132.000 to 2022-07-11T18:47:01.289.421.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.329705

 - 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 31.3691708 to 31.3694598
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.3397270  -- OK for SL --
   MIU time from 2022-07-11T18:47:21.619.126.000 to 2022-07-11T18:47:21.619.415.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.339764

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.7091868 to 41.7094758
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-11T18:47:31.959.179.000 to 2022-07-11T18:47:31.959.468.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 = 9, 32bit 10MHz counter = 11.039250800 corrected by 40bit 10MHz counter of 10.750117500 obtained at 1Hz counter of 9. Result: 9.289134370
--
   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.999996300 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2022-07-11T18:47:01.288.991.725
   Max 1st sample MIU time among all SL packets: 2022-07-11T18:47:31.959.327.725
   Min 1st sample XO time among all SL packets: 9.288994094
   Max 1st sample XO time among all SL packets: 39.959331475
   TM values from -344 to 286 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-11T18:47:01.288.991.725 (XO: 9.288994094 - 9.289300095, t=37.2 degC)  Rank: 00088
   TM values: Max =   286  Min =  -344  Ave =    -4.46  Std =    40.05
   Min TM value:-344 at an offset of 129.575 usec -> 2022-07-11T18:47:01.289.121.300 (XO: 9.289123670)
   Max TM value:286 at an offset of 129.813 usec -> 2022-07-11T18:47:01.289.121.537 (XO: 9.289123907)
   Max dTM/dt [1/us]:2.82e+03 at an offset of 125.213 usec -> 2022-07-11T18:47:01.289.116.937 (XO: 9.289119307)
   Min dTM/dt [1/us]:-2.73e+03 at an offset of 127.313 usec -> 2022-07-11T18:47:01.289.119.037 (XO: 9.289121407)

 - Block number: 2 starting at 2022-07-11T18:47:21.618.985.725 (XO: 29.618988615 - 29.619294616, t=37.2 degC)  Rank: 00078
   TM values: Max =   234  Min =  -289  Ave =    -4.59  Std =    36.66
   Min TM value:-289 at an offset of 144.488 usec -> 2022-07-11T18:47:21.619.130.213 (XO: 29.619133103)
   Max TM value:234 at an offset of 111.625 usec -> 2022-07-11T18:47:21.619.097.350 (XO: 29.619100241)
   Max dTM/dt [1/us]:2.86e+03 at an offset of 144.601 usec -> 2022-07-11T18:47:21.619.130.325 (XO: 29.619133216)
   Min dTM/dt [1/us]:-2.93e+03 at an offset of 111.738 usec -> 2022-07-11T18:47:21.619.097.462 (XO: 29.619100353)

 - Block number: 3 starting at 2022-07-11T18:47:31.959.038.725 (XO: 39.959042473 - 39.959348475, t=37.2 degC)  Rank: 00081
   TM values: Max =   283  Min =  -291  Ave =    -4.60  Std =    33.39
   Min TM value:-291 at an offset of 115.513 usec -> 2022-07-11T18:47:31.959.154.237 (XO: 39.959157986)
   Max TM value:283 at an offset of 115.288 usec -> 2022-07-11T18:47:31.959.154.012 (XO: 39.959157761)
   Max dTM/dt [1/us]:2.45e+03 at an offset of 145.276 usec -> 2022-07-11T18:47:31.959.184.000 (XO: 39.959187749)
   Min dTM/dt [1/us]:-3.01e+03 at an offset of 115.388 usec -> 2022-07-11T18:47:31.959.154.112 (XO: 39.959157861)
