-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec  2 08:26:06 2021 UTC
-- File 20210731_163835_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 1.866146 to 51.307465
-each separately from 1s to 51s and from 286386us to 866435us.
   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, ...
      23.419951 in 1 packets: 18
      9.429869 in 1 packets: 36
      16.590343 in 1 packets: 54
MIU packet time from 2021-07-31T16:38:39.866.146.000 to 2021-07-31T16:39:29.307.465.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, ...
      23.419951 in 1 packets: 18
      9.429869 in 1 packets: 36
      16.590343 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 2.9011882 to 52.9010209
   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, ...
      23.9999197 in 1 packets: 18
      8.9999698 in 1 packets: 36
      16.9999432 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, ...
      04 -> 49.8 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 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 20210731_163835_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.7673343 to 3.7676233
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.4198710  -- OK for SL --
   MIU time from 2021-07-31T16:38:39.866.146.000 to 2021-07-31T16:38:39.866.435.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.419951

 - 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 27.1874943 to 27.1877833
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.4298390  -- OK for SL --
   MIU time from 2021-07-31T16:39:03.286.386.000 to 2021-07-31T16:39:03.286.675.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.429869

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.6176223 to 36.6179113
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5902870  -- OK for SL --
   MIU time from 2021-07-31T16:39:12.716.544.000 to 2021-07-31T16:39:12.716.833.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.590343

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.2081983 to 53.2084873
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-31T16:39:29.307.176.000 to 2021-07-31T16:39:29.307.465.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 = 1, 32bit 10MHz counter = 3.767334300 corrected by 40bit 10MHz counter of 2.901188200 obtained at 1Hz counter of 1. Result: 1.866149045
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-07-31T16:38:39.866.005.725
   Max 1st sample MIU time among all SL packets: 2021-07-31T16:39:29.307.324.725
   Min 1st sample XO time among all SL packets: 1.866008769
   Max 1st sample XO time among all SL packets: 51.307327139
   TM values from -243 to 261 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-31T16:38:39.866.005.725 (XO: 1.866008769 - 1.866314770, t=37.2 degC)  Rank: 00080
   TM values: Max =   235  Min =  -242  Ave =    -4.38  Std =    22.38
   Min TM value:-242 at an offset of 112.688 usec -> 2021-07-31T16:38:39.866.118.412 (XO: 1.866121457)
   Max TM value:235 at an offset of 115.413 usec -> 2021-07-31T16:38:39.866.121.137 (XO: 1.866124182)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 115.275 usec -> 2021-07-31T16:38:39.866.121.000 (XO: 1.866124045)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 85.013 usec -> 2021-07-31T16:38:39.866.090.737 (XO: 1.866093782)

 - Block number: 2 starting at 2021-07-31T16:39:03.286.245.725 (XO: 25.286247070 - 25.286553071, t=37.2 degC)  Rank: 00086
   TM values: Max =   237  Min =  -243  Ave =    -4.47  Std =    21.71
   Min TM value:-243 at an offset of 125.050 usec -> 2021-07-31T16:39:03.286.370.775 (XO: 25.286372120)
   Max TM value:237 at an offset of 127.763 usec -> 2021-07-31T16:39:03.286.373.487 (XO: 25.286374833)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 127.650 usec -> 2021-07-31T16:39:03.286.373.375 (XO: 25.286374720)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 124.913 usec -> 2021-07-31T16:39:03.286.370.637 (XO: 25.286371983)

 - Block number: 3 starting at 2021-07-31T16:39:12.716.403.725 (XO: 34.716406689 - 34.716712690, t=37.2 degC)  Rank: 00078
   TM values: Max =   261  Min =  -226  Ave =    -4.34  Std =    19.77
   Min TM value:-226 at an offset of 124.463 usec -> 2021-07-31T16:39:12.716.528.187 (XO: 34.716531152)
   Max TM value:261 at an offset of 127.250 usec -> 2021-07-31T16:39:12.716.530.975 (XO: 34.716533940)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 127.125 usec -> 2021-07-31T16:39:12.716.530.850 (XO: 34.716533815)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 124.338 usec -> 2021-07-31T16:39:12.716.528.062 (XO: 34.716531027)

 - Block number: 4 starting at 2021-07-31T16:39:29.307.035.725 (XO: 51.307038138 - 51.307344139, t=37.2 degC)  Rank: 00078
   TM values: Max =   240  Min =  -242  Ave =    -4.42  Std =    20.97
   Min TM value:-242 at an offset of 88.413 usec -> 2021-07-31T16:39:29.307.124.137 (XO: 51.307126551)
   Max TM value:240 at an offset of 91.063 usec -> 2021-07-31T16:39:29.307.126.787 (XO: 51.307129201)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 90.863 usec -> 2021-07-31T16:39:29.307.126.587 (XO: 51.307129001)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 88.175 usec -> 2021-07-31T16:39:29.307.123.900 (XO: 51.307126314)
