-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan  2 01:14:23 2022 UTC
-- File 20210903_053706_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 11.377902 to 52.718999
-each separately from 11s to 52s and from 68321us to 718999us.
   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, ...
      10.879715 in 1 packets: 18
      13.810126 in 1 packets: 36
      16.650100 in 1 packets: 54
MIU packet time from 2021-09-03T05:37:20.377.902.000 to 2021-09-03T05:38:01.718.999.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, ...
      10.879715 in 1 packets: 18
      13.810126 in 1 packets: 36
      16.650100 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 12.8638181 to 53.8636825
   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, ...
      10.9999637 in 1 packets: 18
      13.9999536 in 1 packets: 36
      15.9999471 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 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: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C1 -> 37.2 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 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 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210903_053706_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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.2417211 to 13.2420101
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8796790  -- OK for SL --
   MIU time from 2021-09-03T05:37:20.377.902.000 to 2021-09-03T05:37:20.378.191.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.879715

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.1216891 to 24.1219781
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.8100790  -- OK for SL --
   MIU time from 2021-09-03T05:37:31.257.906.000 to 2021-09-03T05:37:31.258.195.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.810126

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.9320571 to 37.9323461
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.6500470  -- OK for SL --
   MIU time from 2021-09-03T05:37:45.068.321.000 to 2021-09-03T05:37:45.068.610.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.650100

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.5823931 to 54.5826821
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-03T05:38:01.718.710.000 to 2021-09-03T05:38:01.718.999.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 = 11, 32bit 10MHz counter = 13.241721100 corrected by 40bit 10MHz counter of 12.863818100 obtained at 1Hz counter of 11. Result: 11.377904209
--
   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.999996600 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2021-09-03T05:37:20.377.761.725
   Max 1st sample MIU time among all SL packets: 2021-09-03T05:38:01.718.858.725
   Min 1st sample XO time among all SL packets: 11.377763934
   Max 1st sample XO time among all SL packets: 52.718861769
   TM values from -275 to 230 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-03T05:37:20.377.761.725 (XO: 11.377763934 - 11.378069935, t=37.2 degC)  Rank: 00088
   TM values: Max =   213  Min =  -259  Ave =    -4.41  Std =    20.44
   Min TM value:-259 at an offset of 121.138 usec -> 2021-09-03T05:37:20.377.882.862 (XO: 11.377885072)
   Max TM value:213 at an offset of 123.800 usec -> 2021-09-03T05:37:20.377.885.525 (XO: 11.377887734)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 123.600 usec -> 2021-09-03T05:37:20.377.885.325 (XO: 11.377887534)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 121.013 usec -> 2021-09-03T05:37:20.377.882.737 (XO: 11.377884947)

 - Block number: 2 starting at 2021-09-03T05:37:31.257.765.725 (XO: 22.257767901 - 22.258073902, t=37.2 degC)  Rank: 00086
   TM values: Max =   230  Min =  -275  Ave =    -4.42  Std =    31.71
   Min TM value:-275 at an offset of 168.851 usec -> 2021-09-03T05:37:31.257.934.575 (XO: 22.257936752)
   Max TM value:230 at an offset of 112.388 usec -> 2021-09-03T05:37:31.257.878.112 (XO: 22.257880289)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 115.025 usec -> 2021-09-03T05:37:31.257.880.750 (XO: 22.257882927)
   Min dTM/dt [1/us]:-2.64e+03 at an offset of 112.500 usec -> 2021-09-03T05:37:31.257.878.225 (XO: 22.257880402)

 - Block number: 3 starting at 2021-09-03T05:37:45.068.180.725 (XO: 36.068181650 - 36.068487651, t=37.2 degC)  Rank: 00074
   TM values: Max =   202  Min =  -225  Ave =    -4.38  Std =    20.56
   Min TM value:-225 at an offset of 113.113 usec -> 2021-09-03T05:37:45.068.293.837 (XO: 36.068294763)
   Max TM value:202 at an offset of 115.825 usec -> 2021-09-03T05:37:45.068.296.550 (XO: 36.068297475)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 115.713 usec -> 2021-09-03T05:37:45.068.296.437 (XO: 36.068297363)
   Min dTM/dt [1/us]:-1.89e+03 at an offset of 101.225 usec -> 2021-09-03T05:37:45.068.281.950 (XO: 36.068282875)

 - Block number: 4 starting at 2021-09-03T05:38:01.718.569.725 (XO: 52.718572768 - 52.718878769, t=37.2 degC)  Rank: 00080
   TM values: Max =   219  Min =  -251  Ave =    -4.43  Std =    17.60
   Min TM value:-251 at an offset of 127.550 usec -> 2021-09-03T05:38:01.718.697.275 (XO: 52.718700319)
   Max TM value:219 at an offset of 127.288 usec -> 2021-09-03T05:38:01.718.697.012 (XO: 52.718700056)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 129.950 usec -> 2021-09-03T05:38:01.718.699.675 (XO: 52.718702719)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 127.400 usec -> 2021-09-03T05:38:01.718.697.125 (XO: 52.718700169)
