-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 02:13:21 2023 UTC
-- File 20220629_153047_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 5.205756 to 52.726508
-each separately from 5s to 52s and from 205756us to 726508us.
   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, ...
      15.139831 in 1 packets: 18
      17.919858 in 1 packets: 36
      14.459907 in 1 packets: 54
MIU packet time from 2022-06-29T15:30:55.205.756.000 to 2022-06-29T15:31:42.726.508.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, ...
      15.139831 in 1 packets: 18
      17.919858 in 1 packets: 36
      14.459907 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 6.7473889 to 53.7472148
   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, ...
      14.9999445 in 1 packets: 18
      17.9999333 in 1 packets: 36
      13.9999481 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20220629_153047_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.9531463 to 6.9534353
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.1397750  -- OK for SL --
   MIU time from 2022-06-29T15:30:55.205.756.000 to 2022-06-29T15:30:55.206.045.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.139831

 - 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 22.0932103 to 22.0934993
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.9197910  -- OK for SL --
   MIU time from 2022-06-29T15:31:10.345.876.000 to 2022-06-29T15:31:10.346.165.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.919858

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.0132903 to 40.0135793
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4598550  -- OK for SL --
   MIU time from 2022-06-29T15:31:28.266.023.000 to 2022-06-29T15:31:28.266.312.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.459907

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.4734343 to 54.4737233
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-29T15:31:42.726.219.000 to 2022-06-29T15:31:42.726.508.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 = 5, 32bit 10MHz counter = 6.953146300 corrected by 40bit 10MHz counter of 6.747388900 obtained at 1Hz counter of 5. Result: 5.205758161
--
   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.999996200 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-06-29T15:30:55.205.615.725
   Max 1st sample MIU time among all SL packets: 2022-06-29T15:31:42.726.367.725
   Min 1st sample XO time among all SL packets: 5.205617886
   Max 1st sample XO time among all SL packets: 52.726370985
   TM values from -256 to 214 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-29T15:30:55.205.615.725 (XO: 5.205617886 - 5.205923887, t=35.6 degC)  Rank: 00078
   TM values: Max =   211  Min =  -230  Ave =    -4.39  Std =    21.25
   Min TM value:-230 at an offset of 124.738 usec -> 2022-06-29T15:30:55.205.740.462 (XO: 5.205742624)
   Max TM value:211 at an offset of 122.250 usec -> 2022-06-29T15:30:55.205.737.975 (XO: 5.205740136)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 124.838 usec -> 2022-06-29T15:30:55.205.740.562 (XO: 5.205742724)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 124.650 usec -> 2022-06-29T15:30:55.205.740.375 (XO: 5.205742536)

 - Block number: 2 starting at 2022-06-29T15:31:10.345.735.725 (XO: 20.345737870 - 20.346043871, t=35.6 degC)  Rank: 00076
   TM values: Max =   180  Min =  -219  Ave =    -4.48  Std =    19.83
   Min TM value:-219 at an offset of 113.900 usec -> 2022-06-29T15:31:10.345.849.625 (XO: 20.345851770)
   Max TM value:180 at an offset of 111.388 usec -> 2022-06-29T15:31:10.345.847.112 (XO: 20.345849258)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 114.025 usec -> 2022-06-29T15:31:10.345.849.750 (XO: 20.345851895)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 111.525 usec -> 2022-06-29T15:31:10.345.847.250 (XO: 20.345849395)

 - Block number: 3 starting at 2022-06-29T15:31:28.265.882.725 (XO: 38.265884309 - 38.266190310, t=35.6 degC)  Rank: 00080
   TM values: Max =   214  Min =  -256  Ave =    -4.48  Std =    21.89
   Min TM value:-256 at an offset of 123.950 usec -> 2022-06-29T15:31:28.266.006.675 (XO: 38.266008259)
   Max TM value:214 at an offset of 121.463 usec -> 2022-06-29T15:31:28.266.004.187 (XO: 38.266005772)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 124.050 usec -> 2022-06-29T15:31:28.266.006.775 (XO: 38.266008359)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 121.563 usec -> 2022-06-29T15:31:28.266.004.287 (XO: 38.266005872)

 - Block number: 4 starting at 2022-06-29T15:31:42.726.078.725 (XO: 52.726081984 - 52.726387985, t=35.6 degC)  Rank: 00084
   TM values: Max =   194  Min =  -240  Ave =    -4.40  Std =    21.91
   Min TM value:-240 at an offset of 124.238 usec -> 2022-06-29T15:31:42.726.202.962 (XO: 52.726206222)
   Max TM value:194 at an offset of 121.750 usec -> 2022-06-29T15:31:42.726.200.475 (XO: 52.726203735)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 124.363 usec -> 2022-06-29T15:31:42.726.203.087 (XO: 52.726206347)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 121.863 usec -> 2022-06-29T15:31:42.726.200.587 (XO: 52.726203847)
