-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 17 00:08:23 2023 UTC
-- File 20220612_141748_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 14.973165 to 34.292899
-each separately from 14s to 34s and from 292610us to 973454us.
   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, ...
      12.319484 in 1 packets: 18
      6.999383 in 1 packets: 36
MIU packet time from 2022-06-12T14:18:05.973.165.000 to 2022-06-12T14:18:25.292.899.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, ...
      12.319484 in 1 packets: 18
      6.999383 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 15.8113800 to 35.8113120
   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, ...
      12.9999558 in 1 packets: 18
      6.9999762 in 1 packets: 36
Temperature FPGA: 
      FF -> 56.3 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 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 20220612_141748_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 16.7845472 to 16.7848362
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.3194390  -- OK for SL --
   MIU time from 2022-06-12T14:18:05.973.165.000 to 2022-06-12T14:18:05.973.454.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.319484

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.1042752 to 29.1045642
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.9993590  -- OK for SL --
   MIU time from 2022-06-12T14:18:18.292.938.000 to 2022-06-12T14:18:18.293.227.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.999383

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.1039232 to 36.1042122
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-12T14:18:25.292.610.000 to 2022-06-12T14:18:25.292.899.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 = 14, 32bit 10MHz counter = 16.784547200 corrected by 40bit 10MHz counter of 15.811380000 obtained at 1Hz counter of 14. Result: 14.973170509
--
   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-12T14:18:05.973.024.725
   Max 1st sample MIU time among all SL packets: 2022-06-12T14:18:25.292.758.725
   Min 1st sample XO time among all SL packets: 14.973030233
   Max 1st sample XO time among all SL packets: 34.292760920
   TM values from -254 to 236 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-12T14:18:05.973.024.725 (XO: 14.973030233 - 14.973336234, t=43.6 degC)  Rank: 00081
   TM values: Max =   210  Min =  -241  Ave =    -4.54  Std =    26.01
   Min TM value:-241 at an offset of 119.588 usec -> 2022-06-12T14:18:05.973.144.312 (XO: 14.973149821)
   Max TM value:210 at an offset of 145.600 usec -> 2022-06-12T14:18:05.973.170.325 (XO: 14.973175834)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 145.425 usec -> 2022-06-12T14:18:05.973.170.150 (XO: 14.973175659)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 119.463 usec -> 2022-06-12T14:18:05.973.144.187 (XO: 14.973149696)

 - Block number: 2 starting at 2022-06-12T14:18:18.292.797.725 (XO: 27.292800121 - 27.293106122, t=43.6 degC)  Rank: 00077
   TM values: Max =   236  Min =  -247  Ave =    -4.50  Std =    28.76
   Min TM value:-247 at an offset of 155.163 usec -> 2022-06-12T14:18:18.292.952.888 (XO: 27.292955284)
   Max TM value:236 at an offset of 87.500 usec -> 2022-06-12T14:18:18.292.885.225 (XO: 27.292887621)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 87.363 usec -> 2022-06-12T14:18:18.292.885.087 (XO: 27.292887483)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 131.200 usec -> 2022-06-12T14:18:18.292.928.925 (XO: 27.292931321)

 - Block number: 3 starting at 2022-06-12T14:18:25.292.469.725 (XO: 34.292471919 - 34.292777920, t=43.6 degC)  Rank: 00073
   TM values: Max =   221  Min =  -254  Ave =    -4.49  Std =    25.40
   Min TM value:-254 at an offset of 145.925 usec -> 2022-06-12T14:18:25.292.615.650 (XO: 34.292617845)
   Max TM value:221 at an offset of 131.638 usec -> 2022-06-12T14:18:25.292.601.362 (XO: 34.292603557)
   Max dTM/dt [1/us]:2.15e+03 at an offset of 131.488 usec -> 2022-06-12T14:18:25.292.601.212 (XO: 34.292603407)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 129.063 usec -> 2022-06-12T14:18:25.292.598.787 (XO: 34.292600982)
