-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 19:54:12 2023 UTC
-- File 20220624_164525_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.881257 to 30.891943
-each separately from 9s to 30s and from 881257us to 951896us.
   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, ...
      17.070061 in 1 packets: 18
      3.939758 in 1 packets: 36
MIU packet time from 2022-06-24T16:45:37.881.257.000 to 2022-06-24T16:45:58.891.943.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, ...
      17.070061 in 1 packets: 18
      3.939758 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 11.1143331 to 32.1142565
   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, ...
      16.9999380 in 1 packets: 18
      3.9999854 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C1 -> 37.2 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 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 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20220624_164525_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.9955909 to 11.9958799
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.0699990  -- OK for SL --
   MIU time from 2022-06-24T16:45:37.881.257.000 to 2022-06-24T16:45:37.881.546.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.070061

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.0658789 to 29.0661679
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.9397430  -- OK for SL --
   MIU time from 2022-06-24T16:45:54.951.607.000 to 2022-06-24T16:45:54.951.896.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.939758

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.0059109 to 33.0061999
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-24T16:45:58.891.654.000 to 2022-06-24T16:45:58.891.943.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 = 11.995590900 corrected by 40bit 10MHz counter of 11.114333100 obtained at 1Hz counter of 9. Result: 9.881261061
--
   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-06-24T16:45:37.881.116.725
   Max 1st sample MIU time among all SL packets: 2022-06-24T16:45:58.891.802.725
   Min 1st sample XO time among all SL packets: 9.881120785
   Max 1st sample XO time among all SL packets: 30.891806336
   TM values from -266 to 229 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-24T16:45:37.881.116.725 (XO: 9.881120785 - 9.881426786, t=37.2 degC)  Rank: 00077
   TM values: Max =   189  Min =  -226  Ave =    -4.43  Std =    24.64
   Min TM value:-226 at an offset of 90.475 usec -> 2022-06-24T16:45:37.881.207.200 (XO: 9.881211260)
   Max TM value:189 at an offset of 93.088 usec -> 2022-06-24T16:45:37.881.209.812 (XO: 9.881213873)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 90.600 usec -> 2022-06-24T16:45:37.881.207.325 (XO: 9.881211385)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 75.513 usec -> 2022-06-24T16:45:37.881.192.237 (XO: 9.881196298)

 - Block number: 2 starting at 2022-06-24T16:45:54.951.466.725 (XO: 26.951470950 - 26.951776951, t=37.2 degC)  Rank: 00082
   TM values: Max =   160  Min =  -266  Ave =    -4.47  Std =    20.11
   Min TM value:-266 at an offset of 115.063 usec -> 2022-06-24T16:45:54.951.581.787 (XO: 26.951586013)
   Max TM value:160 at an offset of 115.363 usec -> 2022-06-24T16:45:54.951.582.087 (XO: 26.951586313)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 115.150 usec -> 2022-06-24T16:45:54.951.581.875 (XO: 26.951586101)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 112.613 usec -> 2022-06-24T16:45:54.951.579.337 (XO: 26.951583563)

 - Block number: 3 starting at 2022-06-24T16:45:58.891.513.725 (XO: 30.891517334 - 30.891823336, t=37.2 degC)  Rank: 00083
   TM values: Max =   229  Min =  -258  Ave =    -4.54  Std =    26.17
   Min TM value:-258 at an offset of 113.650 usec -> 2022-06-24T16:45:58.891.627.375 (XO: 30.891630985)
   Max TM value:229 at an offset of 154.876 usec -> 2022-06-24T16:45:58.891.668.600 (XO: 30.891672210)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 157.476 usec -> 2022-06-24T16:45:58.891.671.200 (XO: 30.891674810)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 154.976 usec -> 2022-06-24T16:45:58.891.668.700 (XO: 30.891672310)
