-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 21:31:39 2023 UTC
-- File 20220117_183236_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.414042 to 52.935109
-each separately from 4s to 52s and from 114329us to 974450us.
   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, ...
      11.559830 in 1 packets: 18
      15.139879 in 1 packets: 36
      21.820202 in 1 packets: 54
MIU packet time from 2022-01-17T18:32:43.414.042.000 to 2022-01-17T18:33:31.935.109.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, ...
      11.559830 in 1 packets: 18
      15.139879 in 1 packets: 36
      21.820202 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.5913802 to 53.5912112
   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.9999613 in 1 packets: 18
      15.9999436 in 1 packets: 36
      20.9999261 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20220117_183236_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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.0054232 to 6.0057122
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.5597910  -- OK for SL --
   MIU time from 2022-01-17T18:32:43.414.042.000 to 2022-01-17T18:32:43.414.331.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.559830

 - 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:
      49 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.5655032 to 17.5657922
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.1398230  -- OK for SL --
   MIU time from 2022-01-17T18:32:54.974.161.000 to 2022-01-17T18:32:54.974.450.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.139879

 - 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:
      57 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.7056152 to 32.7059042
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.8201270  -- OK for SL --
   MIU time from 2022-01-17T18:33:10.114.329.000 to 2022-01-17T18:33:10.114.618.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.820202

 - 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:
      51 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.5260312 to 54.5263202
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-17T18:33:31.934.820.000 to 2022-01-17T18:33:31.935.109.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.005423200 corrected by 40bit 10MHz counter of 5.591380200 obtained at 1Hz counter of 4. Result: 4.414044449
--
   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: 2022-01-17T18:32:43.413.901.725
   Max 1st sample MIU time among all SL packets: 2022-01-17T18:33:31.934.968.725
   Min 1st sample XO time among all SL packets: 4.413904174
   Max 1st sample XO time among all SL packets: 52.934971997
   TM values from -190 to 144 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-17T18:32:43.413.901.725 (XO: 4.413904174 - 4.414210175, t=37.2 degC)  Rank: 00056
   TM values: Max =   144  Min =  -190  Ave =    -4.53  Std =    17.70
   Min TM value:-190 at an offset of 120.100 usec -> 2022-01-17T18:32:43.414.021.825 (XO: 4.414024274)
   Max TM value:144 at an offset of 77.838 usec -> 2022-01-17T18:32:43.413.979.562 (XO: 4.413982011)
   Max dTM/dt [1/us]:1.38e+03 at an offset of 122.350 usec -> 2022-01-17T18:32:43.414.024.075 (XO: 4.414026524)
   Min dTM/dt [1/us]:-1.43e+03 at an offset of 77.913 usec -> 2022-01-17T18:32:43.413.979.637 (XO: 4.413982086)

 - Block number: 2 starting at 2022-01-17T18:32:54.974.020.725 (XO: 15.974024931 - 15.974330933, t=37.2 degC)  Rank: 00049
   TM values: Max =   114  Min =  -167  Ave =    -4.57  Std =    21.62
   Min TM value:-167 at an offset of 119.913 usec -> 2022-01-17T18:32:54.974.140.637 (XO: 15.974144844)
   Max TM value:114 at an offset of 136.663 usec -> 2022-01-17T18:32:54.974.157.387 (XO: 15.974161594)
   Max dTM/dt [1/us]:1.19e+03 at an offset of 151.588 usec -> 2022-01-17T18:32:54.974.172.313 (XO: 15.974176520)
   Min dTM/dt [1/us]:-1.35e+03 at an offset of 149.113 usec -> 2022-01-17T18:32:54.974.169.838 (XO: 15.974174045)

 - Block number: 3 starting at 2022-01-17T18:33:10.114.188.725 (XO: 31.114190225 - 31.114496226, t=37.2 degC)  Rank: 00057
   TM values: Max =   125  Min =  -174  Ave =    -4.55  Std =    15.32
   Min TM value:-174 at an offset of 119.363 usec -> 2022-01-17T18:33:10.114.308.087 (XO: 31.114309588)
   Max TM value:125 at an offset of 121.750 usec -> 2022-01-17T18:33:10.114.310.475 (XO: 31.114311975)
   Max dTM/dt [1/us]:1.37e+03 at an offset of 121.588 usec -> 2022-01-17T18:33:10.114.310.312 (XO: 31.114311813)
   Min dTM/dt [1/us]:-1.35e+03 at an offset of 119.125 usec -> 2022-01-17T18:33:10.114.307.850 (XO: 31.114309350)

 - Block number: 4 starting at 2022-01-17T18:33:31.934.679.725 (XO: 52.934682996 - 52.934988997, t=37.2 degC)  Rank: 00051
   TM values: Max =   131  Min =  -151  Ave =    -4.46  Std =    14.84
   Min TM value:-151 at an offset of 122.775 usec -> 2022-01-17T18:33:31.934.802.500 (XO: 52.934805772)
   Max TM value:131 at an offset of 120.763 usec -> 2022-01-17T18:33:31.934.800.487 (XO: 52.934803759)
   Max dTM/dt [1/us]:1.38e+03 at an offset of 125.013 usec -> 2022-01-17T18:33:31.934.804.737 (XO: 52.934808009)
   Min dTM/dt [1/us]:-1.11e+03 at an offset of 122.575 usec -> 2022-01-17T18:33:31.934.802.300 (XO: 52.934805572)
