-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 07:55:16 2023 UTC
-- File 20220128_174550_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 7.665044 to 37.605970
-each separately from 7s to 37s and from 485256us to 665333us.
   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.819923 in 1 packets: 18
      20.120136 in 1 packets: 36
MIU packet time from 2022-01-28T17:46:00.665.044.000 to 2022-01-28T17:46:30.605.970.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.819923 in 1 packets: 18
      20.120136 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 8.5326285 to 38.5325192
   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, ...
      9.9999636 in 1 packets: 18
      19.9999271 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 36 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 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
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 20220128_174550_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:
      55 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.1976726 to 9.1979616
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.8198870  -- OK for SL --
   MIU time from 2022-01-28T17:46:00.665.044.000 to 2022-01-28T17:46:00.665.333.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.819923

 - 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:
      47 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.0178486 to 19.0181376
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.1200630  -- OK for SL --
   MIU time from 2022-01-28T17:46:10.485.256.000 to 2022-01-28T17:46:10.485.545.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.120136

 - 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:
      52 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.1382006 to 39.1384896
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-28T17:46:30.605.681.000 to 2022-01-28T17:46:30.605.970.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 = 7, 32bit 10MHz counter = 9.197672600 corrected by 40bit 10MHz counter of 8.532628500 obtained at 1Hz counter of 7. Result: 7.665046494
--
   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-01-28T17:46:00.664.903.725
   Max 1st sample MIU time among all SL packets: 2022-01-28T17:46:30.605.829.725
   Min 1st sample XO time among all SL packets: 7.664906219
   Max 1st sample XO time among all SL packets: 37.605832306
   TM values from -229 to 167 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-28T17:46:00.664.903.725 (XO: 7.664906219 - 7.665212220, t=37.2 degC)  Rank: 00055
   TM values: Max =   161  Min =  -182  Ave =    -4.62  Std =    20.51
   Min TM value:-182 at an offset of 124.475 usec -> 2022-01-28T17:46:00.665.028.200 (XO: 7.665030694)
   Max TM value:161 at an offset of 124.225 usec -> 2022-01-28T17:46:00.665.027.950 (XO: 7.665030444)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 124.100 usec -> 2022-01-28T17:46:00.665.027.825 (XO: 7.665030319)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 124.288 usec -> 2022-01-28T17:46:00.665.028.012 (XO: 7.665030507)

 - Block number: 2 starting at 2022-01-28T17:46:10.485.115.725 (XO: 17.485117971 - 17.485423973, t=37.2 degC)  Rank: 00047
   TM values: Max =   151  Min =  -212  Ave =    -4.66  Std =    29.10
   Min TM value:-212 at an offset of 110.513 usec -> 2022-01-28T17:46:10.485.226.237 (XO: 17.485228484)
   Max TM value:151 at an offset of 115.388 usec -> 2022-01-28T17:46:10.485.231.112 (XO: 17.485233359)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 69.713 usec -> 2022-01-28T17:46:10.485.185.437 (XO: 17.485187684)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 127.375 usec -> 2022-01-28T17:46:10.485.243.100 (XO: 17.485245347)

 - Block number: 3 starting at 2022-01-28T17:46:30.605.540.725 (XO: 37.605543305 - 37.605849306, t=37.2 degC)  Rank: 00052
   TM values: Max =   167  Min =  -229  Ave =    -4.53  Std =    27.62
   Min TM value:-229 at an offset of 110.413 usec -> 2022-01-28T17:46:30.605.651.137 (XO: 37.605653718)
   Max TM value:167 at an offset of 112.788 usec -> 2022-01-28T17:46:30.605.653.512 (XO: 37.605656093)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 112.663 usec -> 2022-01-28T17:46:30.605.653.387 (XO: 37.605655968)
   Min dTM/dt [1/us]:-1.65e+03 at an offset of 110.188 usec -> 2022-01-28T17:46:30.605.650.912 (XO: 37.605653493)
