-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jun  3 23:42:01 2023 UTC
-- File 20230603_094333_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 9.000362 to 38.202177
-each separately from 9s to 38s and from 362us to 605962us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      9.605022 in 1 packets: 18
      19.595926 in 1 packets: 36
MIU packet time from 2023-06-03T09:43:45.000.362.000 to 2023-06-03T09:44:14.202.177.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      9.605022 in 1 packets: 18
      19.595926 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 10.9045772 to 39.9044752
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      8.9999684 in 1 packets: 18
      19.9999296 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      01 -> 53.7 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C3 -> 40.4 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 35 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20230603_094333_1227.dat, 3 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 10.9049400 to 10.9052290
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.6049910  -- OK for SL --
   MIU time from 2023-06-03T09:43:45.000.362.000 to 2023-06-03T09:43:45.000.651.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.605022

 - 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:
      97 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.5102200 to 20.5105090
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.5958550  -- OK for SL --
   MIU time from 2023-06-03T09:43:54.605.673.000 to 2023-06-03T09:43:54.605.962.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.595926

 - 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 40.1063640 to 40.1066530
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-03T09:44:14.201.888.000 to 2023-06-03T09:44:14.202.177.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 9, 32bit 10MHz counter = 10.904940000 corrected by 40bit 10MHz counter of 10.904577200 obtained at 1Hz counter of 9. Result: 9.000362801
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2023-06-03T09:43:45.000.221.725
   Max 1st sample MIU time among all SL packets: 2023-06-03T09:44:14.202.036.725
   Min 1st sample XO time among all SL packets: 9.000222526
   Max 1st sample XO time among all SL packets: 38.202038232
   TM values from -280 to 341 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-03T09:43:45.000.221.725 (XO: 9.000222526 - 9.000528527, t=40.4 degC)  Rank: 00082
   TM values: Max =   185  Min =  -222  Ave =    -4.55  Std =    17.11
   Min TM value:-222 at an offset of 107.325 usec -> 2023-06-03T09:43:45.000.329.050 (XO: 9.000329851)
   Max TM value:185 at an offset of 112.325 usec -> 2023-06-03T09:43:45.000.334.050 (XO: 9.000334851)
   Max dTM/dt [1/us]:1.50e+03 at an offset of 109.875 usec -> 2023-06-03T09:43:45.000.331.600 (XO: 9.000332401)
   Min dTM/dt [1/us]:-1.55e+03 at an offset of 94.638 usec -> 2023-06-03T09:43:45.000.316.362 (XO: 9.000317164)

 - Block number: 2 starting at 2023-06-03T09:43:54.605.532.725 (XO: 18.605536244 - 18.605842245, t=40.4 degC)  Rank: 00097
   TM values: Max =   341  Min =  -280  Ave =    -4.54  Std =    30.32
   Min TM value:-280 at an offset of 107.088 usec -> 2023-06-03T09:43:54.605.639.812 (XO: 18.605643332)
   Max TM value:341 at an offset of 106.738 usec -> 2023-06-03T09:43:54.605.639.462 (XO: 18.605642982)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 111.338 usec -> 2023-06-03T09:43:54.605.644.062 (XO: 18.605647582)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 106.950 usec -> 2023-06-03T09:43:54.605.639.675 (XO: 18.605643195)

 - Block number: 3 starting at 2023-06-03T09:44:14.201.747.725 (XO: 38.201749231 - 38.202055232, t=40.4 degC)  Rank: 00077
   TM values: Max =   193  Min =  -235  Ave =    -4.46  Std =    16.68
   Min TM value:-235 at an offset of 119.138 usec -> 2023-06-03T09:44:14.201.866.862 (XO: 38.201868369)
   Max TM value:193 at an offset of 118.850 usec -> 2023-06-03T09:44:14.201.866.575 (XO: 38.201868082)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 121.488 usec -> 2023-06-03T09:44:14.201.869.212 (XO: 38.201870719)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 118.950 usec -> 2023-06-03T09:44:14.201.866.675 (XO: 38.201868182)
