-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 11:31:14 2023 UTC
-- File 20220127_193140_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.816187 to 50.455910
-each separately from 4s to 50s and from 15851us to 816476us.
   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, ...
      25.199375 in 1 packets: 18
      1.539651 in 1 packets: 36
      18.899541 in 1 packets: 54
MIU packet time from 2022-01-27T19:31:47.816.187.000 to 2022-01-27T19:32:33.455.910.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, ...
      25.199375 in 1 packets: 18
      1.539651 in 1 packets: 36
      18.899541 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.5781592 to 51.5779895
   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, ...
      25.9999040 in 1 packets: 18
      0.9999964 in 1 packets: 36
      18.9999299 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 20220127_193140_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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.3943471 to 6.3946361
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.1992790  -- OK for SL --
   MIU time from 2022-01-27T19:31:47.816.187.000 to 2022-01-27T19:31:47.816.476.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.199375

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.5939151 to 31.5942041
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.5396470  -- OK for SL --
   MIU time from 2022-01-27T19:32:13.015.851.000 to 2022-01-27T19:32:13.016.140.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.539651

 - 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 33.1338511 to 33.1341401
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.8994710  -- OK for SL --
   MIU time from 2022-01-27T19:32:14.555.791.000 to 2022-01-27T19:32:14.556.080.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.899541

 - 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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.0336111 to 52.0339001
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-27T19:32:33.455.621.000 to 2022-01-27T19:32:33.455.910.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 70 XO calibration points at 1Hz counter from 0 to 69
   --- First point: 1Hz counter = 4, 32bit 10MHz counter = 6.394347100 corrected by 40bit 10MHz counter of 5.578159200 obtained at 1Hz counter of 4. Result: 4.816190838
--
   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-27T19:31:47.816.046.725
   Max 1st sample MIU time among all SL packets: 2022-01-27T19:32:33.455.769.725
   Min 1st sample XO time among all SL packets: 4.816050563
   Max 1st sample XO time among all SL packets: 50.455772011
   TM values from -235 to 232 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-27T19:31:47.816.046.725 (XO: 4.816050563 - 4.816356564, t=37.2 degC)  Rank: 00073
   TM values: Max =   232  Min =  -232  Ave =    -4.56  Std =    24.25
   Min TM value:-232 at an offset of 130.875 usec -> 2022-01-27T19:31:47.816.177.600 (XO: 4.816181438)
   Max TM value:232 at an offset of 130.600 usec -> 2022-01-27T19:31:47.816.177.325 (XO: 4.816181163)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 130.513 usec -> 2022-01-27T19:31:47.816.177.237 (XO: 4.816181076)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 130.675 usec -> 2022-01-27T19:31:47.816.177.400 (XO: 4.816181238)

 - Block number: 2 starting at 2022-01-27T19:32:13.015.710.725 (XO: 30.015711682 - 30.016017683, t=37.2 degC)  Rank: 00071
   TM values: Max =   198  Min =  -235  Ave =    -4.54  Std =    21.11
   Min TM value:-235 at an offset of 117.488 usec -> 2022-01-27T19:32:13.015.828.212 (XO: 30.015829169)
   Max TM value:198 at an offset of 115.063 usec -> 2022-01-27T19:32:13.015.825.787 (XO: 30.015826744)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 117.625 usec -> 2022-01-27T19:32:13.015.828.350 (XO: 30.015829307)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 115.188 usec -> 2022-01-27T19:32:13.015.825.912 (XO: 30.015826869)

 - Block number: 3 starting at 2022-01-27T19:32:14.555.650.725 (XO: 31.555653281 - 31.555959282, t=37.2 degC)  Rank: 00066
   TM values: Max =   168  Min =  -222  Ave =    -4.50  Std =    21.39
   Min TM value:-222 at an offset of 127.875 usec -> 2022-01-27T19:32:14.555.778.600 (XO: 31.555781156)
   Max TM value:168 at an offset of 127.600 usec -> 2022-01-27T19:32:14.555.778.325 (XO: 31.555780881)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 130.200 usec -> 2022-01-27T19:32:14.555.780.925 (XO: 31.555783481)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 129.988 usec -> 2022-01-27T19:32:14.555.780.712 (XO: 31.555783269)

 - Block number: 4 starting at 2022-01-27T19:32:33.455.480.725 (XO: 50.455483010 - 50.455789011, t=37.2 degC)  Rank: 00068
   TM values: Max =   162  Min =  -209  Ave =    -4.56  Std =    23.74
   Min TM value:-209 at an offset of 117.788 usec -> 2022-01-27T19:32:33.455.598.512 (XO: 50.455600798)
   Max TM value:162 at an offset of 159.976 usec -> 2022-01-27T19:32:33.455.640.700 (XO: 50.455642986)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 117.875 usec -> 2022-01-27T19:32:33.455.598.600 (XO: 50.455600886)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 115.375 usec -> 2022-01-27T19:32:33.455.596.100 (XO: 50.455598386)
