-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Aug  2 10:10:46 2021 UTC
-- File 20210701_230334_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.020553 to 55.390233
-each separately from 3s to 55s and from 20553us to 680666us.
   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, ...
      26.659535 in 1 packets: 18
      9.669539 in 1 packets: 36
      16.039450 in 1 packets: 54
MIU packet time from 2021-07-01T23:03:36.020.553.000 to 2021-07-01T23:04:28.390.233.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, ...
      26.659535 in 1 packets: 18
      9.669539 in 1 packets: 36
      16.039450 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.7977425 to 56.7975520
   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, ...
      25.9999048 in 1 packets: 18
      9.9999633 in 1 packets: 36
      15.9999414 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C0 -> 35.6 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 20210701_230334_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.8182962 to 4.8185852
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.6594390  -- OK for SL --
   MIU time from 2021-07-01T23:03:36.020.553.000 to 2021-07-01T23:03:36.020.842.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.659535

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.4780242 to 31.4783132
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.6695030  -- OK for SL --
   MIU time from 2021-07-01T23:04:02.680.377.000 to 2021-07-01T23:04:02.680.666.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.669539

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.1478162 to 41.1481052
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0393910  -- OK for SL --
   MIU time from 2021-07-01T23:04:12.350.205.000 to 2021-07-01T23:04:12.350.494.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.039450

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.1874962 to 57.1877852
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-01T23:04:28.389.944.000 to 2021-07-01T23:04:28.390.233.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 = 4.818296200 corrected by 40bit 10MHz counter of 4.797742500 obtained at 1Hz counter of 3. Result: 3.020553776
--
   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: 2021-07-01T23:03:36.020.412.725
   Max 1st sample MIU time among all SL packets: 2021-07-01T23:04:28.390.092.725
   Min 1st sample XO time among all SL packets: 3.020413501
   Max 1st sample XO time among all SL packets: 55.390094368
   TM values from -267 to 258 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-01T23:03:36.020.412.725 (XO: 3.020413501 - 3.020719502, t=35.6 degC)  Rank: 00084
   TM values: Max =   258  Min =  -267  Ave =    -4.39  Std =    23.18
   Min TM value:-267 at an offset of 122.525 usec -> 2021-07-01T23:03:36.020.535.250 (XO: 3.020536026)
   Max TM value:258 at an offset of 122.263 usec -> 2021-07-01T23:03:36.020.534.987 (XO: 3.020535763)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 125.113 usec -> 2021-07-01T23:03:36.020.537.837 (XO: 3.020538613)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 122.388 usec -> 2021-07-01T23:03:36.020.535.112 (XO: 3.020535888)

 - Block number: 2 starting at 2021-07-01T23:04:02.680.236.725 (XO: 29.680239142 - 29.680545143, t=35.6 degC)  Rank: 00079
   TM values: Max =   245  Min =  -261  Ave =    -4.46  Std =    20.04
   Min TM value:-261 at an offset of 124.125 usec -> 2021-07-01T23:04:02.680.360.850 (XO: 29.680363267)
   Max TM value:245 at an offset of 126.838 usec -> 2021-07-01T23:04:02.680.363.562 (XO: 29.680365980)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 126.725 usec -> 2021-07-01T23:04:02.680.363.450 (XO: 29.680365867)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 124.000 usec -> 2021-07-01T23:04:02.680.360.725 (XO: 29.680363142)

 - Block number: 3 starting at 2021-07-01T23:04:12.350.064.725 (XO: 39.350066620 - 39.350372621, t=35.6 degC)  Rank: 00079
   TM values: Max =   210  Min =  -258  Ave =    -4.45  Std =    23.86
   Min TM value:-258 at an offset of 122.863 usec -> 2021-07-01T23:04:12.350.187.587 (XO: 39.350189483)
   Max TM value:210 at an offset of 125.538 usec -> 2021-07-01T23:04:12.350.190.262 (XO: 39.350192158)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 125.388 usec -> 2021-07-01T23:04:12.350.190.112 (XO: 39.350192008)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 166.926 usec -> 2021-07-01T23:04:12.350.231.650 (XO: 39.350233546)

 - Block number: 4 starting at 2021-07-01T23:04:28.389.803.725 (XO: 55.389805367 - 55.390111368, t=35.6 degC)  Rank: 00081
   TM values: Max =   223  Min =  -237  Ave =    -4.47  Std =    26.89
   Min TM value:-237 at an offset of 110.863 usec -> 2021-07-01T23:04:28.389.914.587 (XO: 55.389916230)
   Max TM value:223 at an offset of 125.775 usec -> 2021-07-01T23:04:28.389.929.500 (XO: 55.389931143)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 125.638 usec -> 2021-07-01T23:04:28.389.929.362 (XO: 55.389931005)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 167.613 usec -> 2021-07-01T23:04:28.389.971.338 (XO: 55.389972980)
