-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 04:34:26 2023 UTC
-- File 20220706_210037_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 9.728951 to 45.642154
-each separately from 9s to 45s and from 204650us to 729240us.
   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, ...
      19.995864 in 1 packets: 18
      2.479257 in 1 packets: 36
      13.436926 in 1 packets: 54
MIU packet time from 2022-07-06T21:00:49.728.951.000 to 2022-07-06T21:01:25.642.154.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, ...
      19.995864 in 1 packets: 18
      2.479257 in 1 packets: 36
      13.436926 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 11.1161732 to 47.1160430
   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, ...
      19.9999277 in 1 packets: 18
      2.9999891 in 1 packets: 36
      12.9999530 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      03 -> 51.1 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      04 -> 49.8 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C2 -> 38.8 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20220706_210037_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.8451253 to 11.8454143
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.9957910  -- OK for SL --
   MIU time from 2022-07-06T21:00:49.728.951.000 to 2022-07-06T21:00:49.729.240.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.995864

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.8412053 to 31.8414943
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.4792470  -- OK for SL --
   MIU time from 2022-07-06T21:01:09.725.104.000 to 2022-07-06T21:01:09.725.393.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.479257

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.3207413 to 34.3210303
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.4368790  -- OK for SL --
   MIU time from 2022-07-06T21:01:12.204.650.000 to 2022-07-06T21:01:12.204.939.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.436926

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.7579093 to 47.7581983
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-06T21:01:25.641.865.000 to 2022-07-06T21:01:25.642.154.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 = 9, 32bit 10MHz counter = 11.845125300 corrected by 40bit 10MHz counter of 11.116173200 obtained at 1Hz counter of 9. Result: 9.728954724
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-07-06T21:00:49.728.810.725
   Max 1st sample MIU time among all SL packets: 2022-07-06T21:01:25.642.013.725
   Min 1st sample XO time among all SL packets: 9.728814449
   Max 1st sample XO time among all SL packets: 45.642017336
   TM values from -364 to 302 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-06T21:00:49.728.810.725 (XO: 9.728814449 - 9.729120450, t=38.8 degC)  Rank: 00076
   TM values: Max =   285  Min =  -364  Ave =    -4.39  Std =    44.25
   Min TM value:-364 at an offset of 113.650 usec -> 2022-07-06T21:00:49.728.924.375 (XO: 9.728928099)
   Max TM value:285 at an offset of 111.200 usec -> 2022-07-06T21:00:49.728.921.925 (XO: 9.728925649)
   Max dTM/dt [1/us]:2.59e+03 at an offset of 113.775 usec -> 2022-07-06T21:00:49.728.924.500 (XO: 9.728928224)
   Min dTM/dt [1/us]:-2.63e+03 at an offset of 111.325 usec -> 2022-07-06T21:00:49.728.922.050 (XO: 9.728925774)

 - Block number: 2 starting at 2022-07-06T21:01:09.724.963.725 (XO: 29.724966735 - 29.725272736, t=38.8 degC)  Rank: 00084
   TM values: Max =   302  Min =  -328  Ave =    -4.49  Std =    43.19
   Min TM value:-328 at an offset of 125.238 usec -> 2022-07-06T21:01:09.725.088.962 (XO: 29.725091973)
   Max TM value:302 at an offset of 124.988 usec -> 2022-07-06T21:01:09.725.088.712 (XO: 29.725091723)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 123.025 usec -> 2022-07-06T21:01:09.725.086.750 (XO: 29.725089760)
   Min dTM/dt [1/us]:-2.93e+03 at an offset of 125.113 usec -> 2022-07-06T21:01:09.725.088.837 (XO: 29.725091848)

 - Block number: 3 starting at 2022-07-06T21:01:12.204.509.725 (XO: 32.204511761 - 32.204817762, t=38.8 degC)  Rank: 00081
   TM values: Max =   238  Min =  -318  Ave =    -4.49  Std =    41.69
   Min TM value:-318 at an offset of 124.163 usec -> 2022-07-06T21:01:12.204.633.887 (XO: 32.204635924)
   Max TM value:238 at an offset of 121.688 usec -> 2022-07-06T21:01:12.204.631.412 (XO: 32.204633449)
   Max dTM/dt [1/us]:3.05e+03 at an offset of 124.288 usec -> 2022-07-06T21:01:12.204.634.012 (XO: 32.204636049)
   Min dTM/dt [1/us]:-3.02e+03 at an offset of 121.800 usec -> 2022-07-06T21:01:12.204.631.525 (XO: 32.204633562)

 - Block number: 4 starting at 2022-07-06T21:01:25.641.724.725 (XO: 45.641728335 - 45.642034336, t=38.8 degC)  Rank: 00076
   TM values: Max =   274  Min =  -340  Ave =    -4.50  Std =    50.68
   Min TM value:-340 at an offset of 116.213 usec -> 2022-07-06T21:01:25.641.840.937 (XO: 45.641844548)
   Max TM value:274 at an offset of 116.475 usec -> 2022-07-06T21:01:25.641.841.200 (XO: 45.641844811)
   Max dTM/dt [1/us]:3.25e+03 at an offset of 116.350 usec -> 2022-07-06T21:01:25.641.841.075 (XO: 45.641844686)
   Min dTM/dt [1/us]:-3.11e+03 at an offset of 113.850 usec -> 2022-07-06T21:01:25.641.838.575 (XO: 45.641842186)
