-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Oct 30 01:29:57 2021 UTC
-- File 20210703_160852_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 8.301529 to 49.023347
-each separately from 8s to 49s and from 23058us to 983087us.
   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, ...
      7.370090 in 1 packets: 18
      24.310601 in 1 packets: 36
      9.039971 in 1 packets: 54
MIU packet time from 2021-07-03T16:08:59.301.529.000 to 2021-07-03T16:09:40.023.347.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, ...
      7.370090 in 1 packets: 18
      24.310601 in 1 packets: 36
      9.039971 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 9.8505831 to 50.8504298
   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, ...
      6.9999739 in 1 packets: 18
      23.9999102 in 1 packets: 36
      9.9999626 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 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 20210703_160852_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 10.1521131 to 10.1524021
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.3700630  -- OK for SL --
   MIU time from 2021-07-03T16:08:59.301.529.000 to 2021-07-03T16:08:59.301.818.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.370090

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.5224651 to 17.5227541
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.3105110  -- OK for SL --
   MIU time from 2021-07-03T16:09:06.671.908.000 to 2021-07-03T16:09:06.672.197.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.310601

 - 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 41.8332651 to 41.8335541
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.0399350  -- OK for SL --
   MIU time from 2021-07-03T16:09:30.982.798.000 to 2021-07-03T16:09:30.983.087.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.039971

 - 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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.8734891 to 50.8737781
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-03T16:09:40.023.058.000 to 2021-07-03T16:09:40.023.347.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 = 8, 32bit 10MHz counter = 10.152113100 corrected by 40bit 10MHz counter of 9.850583100 obtained at 1Hz counter of 8. Result: 8.301531116
--
   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.999996300
   Min 1st sample MIU time among all SL packets: 2021-07-03T16:08:59.301.388.725
   Max 1st sample MIU time among all SL packets: 2021-07-03T16:09:40.023.206.725
   Min 1st sample XO time among all SL packets: 8.301390840
   Max 1st sample XO time among all SL packets: 49.023208111
   TM values from -297 to 300 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-03T16:08:59.301.388.725 (XO: 8.301390840 - 8.301696841, t=35.6 degC)  Rank: 00078
   TM values: Max =   245  Min =  -251  Ave =    -4.42  Std =    34.19
   Min TM value:-251 at an offset of 126.363 usec -> 2021-07-03T16:08:59.301.515.087 (XO: 8.301517203)
   Max TM value:245 at an offset of 129.125 usec -> 2021-07-03T16:08:59.301.517.850 (XO: 8.301519966)
   Max dTM/dt [1/us]:2.34e+03 at an offset of 128.950 usec -> 2021-07-03T16:08:59.301.517.675 (XO: 8.301519791)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 114.188 usec -> 2021-07-03T16:08:59.301.502.912 (XO: 8.301505028)

 - Block number: 2 starting at 2021-07-03T16:09:06.671.767.725 (XO: 15.671770311 - 15.672076312, t=35.6 degC)  Rank: 00073
   TM values: Max =   251  Min =  -291  Ave =    -4.42  Std =    24.83
   Min TM value:-291 at an offset of 130.563 usec -> 2021-07-03T16:09:06.671.898.287 (XO: 15.671900874)
   Max TM value:251 at an offset of 130.263 usec -> 2021-07-03T16:09:06.671.897.987 (XO: 15.671900574)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 132.913 usec -> 2021-07-03T16:09:06.671.900.637 (XO: 15.671903224)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 130.325 usec -> 2021-07-03T16:09:06.671.898.050 (XO: 15.671900636)

 - Block number: 3 starting at 2021-07-03T16:09:30.982.657.725 (XO: 39.982661359 - 39.982967360, t=35.6 degC)  Rank: 00078
   TM values: Max =   286  Min =  -291  Ave =    -4.39  Std =    29.26
   Min TM value:-291 at an offset of 128.850 usec -> 2021-07-03T16:09:30.982.786.575 (XO: 39.982790210)
   Max TM value:286 at an offset of 124.488 usec -> 2021-07-03T16:09:30.982.782.212 (XO: 39.982785847)
   Max dTM/dt [1/us]:2.67e+03 at an offset of 124.375 usec -> 2021-07-03T16:09:30.982.782.100 (XO: 39.982785735)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 126.463 usec -> 2021-07-03T16:09:30.982.784.187 (XO: 39.982787822)

 - Block number: 4 starting at 2021-07-03T16:09:40.022.917.725 (XO: 49.022919110 - 49.023225111, t=35.6 degC)  Rank: 00068
   TM values: Max =   300  Min =  -297  Ave =    -4.36  Std =    34.88
   Min TM value:-297 at an offset of 177.251 usec -> 2021-07-03T16:09:40.023.094.975 (XO: 49.023096360)
   Max TM value:300 at an offset of 105.988 usec -> 2021-07-03T16:09:40.023.023.712 (XO: 49.023025098)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 105.875 usec -> 2021-07-03T16:09:40.023.023.600 (XO: 49.023024985)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 177.076 usec -> 2021-07-03T16:09:40.023.094.800 (XO: 49.023096185)
