-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Apr 13 23:47:27 2023 UTC
-- File 20230413_132034_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 2.981234 to 34.753893
-each separately from 2s to 34s and from 192487us to 981523us.
   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, ...
      23.210964 in 1 packets: 18
      8.560828 in 1 packets: 36
MIU packet time from 2023-04-13T13:20:39.981.234.000 to 2023-04-13T13:21:11.753.893.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, ...
      23.210964 in 1 packets: 18
      8.560828 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 3.6814888 to 35.6813747
   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, ...
      23.9999145 in 1 packets: 18
      7.9999714 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20230413_132034_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:
      115 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.6627233 to 4.6630123
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.2108790  -- OK for SL --
   MIU time from 2023-04-13T13:20:39.981.234.000 to 2023-04-13T13:20:39.981.523.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.210964

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.8738913 to 27.8741803
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.5607990  -- OK for SL --
   MIU time from 2023-04-13T13:21:03.192.487.000 to 2023-04-13T13:21:03.192.776.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.560828

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.4349793 to 36.4352683
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-04-13T13:21:11.753.604.000 to 2023-04-13T13:21:11.753.893.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 = 2, 32bit 10MHz counter = 4.662723300 corrected by 40bit 10MHz counter of 3.681488800 obtained at 1Hz counter of 2. Result: 2.981238032
--
   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: 2023-04-13T13:20:39.981.093.725
   Max 1st sample MIU time among all SL packets: 2023-04-13T13:21:11.753.752.725
   Min 1st sample XO time among all SL packets: 2.981097757
   Max 1st sample XO time among all SL packets: 34.753755963
   TM values from -286 to 925 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-04-13T13:20:39.981.093.725 (XO: 2.981097757 - 2.981403758, t=35.6 degC)  Rank: 00115
   TM values: Max =   925  Min =  -286  Ave =    -4.56  Std =    35.88
   Min TM value:-286 at an offset of 102.675 usec -> 2023-04-13T13:20:39.981.196.400 (XO: 2.981200432)
   Max TM value:925 at an offset of 102.338 usec -> 2023-04-13T13:20:39.981.196.062 (XO: 2.981200095)
   Max dTM/dt [1/us]:5.76e+03 at an offset of 102.275 usec -> 2023-04-13T13:20:39.981.196.000 (XO: 2.981200032)
   Min dTM/dt [1/us]:-5.85e+03 at an offset of 102.400 usec -> 2023-04-13T13:20:39.981.196.125 (XO: 2.981200157)

 - Block number: 2 starting at 2023-04-13T13:21:03.192.346.725 (XO: 26.192348417 - 26.192654419, t=35.6 degC)  Rank: 00070
   TM values: Max =   166  Min =  -232  Ave =    -4.57  Std =    19.01
   Min TM value:-232 at an offset of 117.438 usec -> 2023-04-13T13:21:03.192.464.162 (XO: 26.192465855)
   Max TM value:166 at an offset of 117.150 usec -> 2023-04-13T13:21:03.192.463.875 (XO: 26.192465568)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 119.938 usec -> 2023-04-13T13:21:03.192.466.662 (XO: 26.192468355)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 117.263 usec -> 2023-04-13T13:21:03.192.463.987 (XO: 26.192465680)

 - Block number: 3 starting at 2023-04-13T13:21:11.753.463.725 (XO: 34.753466962 - 34.753772963, t=35.6 degC)  Rank: 00071
   TM values: Max =   197  Min =  -229  Ave =    -4.41  Std =    21.01
   Min TM value:-229 at an offset of 91.913 usec -> 2023-04-13T13:21:11.753.555.637 (XO: 34.753558875)
   Max TM value:197 at an offset of 79.688 usec -> 2023-04-13T13:21:11.753.543.412 (XO: 34.753546650)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 94.488 usec -> 2023-04-13T13:21:11.753.558.212 (XO: 34.753561450)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 79.788 usec -> 2023-04-13T13:21:11.753.543.512 (XO: 34.753546750)
