-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar 19 03:15:45 2023 UTC
-- File 20220614_054708_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 11.300044 to 34.838650
-each separately from 11s to 34s and from 300044us to 838650us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      8.179130 in 1 packets: 18
      15.358609 in 1 packets: 36
MIU packet time from 2022-06-14T05:47:22.300.044.000 to 2022-06-14T05:47:45.838.650.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      8.179130 in 1 packets: 18
      15.358609 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 12.4724577 to 35.4723794
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      7.9999728 in 1 packets: 18
      14.9999489 in 1 packets: 36
Temperature FPGA: 
      FE -> 57.6 degC in 54 packets (all packets)
Temperature XO: 
      C5 -> 43.6 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20220614_054708_1227.dat, 3 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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.7725027 to 12.7727917
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.1791030  -- OK for SL --
   MIU time from 2022-06-14T05:47:22.300.044.000 to 2022-06-14T05:47:22.300.333.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.179130

 - 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:
      66 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.9518947 to 20.9521837
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.3585590  -- OK for SL --
   MIU time from 2022-06-14T05:47:30.479.463.000 to 2022-06-14T05:47:30.479.752.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.358609

 - 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:
      66 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.3107427 to 36.3110317
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-14T05:47:45.838.361.000 to 2022-06-14T05:47:45.838.650.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 11, 32bit 10MHz counter = 12.772502700 corrected by 40bit 10MHz counter of 12.472457700 obtained at 1Hz counter of 11. Result: 11.300046020
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2022-06-14T05:47:22.299.903.725
   Max 1st sample MIU time among all SL packets: 2022-06-14T05:47:45.838.509.725
   Min 1st sample XO time among all SL packets: 11.299905745
   Max 1st sample XO time among all SL packets: 34.838514876
   TM values from -229 to 199 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-14T05:47:22.299.903.725 (XO: 11.299905745 - 11.300211746, t=43.6 degC)  Rank: 00068
   TM values: Max =   192  Min =  -229  Ave =    -4.40  Std =    23.71
   Min TM value:-229 at an offset of 116.275 usec -> 2022-06-14T05:47:22.300.020.000 (XO: 11.300022020)
   Max TM value:192 at an offset of 118.613 usec -> 2022-06-14T05:47:22.300.022.337 (XO: 11.300024358)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 118.413 usec -> 2022-06-14T05:47:22.300.022.137 (XO: 11.300024158)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 116.100 usec -> 2022-06-14T05:47:22.300.019.825 (XO: 11.300021845)

 - Block number: 2 starting at 2022-06-14T05:47:30.479.322.725 (XO: 19.479325555 - 19.479631556, t=43.6 degC)  Rank: 00066
   TM values: Max =   199  Min =  -217  Ave =    -4.37  Std =    34.36
   Min TM value:-217 at an offset of 158.738 usec -> 2022-06-14T05:47:30.479.481.463 (XO: 19.479484293)
   Max TM value:199 at an offset of 230.301 usec -> 2022-06-14T05:47:30.479.553.025 (XO: 19.479555855)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 230.138 usec -> 2022-06-14T05:47:30.479.552.863 (XO: 19.479555693)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 204.163 usec -> 2022-06-14T05:47:30.479.526.888 (XO: 19.479529718)

 - Block number: 3 starting at 2022-06-14T05:47:45.838.220.725 (XO: 34.838225875 - 34.838531876, t=43.6 degC)  Rank: 00066
   TM values: Max =   191  Min =  -187  Ave =    -4.60  Std =    21.54
   Min TM value:-187 at an offset of 128.000 usec -> 2022-06-14T05:47:45.838.348.725 (XO: 34.838353875)
   Max TM value:191 at an offset of 126.113 usec -> 2022-06-14T05:47:45.838.346.837 (XO: 34.838351988)
   Max dTM/dt [1/us]:1.41e+03 at an offset of 125.925 usec -> 2022-06-14T05:47:45.838.346.650 (XO: 34.838351800)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 127.825 usec -> 2022-06-14T05:47:45.838.348.550 (XO: 34.838353700)
