-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 20:33:20 2023 UTC
-- File 20220114_183403_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 13.828077 to 30.078489
-each separately from 13s to 30s and from 78200us to 828366us.
   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, ...
      13.349760 in 1 packets: 18
      2.899785 in 1 packets: 36
MIU packet time from 2022-01-14T18:34:19.828.077.000 to 2022-01-14T18:34:36.078.489.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, ...
      13.349760 in 1 packets: 18
      2.899785 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 14.3318936 to 31.3318337
   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, ...
      13.9999507 in 1 packets: 18
      2.9999894 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 20220114_183403_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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.1599709 to 15.1602599
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.3497110  -- OK for SL --
   MIU time from 2022-01-14T18:34:19.828.077.000 to 2022-01-14T18:34:19.828.366.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.349760

 - 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:
      59 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.5099709 to 28.5102599
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.8997750  -- OK for SL --
   MIU time from 2022-01-14T18:34:33.178.126.000 to 2022-01-14T18:34:33.178.415.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.899785

 - 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:
      61 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.4100349 to 31.4103239
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-14T18:34:36.078.200.000 to 2022-01-14T18:34:36.078.489.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 = 13, 32bit 10MHz counter = 15.159970900 corrected by 40bit 10MHz counter of 14.331893600 obtained at 1Hz counter of 13. Result: 13.828080198
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-14T18:34:19.827.936.725
   Max 1st sample MIU time among all SL packets: 2022-01-14T18:34:36.078.348.725
   Min 1st sample XO time among all SL packets: 13.827939923
   Max 1st sample XO time among all SL packets: 30.078350199
   TM values from -193 to 181 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-14T18:34:19.827.936.725 (XO: 13.827939923 - 13.828245924, t=37.2 degC)  Rank: 00058
   TM values: Max =   169  Min =  -193  Ave =    -4.66  Std =    21.08
   Min TM value:-193 at an offset of 123.188 usec -> 2022-01-14T18:34:19.828.059.912 (XO: 13.828063111)
   Max TM value:169 at an offset of 125.525 usec -> 2022-01-14T18:34:19.828.062.250 (XO: 13.828065448)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 125.438 usec -> 2022-01-14T18:34:19.828.062.162 (XO: 13.828065361)
   Min dTM/dt [1/us]:-1.71e+03 at an offset of 166.951 usec -> 2022-01-14T18:34:19.828.103.675 (XO: 13.828106873)

 - Block number: 2 starting at 2022-01-14T18:34:33.177.985.725 (XO: 27.177986948 - 27.178292949, t=37.2 degC)  Rank: 00059
   TM values: Max =   181  Min =  -193  Ave =    -4.59  Std =    21.28
   Min TM value:-193 at an offset of 168.326 usec -> 2022-01-14T18:34:33.178.154.050 (XO: 27.178155274)
   Max TM value:181 at an offset of 108.463 usec -> 2022-01-14T18:34:33.178.094.187 (XO: 27.178095411)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 111.050 usec -> 2022-01-14T18:34:33.178.096.775 (XO: 27.178097998)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 110.825 usec -> 2022-01-14T18:34:33.178.096.550 (XO: 27.178097773)

 - Block number: 3 starting at 2022-01-14T18:34:36.078.059.725 (XO: 30.078061198 - 30.078367199, t=37.2 degC)  Rank: 00061
   TM values: Max =   153  Min =  -189  Ave =    -4.61  Std =    19.32
   Min TM value:-189 at an offset of 121.625 usec -> 2022-01-14T18:34:36.078.181.350 (XO: 30.078182824)
   Max TM value:153 at an offset of 121.313 usec -> 2022-01-14T18:34:36.078.181.037 (XO: 30.078182511)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 123.875 usec -> 2022-01-14T18:34:36.078.183.600 (XO: 30.078185074)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 121.450 usec -> 2022-01-14T18:34:36.078.181.175 (XO: 30.078182649)
