-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 16:07:59 2023 UTC
-- File 20211105_002739_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.822478 to 43.642896
-each separately from 11s to 43s and from 112525us to 822767us.
   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, ...
      17.289758 in 1 packets: 18
      14.529793 in 1 packets: 36
MIU packet time from 2021-11-05T00:27:53.822.478.000 to 2021-11-05T00:28:25.642.896.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, ...
      17.289758 in 1 packets: 18
      14.529793 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.8882656 to 44.8881524
   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, ...
      17.9999363 in 1 packets: 18
      13.9999505 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C0 -> 35.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 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20211105_002739_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.7107438 to 13.7110328
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.2896950  -- OK for SL --
   MIU time from 2021-11-05T00:27:53.822.478.000 to 2021-11-05T00:27:53.822.767.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.289758

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.0007278 to 31.0010168
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.5297430  -- OK for SL --
   MIU time from 2021-11-05T00:28:11.112.525.000 to 2021-11-05T00:28:11.112.814.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.529793

 - 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 45.5307598 to 45.5310488
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-11-05T00:28:25.642.607.000 to 2021-11-05T00:28:25.642.896.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 = 13.710743800 corrected by 40bit 10MHz counter of 12.888265600 obtained at 1Hz counter of 11. Result: 11.822481161
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2021-11-05T00:27:53.822.337.725
   Max 1st sample MIU time among all SL packets: 2021-11-05T00:28:25.642.755.725
   Min 1st sample XO time among all SL packets: 11.822340885
   Max 1st sample XO time among all SL packets: 43.642758375
   TM values from -245 to 245 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-11-05T00:27:53.822.337.725 (XO: 11.822340885 - 11.822646887, t=35.6 degC)  Rank: 00081
   TM values: Max =   245  Min =  -245  Ave =    -4.41  Std =    25.06
   Min TM value:-245 at an offset of 168.701 usec -> 2021-11-05T00:27:53.822.506.425 (XO: 11.822509586)
   Max TM value:245 at an offset of 111.625 usec -> 2021-11-05T00:27:53.822.449.350 (XO: 11.822452511)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 109.650 usec -> 2021-11-05T00:27:53.822.447.375 (XO: 11.822450536)
   Min dTM/dt [1/us]:-2.53e+03 at an offset of 111.763 usec -> 2021-11-05T00:27:53.822.449.487 (XO: 11.822452648)

 - Block number: 2 starting at 2021-11-05T00:28:11.112.384.725 (XO: 29.112386018 - 29.112692019, t=35.6 degC)  Rank: 00072
   TM values: Max =   206  Min =  -214  Ave =    -4.38  Std =    17.46
   Min TM value:-214 at an offset of 121.788 usec -> 2021-11-05T00:28:11.112.506.512 (XO: 29.112507806)
   Max TM value:206 at an offset of 121.500 usec -> 2021-11-05T00:28:11.112.506.225 (XO: 29.112507519)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 119.363 usec -> 2021-11-05T00:28:11.112.504.087 (XO: 29.112505381)
   Min dTM/dt [1/us]:-1.77e+03 at an offset of 121.650 usec -> 2021-11-05T00:28:11.112.506.375 (XO: 29.112507669)

 - Block number: 3 starting at 2021-11-05T00:28:25.642.466.725 (XO: 43.642469374 - 43.642775375, t=35.6 degC)  Rank: 00078
   TM values: Max =   201  Min =  -223  Ave =    -4.40  Std =    19.66
   Min TM value:-223 at an offset of 107.663 usec -> 2021-11-05T00:28:25.642.574.387 (XO: 43.642577037)
   Max TM value:201 at an offset of 107.325 usec -> 2021-11-05T00:28:25.642.574.050 (XO: 43.642576699)
   Max dTM/dt [1/us]:1.42e+03 at an offset of 107.200 usec -> 2021-11-05T00:28:25.642.573.925 (XO: 43.642576574)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 107.425 usec -> 2021-11-05T00:28:25.642.574.150 (XO: 43.642576799)
