-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 08:00:05 2023 UTC
-- File 20220119_221719_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 4.660573 to 49.322720
-each separately from 4s to 49s and from 322431us to 660862us.
   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, ...
      10.840215 in 1 packets: 18
      22.940530 in 1 packets: 36
      10.880246 in 1 packets: 54
MIU packet time from 2022-01-19T22:17:26.660.573.000 to 2022-01-19T22:18:11.322.720.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, ...
      10.840215 in 1 packets: 18
      22.940530 in 1 packets: 36
      10.880246 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 5.3830276 to 50.3828648
   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, ...
      10.9999601 in 1 packets: 18
      22.9999168 in 1 packets: 36
      10.9999603 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 20220119_221719_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:
      57 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.0436009 to 6.0438899
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8401750  -- OK for SL --
   MIU time from 2022-01-19T22:17:26.660.573.000 to 2022-01-19T22:17:26.660.862.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.840215

 - 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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.8840649 to 16.8843539
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.9404470  -- OK for SL --
   MIU time from 2022-01-19T22:17:37.501.077.000 to 2022-01-19T22:17:37.501.366.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.940530

 - 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:
      65 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.8248009 to 39.8250899
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8802070  -- OK for SL --
   MIU time from 2022-01-19T22:18:00.441.896.000 to 2022-01-19T22:18:00.442.185.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.880246

 - 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:
      59 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.7052969 to 50.7055859
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-19T22:18:11.322.431.000 to 2022-01-19T22:18:11.322.720.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 = 4, 32bit 10MHz counter = 6.043600900 corrected by 40bit 10MHz counter of 5.383027600 obtained at 1Hz counter of 4. Result: 4.660575744
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-01-19T22:17:26.660.432.725
   Max 1st sample MIU time among all SL packets: 2022-01-19T22:18:11.322.579.725
   Min 1st sample XO time among all SL packets: 4.660435469
   Max 1st sample XO time among all SL packets: 49.322581986
   TM values from -195 to 169 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-19T22:17:26.660.432.725 (XO: 4.660435469 - 4.660741470, t=37.2 degC)  Rank: 00057
   TM values: Max =   132  Min =  -174  Ave =    -4.63  Std =    18.61
   Min TM value:-174 at an offset of 103.100 usec -> 2022-01-19T22:17:26.660.535.825 (XO: 4.660538569)
   Max TM value:132 at an offset of 134.975 usec -> 2022-01-19T22:17:26.660.567.700 (XO: 4.660570444)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 105.425 usec -> 2022-01-19T22:17:26.660.538.150 (XO: 4.660540894)
   Min dTM/dt [1/us]:-1.56e+03 at an offset of 102.900 usec -> 2022-01-19T22:17:26.660.535.625 (XO: 4.660538369)

 - Block number: 2 starting at 2022-01-19T22:17:37.500.936.725 (XO: 15.500938728 - 15.501244729, t=37.2 degC)  Rank: 00058
   TM values: Max =   169  Min =  -195  Ave =    -4.50  Std =    23.00
   Min TM value:-195 at an offset of 199.351 usec -> 2022-01-19T22:17:37.501.136.075 (XO: 15.501138079)
   Max TM value:169 at an offset of 118.825 usec -> 2022-01-19T22:17:37.501.055.550 (XO: 15.501057554)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 201.676 usec -> 2022-01-19T22:17:37.501.138.400 (XO: 15.501140404)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 116.238 usec -> 2022-01-19T22:17:37.501.052.962 (XO: 15.501054966)

 - Block number: 3 starting at 2022-01-19T22:18:00.441.755.725 (XO: 38.441757715 - 38.442063716, t=37.2 degC)  Rank: 00065
   TM values: Max =   140  Min =  -180  Ave =    -4.58  Std =    19.02
   Min TM value:-180 at an offset of 146.163 usec -> 2022-01-19T22:18:00.441.901.888 (XO: 38.441903878)
   Max TM value:140 at an offset of 116.863 usec -> 2022-01-19T22:18:00.441.872.587 (XO: 38.441874578)
   Max dTM/dt [1/us]:1.60e+03 at an offset of 116.688 usec -> 2022-01-19T22:18:00.441.872.412 (XO: 38.441874403)
   Min dTM/dt [1/us]:-1.42e+03 at an offset of 114.188 usec -> 2022-01-19T22:18:00.441.869.912 (XO: 38.441871903)

 - Block number: 4 starting at 2022-01-19T22:18:11.322.290.725 (XO: 49.322292985 - 49.322598986, t=37.2 degC)  Rank: 00059
   TM values: Max =   160  Min =  -186  Ave =    -4.54  Std =    24.09
   Min TM value:-186 at an offset of 101.888 usec -> 2022-01-19T22:18:11.322.392.612 (XO: 49.322394873)
   Max TM value:160 at an offset of 104.300 usec -> 2022-01-19T22:18:11.322.395.025 (XO: 49.322397286)
   Max dTM/dt [1/us]:1.36e+03 at an offset of 104.125 usec -> 2022-01-19T22:18:11.322.394.850 (XO: 49.322397111)
   Min dTM/dt [1/us]:-1.78e+03 at an offset of 174.951 usec -> 2022-01-19T22:18:11.322.465.675 (XO: 49.322467936)
