-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Nov  9 18:55:42 2021 UTC
-- File 20210709_073139_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 4.161609 to 52.420254
-each separately from 4s to 52s and from 161609us to 621148us.
   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, ...
      24.458961 in 1 packets: 18
      12.979243 in 1 packets: 36
      10.819285 in 1 packets: 54
MIU packet time from 2021-07-09T07:31:46.161.609.000 to 2021-07-09T07:32:34.420.254.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, ...
      24.458961 in 1 packets: 18
      12.979243 in 1 packets: 36
      10.819285 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 5.8477763 to 53.8476129
   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.9999184 in 1 packets: 18
      12.9999557 in 1 packets: 36
      10.9999625 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210709_073139_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.0093863 to 6.0096753
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.4588790  -- OK for SL --
   MIU time from 2021-07-09T07:31:46.161.609.000 to 2021-07-09T07:31:46.161.898.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.458961

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.4685543 to 30.4688433
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.9791990  -- OK for SL --
   MIU time from 2021-07-09T07:32:10.620.859.000 to 2021-07-09T07:32:10.621.148.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.979243

 - 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:
      91 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.4480423 to 43.4483313
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8192470  -- OK for SL --
   MIU time from 2021-07-09T07:32:23.600.391.000 to 2021-07-09T07:32:23.600.680.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.819285

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.2675783 to 54.2678673
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-09T07:32:34.419.965.000 to 2021-07-09T07:32:34.420.254.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 = 4, 32bit 10MHz counter = 6.009386300 corrected by 40bit 10MHz counter of 5.847776300 obtained at 1Hz counter of 4. Result: 4.161610533
--
   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.999996500 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-07-09T07:31:46.161.468.725
   Max 1st sample MIU time among all SL packets: 2021-07-09T07:32:34.420.113.725
   Min 1st sample XO time among all SL packets: 4.161470258
   Max 1st sample XO time among all SL packets: 52.420115511
   TM values from -270 to 270 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-09T07:31:46.161.468.725 (XO: 4.161470258 - 4.161776259, t=37.2 degC)  Rank: 00078
   TM values: Max =   242  Min =  -230  Ave =    -4.60  Std =    20.47
   Min TM value:-230 at an offset of 119.150 usec -> 2021-07-09T07:31:46.161.587.875 (XO: 4.161589408)
   Max TM value:242 at an offset of 121.875 usec -> 2021-07-09T07:31:46.161.590.600 (XO: 4.161592133)
   Max dTM/dt [1/us]:2.29e+03 at an offset of 121.763 usec -> 2021-07-09T07:31:46.161.590.487 (XO: 4.161592021)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 118.975 usec -> 2021-07-09T07:31:46.161.587.700 (XO: 4.161589233)

 - Block number: 2 starting at 2021-07-09T07:32:10.620.718.725 (XO: 28.620721498 - 28.621027499, t=37.2 degC)  Rank: 00080
   TM values: Max =   242  Min =  -249  Ave =    -4.46  Std =    27.76
   Min TM value:-249 at an offset of 107.113 usec -> 2021-07-09T07:32:10.620.825.837 (XO: 28.620828610)
   Max TM value:242 at an offset of 166.138 usec -> 2021-07-09T07:32:10.620.884.863 (XO: 28.620887636)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 166.026 usec -> 2021-07-09T07:32:10.620.884.750 (XO: 28.620887523)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 106.988 usec -> 2021-07-09T07:32:10.620.825.712 (XO: 28.620828485)

 - Block number: 3 starting at 2021-07-09T07:32:23.600.250.725 (XO: 41.600253726 - 41.600559727, t=37.2 degC)  Rank: 00091
   TM values: Max =   270  Min =  -270  Ave =    -4.60  Std =    22.47
   Min TM value:-270 at an offset of 120.563 usec -> 2021-07-09T07:32:23.600.371.287 (XO: 41.600374289)
   Max TM value:270 at an offset of 116.213 usec -> 2021-07-09T07:32:23.600.366.937 (XO: 41.600369939)
   Max dTM/dt [1/us]:2.47e+03 at an offset of 116.100 usec -> 2021-07-09T07:32:23.600.366.825 (XO: 41.600369826)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 118.163 usec -> 2021-07-09T07:32:23.600.368.887 (XO: 41.600371889)

 - Block number: 4 starting at 2021-07-09T07:32:34.419.824.725 (XO: 52.419826510 - 52.420132511, t=37.2 degC)  Rank: 00080
   TM values: Max =   240  Min =  -239  Ave =    -4.51  Std =    21.88
   Min TM value:-239 at an offset of 120.175 usec -> 2021-07-09T07:32:34.419.944.900 (XO: 52.419946686)
   Max TM value:240 at an offset of 122.850 usec -> 2021-07-09T07:32:34.419.947.575 (XO: 52.419949361)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 122.788 usec -> 2021-07-09T07:32:34.419.947.512 (XO: 52.419949298)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 120.013 usec -> 2021-07-09T07:32:34.419.944.737 (XO: 52.419946523)
