-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec 21 05:15:25 2021 UTC
-- File 20210820_093250_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 8.361136 to 51.440222
-each separately from 8s to 51s and from 260747us to 440222us.
   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, ...
      12.899322 in 1 packets: 18
      23.079098 in 1 packets: 36
      7.099510 in 1 packets: 54
MIU packet time from 2021-08-20T09:33:01.361.136.000 to 2021-08-20T09:33:44.440.222.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, ...
      12.899322 in 1 packets: 18
      23.079098 in 1 packets: 36
      7.099510 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 10.2784325 to 53.2782910
   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, ...
      12.9999572 in 1 packets: 18
      22.9999243 in 1 packets: 36
      6.9999770 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: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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: 
      1 in 1 packets: 1
      2 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      3 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      3 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210820_093250_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.6395694 to 10.6398584
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.8992790  -- OK for SL --
   MIU time from 2021-08-20T09:33:01.361.136.000 to 2021-08-20T09:33:01.361.425.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.899322

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.5391374 to 23.5394264
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.0790230  -- OK for SL --
   MIU time from 2021-08-20T09:33:14.260.747.000 to 2021-08-20T09:33:14.261.036.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.079098

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.6184494 to 46.6187384
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.0994870  -- OK for SL --
   MIU time from 2021-08-20T09:33:37.340.134.000 to 2021-08-20T09:33:37.340.423.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.099510

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.7182254 to 53.7185144
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-20T09:33:44.439.933.000 to 2021-08-20T09:33:44.440.222.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 = 8, 32bit 10MHz counter = 10.639569400 corrected by 40bit 10MHz counter of 10.278432500 obtained at 1Hz counter of 8. Result: 8.361138056
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-20T09:33:01.360.995.725
   Max 1st sample MIU time among all SL packets: 2021-08-20T09:33:44.440.081.725
   Min 1st sample XO time among all SL packets: 8.360997780
   Max 1st sample XO time among all SL packets: 51.440084577
   TM values from -237 to 193 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-20T09:33:01.360.995.725 (XO: 8.360997780 - 8.361303781, t=37.2 degC)  Rank: 00084
   TM values: Max =   193  Min =  -237  Ave =    -4.53  Std =    28.04
   Min TM value:-237 at an offset of 124.438 usec -> 2021-08-20T09:33:01.361.120.162 (XO: 8.361122218)
   Max TM value:193 at an offset of 122.375 usec -> 2021-08-20T09:33:01.361.118.100 (XO: 8.361120156)
   Max dTM/dt [1/us]:1.60e+03 at an offset of 168.551 usec -> 2021-08-20T09:33:01.361.164.275 (XO: 8.361166331)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 124.300 usec -> 2021-08-20T09:33:01.361.120.025 (XO: 8.361122081)

 - Block number: 2 starting at 2021-08-20T09:33:14.260.606.725 (XO: 21.260608285 - 21.260914286, t=37.2 degC)  Rank: 00080
   TM values: Max =   164  Min =  -200  Ave =    -4.55  Std =    16.44
   Min TM value:-200 at an offset of 121.113 usec -> 2021-08-20T09:33:14.260.727.837 (XO: 21.260729398)
   Max TM value:164 at an offset of 123.825 usec -> 2021-08-20T09:33:14.260.730.550 (XO: 21.260732110)
   Max dTM/dt [1/us]:1.22e+03 at an offset of 123.675 usec -> 2021-08-20T09:33:14.260.730.400 (XO: 21.260731960)
   Min dTM/dt [1/us]:-1.21e+03 at an offset of 120.863 usec -> 2021-08-20T09:33:14.260.727.587 (XO: 21.260729148)

 - Block number: 3 starting at 2021-08-20T09:33:37.339.993.725 (XO: 44.339996247 - 44.340302248, t=37.2 degC)  Rank: 00080
   TM values: Max =   187  Min =  -228  Ave =    -4.49  Std =    18.28
   Min TM value:-228 at an offset of 120.925 usec -> 2021-08-20T09:33:37.340.114.650 (XO: 44.340117172)
   Max TM value:187 at an offset of 120.613 usec -> 2021-08-20T09:33:37.340.114.337 (XO: 44.340116860)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 123.288 usec -> 2021-08-20T09:33:37.340.117.012 (XO: 44.340119535)
   Min dTM/dt [1/us]:-1.78e+03 at an offset of 120.725 usec -> 2021-08-20T09:33:37.340.114.450 (XO: 44.340116972)

 - Block number: 4 starting at 2021-08-20T09:33:44.439.792.725 (XO: 51.439795576 - 51.440101577, t=37.2 degC)  Rank: 00078
   TM values: Max =   161  Min =  -210  Ave =    -4.59  Std =    15.52
   Min TM value:-210 at an offset of 122.300 usec -> 2021-08-20T09:33:44.439.915.025 (XO: 51.439917877)
   Max TM value:161 at an offset of 124.925 usec -> 2021-08-20T09:33:44.439.917.650 (XO: 51.439920502)
   Max dTM/dt [1/us]:1.41e+03 at an offset of 124.750 usec -> 2021-08-20T09:33:44.439.917.475 (XO: 51.439920327)
   Min dTM/dt [1/us]:-1.36e+03 at an offset of 122.050 usec -> 2021-08-20T09:33:44.439.914.775 (XO: 51.439917627)
