-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 03:38:22 2023 UTC
-- File 20220522_041731_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 7.485140 to 48.420503
-each separately from 7s to 48s and from 384241us to 822149us.
   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, ...
      7.898812 in 1 packets: 18
      19.437330 in 1 packets: 36
      13.598065 in 1 packets: 54
MIU packet time from 2022-05-22T04:17:41.485.140.000 to 2022-05-22T04:18:22.420.503.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, ...
      7.898812 in 1 packets: 18
      19.437330 in 1 packets: 36
      13.598065 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 8.7652123 to 49.7650661
   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, ...
      7.9999715 in 1 packets: 18
      18.9999322 in 1 packets: 36
      13.9999501 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      01 -> 53.7 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C3 -> 40.4 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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20220522_041731_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.2503535 to 9.2506425
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.8987830  -- OK for SL --
   MIU time from 2022-05-22T04:17:41.485.140.000 to 2022-05-22T04:17:41.485.429.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.898812

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.1494255 to 17.1497145
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.4372630  -- OK for SL --
   MIU time from 2022-05-22T04:17:49.384.241.000 to 2022-05-22T04:17:49.384.530.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.437330

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.5869775 to 36.5872665
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.5980150  -- OK for SL --
   MIU time from 2022-05-22T04:18:08.821.860.000 to 2022-05-22T04:18:08.822.149.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.598065

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.1852815 to 50.1855705
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-22T04:18:22.420.214.000 to 2022-05-22T04:18:22.420.503.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 = 7, 32bit 10MHz counter = 9.250353500 corrected by 40bit 10MHz counter of 8.765212300 obtained at 1Hz counter of 7. Result: 7.485142947
--
   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-05-22T04:17:41.484.999.725
   Max 1st sample MIU time among all SL packets: 2022-05-22T04:18:22.420.362.725
   Min 1st sample XO time among all SL packets: 7.485002671
   Max 1st sample XO time among all SL packets: 48.420365638
   TM values from -259 to 236 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-22T04:17:41.484.999.725 (XO: 7.485002671 - 7.485308672, t=40.4 degC)  Rank: 00082
   TM values: Max =   236  Min =  -248  Ave =    -4.48  Std =    20.03
   Min TM value:-248 at an offset of 126.763 usec -> 2022-05-22T04:17:41.485.126.487 (XO: 7.485129434)
   Max TM value:236 at an offset of 124.363 usec -> 2022-05-22T04:17:41.485.124.087 (XO: 7.485127034)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 126.875 usec -> 2022-05-22T04:17:41.485.126.600 (XO: 7.485129546)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 124.438 usec -> 2022-05-22T04:17:41.485.124.162 (XO: 7.485127109)

 - Block number: 2 starting at 2022-05-22T04:17:49.384.100.725 (XO: 15.384102808 - 15.384408809, t=40.4 degC)  Rank: 00080
   TM values: Max =   194  Min =  -212  Ave =    -4.46  Std =    18.59
   Min TM value:-212 at an offset of 108.738 usec -> 2022-05-22T04:17:49.384.209.462 (XO: 15.384211546)
   Max TM value:194 at an offset of 108.438 usec -> 2022-05-22T04:17:49.384.209.162 (XO: 15.384211246)
   Max dTM/dt [1/us]:1.35e+03 at an offset of 125.438 usec -> 2022-05-22T04:17:49.384.226.162 (XO: 15.384228246)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 125.675 usec -> 2022-05-22T04:17:49.384.226.400 (XO: 15.384228483)

 - Block number: 3 starting at 2022-05-22T04:18:08.821.719.725 (XO: 34.821724183 - 34.822030184, t=40.4 degC)  Rank: 00077
   TM values: Max =   213  Min =  -259  Ave =    -4.54  Std =    18.47
   Min TM value:-259 at an offset of 111.550 usec -> 2022-05-22T04:18:08.821.831.275 (XO: 34.821835734)
   Max TM value:213 at an offset of 109.125 usec -> 2022-05-22T04:18:08.821.828.850 (XO: 34.821833309)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 111.650 usec -> 2022-05-22T04:18:08.821.831.375 (XO: 34.821835834)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 111.463 usec -> 2022-05-22T04:18:08.821.831.187 (XO: 34.821835646)

 - Block number: 4 starting at 2022-05-22T04:18:22.420.073.725 (XO: 48.420076637 - 48.420382638, t=40.4 degC)  Rank: 00083
   TM values: Max =   222  Min =  -253  Ave =    -4.54  Std =    22.53
   Min TM value:-253 at an offset of 123.625 usec -> 2022-05-22T04:18:22.420.197.350 (XO: 48.420200263)
   Max TM value:222 at an offset of 121.188 usec -> 2022-05-22T04:18:22.420.194.912 (XO: 48.420197825)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 123.725 usec -> 2022-05-22T04:18:22.420.197.450 (XO: 48.420200363)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 123.538 usec -> 2022-05-22T04:18:22.420.197.262 (XO: 48.420200175)
