-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec  6 17:18:37 2021 UTC
-- File 20210804_063851_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 6.196286 to 55.170179
-each separately from 6s to 55s and from 169890us to 423359us.
   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, ...
      9.138509 in 1 packets: 18
      15.087697 in 1 packets: 36
      24.746531 in 1 packets: 54
MIU packet time from 2021-08-04T06:39:00.196.286.000 to 2021-08-04T06:39:49.170.179.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, ...
      9.138509 in 1 packets: 18
      15.087697 in 1 packets: 36
      24.746531 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 7.7888037 to 56.7886397
   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, ...
      8.9999699 in 1 packets: 18
      14.9999498 in 1 packets: 36
      24.9999163 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20210804_063851_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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.9850907 to 7.9853797
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.1384790  -- OK for SL --
   MIU time from 2021-08-04T06:39:00.196.286.000 to 2021-08-04T06:39:00.196.575.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.138509

 - 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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.1238587 to 17.1241477
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0876470  -- OK for SL --
   MIU time from 2021-08-04T06:39:09.335.084.000 to 2021-08-04T06:39:09.335.373.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.087697

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.2117947 to 32.2120837
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.7464470  -- OK for SL --
   MIU time from 2021-08-04T06:39:24.423.070.000 to 2021-08-04T06:39:24.423.359.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.746531

 - 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 56.9585307 to 56.9588197
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-04T06:39:49.169.890.000 to 2021-08-04T06:39:49.170.179.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 = 6, 32bit 10MHz counter = 7.985090700 corrected by 40bit 10MHz counter of 7.788803700 obtained at 1Hz counter of 6. Result: 6.196287667
--
   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-08-04T06:39:00.196.145.725
   Max 1st sample MIU time among all SL packets: 2021-08-04T06:39:49.170.038.725
   Min 1st sample XO time among all SL packets: 6.196147392
   Max 1st sample XO time among all SL packets: 55.170040286
   TM values from -265 to 230 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-04T06:39:00.196.145.725 (XO: 6.196147392 - 6.196453393, t=37.2 degC)  Rank: 00075
   TM values: Max =   219  Min =  -246  Ave =    -4.50  Std =    22.98
   Min TM value:-246 at an offset of 128.725 usec -> 2021-08-04T06:39:00.196.274.450 (XO: 6.196276117)
   Max TM value:219 at an offset of 128.413 usec -> 2021-08-04T06:39:00.196.274.137 (XO: 6.196275805)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 131.100 usec -> 2021-08-04T06:39:00.196.276.825 (XO: 6.196278492)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 128.525 usec -> 2021-08-04T06:39:00.196.274.250 (XO: 6.196275917)

 - Block number: 2 starting at 2021-08-04T06:39:09.334.943.725 (XO: 15.334945964 - 15.335251965, t=37.2 degC)  Rank: 00068
   TM values: Max =   194  Min =  -253  Ave =    -4.46  Std =    23.99
   Min TM value:-253 at an offset of 101.675 usec -> 2021-08-04T06:39:09.335.045.400 (XO: 15.335047639)
   Max TM value:194 at an offset of 117.088 usec -> 2021-08-04T06:39:09.335.060.812 (XO: 15.335063052)
   Max dTM/dt [1/us]:1.60e+03 at an offset of 116.950 usec -> 2021-08-04T06:39:09.335.060.675 (XO: 15.335062914)
   Min dTM/dt [1/us]:-1.60e+03 at an offset of 114.200 usec -> 2021-08-04T06:39:09.335.057.925 (XO: 15.335060164)

 - Block number: 3 starting at 2021-08-04T06:39:24.422.929.725 (XO: 30.422932463 - 30.423238464, t=37.2 degC)  Rank: 00071
   TM values: Max =   230  Min =  -265  Ave =    -4.49  Std =    26.31
   Min TM value:-265 at an offset of 133.688 usec -> 2021-08-04T06:39:24.423.063.412 (XO: 30.423066151)
   Max TM value:230 at an offset of 136.200 usec -> 2021-08-04T06:39:24.423.065.925 (XO: 30.423068663)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 136.063 usec -> 2021-08-04T06:39:24.423.065.787 (XO: 30.423068526)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 133.538 usec -> 2021-08-04T06:39:24.423.063.262 (XO: 30.423066001)

 - Block number: 4 starting at 2021-08-04T06:39:49.169.749.725 (XO: 55.169751285 - 55.170057286, t=37.2 degC)  Rank: 00079
   TM values: Max =   208  Min =  -241  Ave =    -4.50  Std =    21.49
   Min TM value:-241 at an offset of 132.563 usec -> 2021-08-04T06:39:49.169.882.287 (XO: 55.169883848)
   Max TM value:208 at an offset of 132.863 usec -> 2021-08-04T06:39:49.169.882.587 (XO: 55.169884148)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 132.675 usec -> 2021-08-04T06:39:49.169.882.400 (XO: 55.169883961)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 130.138 usec -> 2021-08-04T06:39:49.169.879.862 (XO: 55.169881423)
