-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 13:36:59 2023 UTC
-- File 20220704_190444_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 0.250891 to 57.052474
-each separately from 0s to 57s and from 52185us to 872141us.
   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.960365 in 1 packets: 18
      14.660018 in 1 packets: 36
      16.180044 in 1 packets: 54
MIU packet time from 2022-07-04T19:04:47.250.891.000 to 2022-07-04T19:05:44.052.474.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.960365 in 1 packets: 18
      14.660018 in 1 packets: 36
      16.180044 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 2.1434472 to 59.1432411
   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.9999060 in 1 packets: 18
      13.9999493 in 1 packets: 36
      16.9999386 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 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 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 1 packets: 19
      3 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 1 packets: 19
      3 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220704_190444_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.3943392 to 2.3946282
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.9602710  -- OK for SL --
   MIU time from 2022-07-04T19:04:47.250.891.000 to 2022-07-04T19:04:47.251.180.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.960365

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.3548992 to 28.3551882
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.6599670  -- OK for SL --
   MIU time from 2022-07-04T19:05:13.211.545.000 to 2022-07-04T19:05:13.211.834.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.660018

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.0151552 to 43.0154442
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1799830  -- OK for SL --
   MIU time from 2022-07-04T19:05:27.871.852.000 to 2022-07-04T19:05:27.872.141.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.180044

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.1954272 to 59.1957162
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-04T19:05:44.052.185.000 to 2022-07-04T19:05:44.052.474.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 = 0, 32bit 10MHz counter = 2.394339200 corrected by 40bit 10MHz counter of 2.143447200 obtained at 1Hz counter of 0. Result: 0.250892928
--
   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-07-04T19:04:47.250.750.725
   Max 1st sample MIU time among all SL packets: 2022-07-04T19:05:44.052.333.725
   Min 1st sample XO time among all SL packets: 0.250752653
   Max 1st sample XO time among all SL packets: 57.052335019
   TM values from -346 to 254 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-04T19:04:47.250.750.725 (XO: 0.250752653 - 0.251058654, t=38.8 degC)  Rank: 00081
   TM values: Max =   254  Min =  -318  Ave =    -4.42  Std =    36.53
   Min TM value:-318 at an offset of 199.876 usec -> 2022-07-04T19:04:47.250.950.600 (XO: 0.250952529)
   Max TM value:254 at an offset of 199.588 usec -> 2022-07-04T19:04:47.250.950.313 (XO: 0.250952241)
   Max dTM/dt [1/us]:2.29e+03 at an offset of 130.713 usec -> 2022-07-04T19:04:47.250.881.437 (XO: 0.250883366)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 199.701 usec -> 2022-07-04T19:04:47.250.950.425 (XO: 0.250952354)

 - Block number: 2 starting at 2022-07-04T19:05:13.211.404.725 (XO: 26.211406486 - 26.211712487, t=38.8 degC)  Rank: 00083
   TM values: Max =   216  Min =  -327  Ave =    -4.38  Std =    27.55
   Min TM value:-327 at an offset of 119.800 usec -> 2022-07-04T19:05:13.211.524.525 (XO: 26.211526286)
   Max TM value:216 at an offset of 117.338 usec -> 2022-07-04T19:05:13.211.522.062 (XO: 26.211523824)
   Max dTM/dt [1/us]:2.81e+03 at an offset of 119.913 usec -> 2022-07-04T19:05:13.211.524.637 (XO: 26.211526399)
   Min dTM/dt [1/us]:-3.08e+03 at an offset of 117.450 usec -> 2022-07-04T19:05:13.211.522.175 (XO: 26.211523936)

 - Block number: 3 starting at 2022-07-04T19:05:27.871.711.725 (XO: 40.871715563 - 40.872021564, t=38.8 degC)  Rank: 00072
   TM values: Max =   247  Min =  -346  Ave =    -4.38  Std =    39.93
   Min TM value:-346 at an offset of 127.888 usec -> 2022-07-04T19:05:27.871.839.612 (XO: 40.871843451)
   Max TM value:247 at an offset of 130.325 usec -> 2022-07-04T19:05:27.871.842.050 (XO: 40.871845889)
   Max dTM/dt [1/us]:2.79e+03 at an offset of 130.213 usec -> 2022-07-04T19:05:27.871.841.937 (XO: 40.871845776)
   Min dTM/dt [1/us]:-2.62e+03 at an offset of 130.013 usec -> 2022-07-04T19:05:27.871.841.737 (XO: 40.871845576)

 - Block number: 4 starting at 2022-07-04T19:05:44.052.044.725 (XO: 57.052046018 - 57.052352019, t=38.8 degC)  Rank: 00078
   TM values: Max =   238  Min =  -342  Ave =    -4.38  Std =    29.93
   Min TM value:-342 at an offset of 119.738 usec -> 2022-07-04T19:05:44.052.164.462 (XO: 57.052165756)
   Max TM value:238 at an offset of 117.288 usec -> 2022-07-04T19:05:44.052.162.012 (XO: 57.052163306)
   Max dTM/dt [1/us]:2.90e+03 at an offset of 119.838 usec -> 2022-07-04T19:05:44.052.164.562 (XO: 57.052165856)
   Min dTM/dt [1/us]:-2.69e+03 at an offset of 117.413 usec -> 2022-07-04T19:05:44.052.162.137 (XO: 57.052163431)
