-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jan  4 05:47:16 2022 UTC
-- File 20210906_121429_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 14.438202 to 45.514418
-each separately from 14s to 45s and from 254982us to 514418us.
   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, ...
      5.878867 in 1 packets: 18
      16.937335 in 1 packets: 36
      8.258858 in 1 packets: 54
MIU packet time from 2021-09-06T12:14:46.438.202.000 to 2021-09-06T12:15:17.514.418.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, ...
      5.878867 in 1 packets: 18
      16.937335 in 1 packets: 36
      8.258858 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 15.3851932 to 46.3850904
   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, ...
      5.9999800 in 1 packets: 18
      16.9999437 in 1 packets: 36
      7.9999735 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20210906_121429_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 15.8233957 to 15.8236847
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.8788470  -- OK for SL --
   MIU time from 2021-09-06T12:14:46.438.202.000 to 2021-09-06T12:14:46.438.491.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.878867

 - 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 21.7025317 to 21.7028207
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.9372790  -- OK for SL --
   MIU time from 2021-09-06T12:14:52.317.358.000 to 2021-09-06T12:14:52.317.647.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.937335

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.6400997 to 38.6403887
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.2588310  -- OK for SL --
   MIU time from 2021-09-06T12:15:09.254.982.000 to 2021-09-06T12:15:09.255.271.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.258858

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.8992197 to 46.8995087
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-06T12:15:17.514.129.000 to 2021-09-06T12:15:17.514.418.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 = 14, 32bit 10MHz counter = 15.823395700 corrected by 40bit 10MHz counter of 15.385193200 obtained at 1Hz counter of 14. Result: 14.438203990
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-09-06T12:14:46.438.061.725
   Max 1st sample MIU time among all SL packets: 2021-09-06T12:15:17.514.277.725
   Min 1st sample XO time among all SL packets: 14.438063714
   Max 1st sample XO time among all SL packets: 45.514279671
   TM values from -275 to 230 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-06T12:14:46.438.061.725 (XO: 14.438063714 - 14.438369715, t=37.2 degC)  Rank: 00084
   TM values: Max =   227  Min =  -269  Ave =    -4.43  Std =    20.31
   Min TM value:-269 at an offset of 127.488 usec -> 2021-09-06T12:14:46.438.189.212 (XO: 14.438191202)
   Max TM value:227 at an offset of 125.188 usec -> 2021-09-06T12:14:46.438.186.912 (XO: 14.438188902)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 129.888 usec -> 2021-09-06T12:14:46.438.191.612 (XO: 14.438193602)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 127.325 usec -> 2021-09-06T12:14:46.438.189.050 (XO: 14.438191040)

 - Block number: 2 starting at 2021-09-06T12:14:52.317.217.725 (XO: 20.317219272 - 20.317525273, t=37.2 degC)  Rank: 00079
   TM values: Max =   221  Min =  -275  Ave =    -4.44  Std =    29.42
   Min TM value:-275 at an offset of 191.813 usec -> 2021-09-06T12:14:52.317.409.538 (XO: 20.317411085)
   Max TM value:221 at an offset of 175.726 usec -> 2021-09-06T12:14:52.317.393.450 (XO: 20.317394997)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 123.700 usec -> 2021-09-06T12:14:52.317.341.425 (XO: 20.317342972)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 121.125 usec -> 2021-09-06T12:14:52.317.338.850 (XO: 20.317340397)

 - Block number: 3 starting at 2021-09-06T12:15:09.254.841.725 (XO: 37.254843366 - 37.255149367, t=37.2 degC)  Rank: 00081
   TM values: Max =   221  Min =  -252  Ave =    -4.45  Std =    19.12
   Min TM value:-252 at an offset of 128.313 usec -> 2021-09-06T12:15:09.254.970.037 (XO: 37.254971679)
   Max TM value:221 at an offset of 130.925 usec -> 2021-09-06T12:15:09.254.972.650 (XO: 37.254974291)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 130.725 usec -> 2021-09-06T12:15:09.254.972.450 (XO: 37.254974091)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 128.150 usec -> 2021-09-06T12:15:09.254.969.875 (XO: 37.254971516)

 - Block number: 4 starting at 2021-09-06T12:15:17.513.988.725 (XO: 45.513990670 - 45.514296671, t=37.2 degC)  Rank: 00079
   TM values: Max =   230  Min =  -253  Ave =    -4.40  Std =    25.47
   Min TM value:-253 at an offset of 102.963 usec -> 2021-09-06T12:15:17.514.091.687 (XO: 45.514093633)
   Max TM value:230 at an offset of 117.575 usec -> 2021-09-06T12:15:17.514.106.300 (XO: 45.514108245)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 117.438 usec -> 2021-09-06T12:15:17.514.106.162 (XO: 45.514108108)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 102.850 usec -> 2021-09-06T12:15:17.514.091.575 (XO: 45.514093520)
