-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 13 23:27:30 2021 UTC
-- File 20210813_025824_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 3.956261 to 45.706945
-each separately from 3s to 45s and from 6614us to 956550us.
   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.599741 in 1 packets: 18
      24.450034 in 1 packets: 36
      3.699753 in 1 packets: 54
MIU packet time from 2021-08-13T02:58:30.956.261.000 to 2021-08-13T02:59:12.706.945.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.599741 in 1 packets: 18
      24.450034 in 1 packets: 36
      3.699753 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 4.8229321 to 46.8227925
   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.9999535 in 1 packets: 18
      24.9999169 in 1 packets: 36
      2.9999900 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210813_025824_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.7791932 to 5.7794822
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.5996950  -- OK for SL --
   MIU time from 2021-08-13T02:58:30.956.261.000 to 2021-08-13T02:58:30.956.550.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.599741

 - 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 19.3791772 to 19.3794662
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.4499510  -- OK for SL --
   MIU time from 2021-08-13T02:58:44.556.291.000 to 2021-08-13T02:58:44.556.580.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.450034

 - 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 43.8294172 to 43.8297062
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.6997430  -- OK for SL --
   MIU time from 2021-08-13T02:59:09.006.614.000 to 2021-08-13T02:59:09.006.903.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.699753

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.5294492 to 47.5297382
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-13T02:59:12.706.656.000 to 2021-08-13T02:59:12.706.945.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 = 3, 32bit 10MHz counter = 5.779193200 corrected by 40bit 10MHz counter of 4.822932100 obtained at 1Hz counter of 3. Result: 3.956264256
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-13T02:58:30.956.120.725
   Max 1st sample MIU time among all SL packets: 2021-08-13T02:59:12.706.804.725
   Min 1st sample XO time among all SL packets: 3.956123980
   Max 1st sample XO time among all SL packets: 45.706807757
   TM values from -300 to 243 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-13T02:58:30.956.120.725 (XO: 3.956123980 - 3.956429981, t=37.2 degC)  Rank: 00085
   TM values: Max =   230  Min =  -280  Ave =    -4.48  Std =    22.68
   Min TM value:-280 at an offset of 132.213 usec -> 2021-08-13T02:58:30.956.252.937 (XO: 3.956256193)
   Max TM value:230 at an offset of 131.963 usec -> 2021-08-13T02:58:30.956.252.687 (XO: 3.956255943)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 129.775 usec -> 2021-08-13T02:58:30.956.250.500 (XO: 3.956253756)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 132.050 usec -> 2021-08-13T02:58:30.956.252.775 (XO: 3.956256031)

 - Block number: 2 starting at 2021-08-13T02:58:44.556.150.725 (XO: 17.556153160 - 17.556459161, t=37.2 degC)  Rank: 00076
   TM values: Max =   237  Min =  -254  Ave =    -4.47  Std =    26.34
   Min TM value:-254 at an offset of 129.275 usec -> 2021-08-13T02:58:44.556.280.000 (XO: 17.556282436)
   Max TM value:237 at an offset of 131.988 usec -> 2021-08-13T02:58:44.556.282.712 (XO: 17.556285148)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 189.013 usec -> 2021-08-13T02:58:44.556.339.738 (XO: 17.556342173)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 129.125 usec -> 2021-08-13T02:58:44.556.279.850 (XO: 17.556282286)

 - Block number: 3 starting at 2021-08-13T02:59:09.006.473.725 (XO: 42.006474446 - 42.006780447, t=37.2 degC)  Rank: 00077
   TM values: Max =   243  Min =  -300  Ave =    -4.37  Std =    36.06
   Min TM value:-300 at an offset of 121.663 usec -> 2021-08-13T02:59:09.006.595.387 (XO: 42.006596109)
   Max TM value:243 at an offset of 92.725 usec -> 2021-08-13T02:59:09.006.566.450 (XO: 42.006567172)
   Max dTM/dt [1/us]:2.46e+03 at an offset of 124.025 usec -> 2021-08-13T02:59:09.006.597.750 (XO: 42.006598472)
   Min dTM/dt [1/us]:-2.71e+03 at an offset of 92.850 usec -> 2021-08-13T02:59:09.006.566.575 (XO: 42.006567297)

 - Block number: 4 starting at 2021-08-13T02:59:12.706.515.725 (XO: 45.706518757 - 45.706824758, t=37.2 degC)  Rank: 00082
   TM values: Max =   228  Min =  -238  Ave =    -4.48  Std =    23.76
   Min TM value:-238 at an offset of 90.375 usec -> 2021-08-13T02:59:12.706.606.100 (XO: 45.706609132)
   Max TM value:228 at an offset of 93.075 usec -> 2021-08-13T02:59:12.706.608.800 (XO: 45.706611832)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 93.000 usec -> 2021-08-13T02:59:12.706.608.725 (XO: 45.706611757)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 90.238 usec -> 2021-08-13T02:59:12.706.605.962 (XO: 45.706608994)
