-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan  9 22:45:57 2022 UTC
-- File 20210912_163415_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 2.367125 to 51.701641
-each separately from 2s to 51s and from 219564us to 701641us.
   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, ...
      16.990999 in 1 packets: 18
      13.860862 in 1 packets: 36
      18.481499 in 1 packets: 54
MIU packet time from 2021-09-12T16:34:20.367.125.000 to 2021-09-12T16:35:09.701.641.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, ...
      16.990999 in 1 packets: 18
      13.860862 in 1 packets: 36
      18.481499 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 3.8491616 to 52.8489982
   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, ...
      16.9999433 in 1 packets: 18
      13.9999533 in 1 packets: 36
      17.9999400 in 1 packets: 54
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 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 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 20210912_163415_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.2162872 to 4.2165762
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.9909430  -- OK for SL --
   MIU time from 2021-09-12T16:34:20.367.125.000 to 2021-09-12T16:34:20.367.414.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.990999

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.2075192 to 21.2078082
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.8608150  -- OK for SL --
   MIU time from 2021-09-12T16:34:37.358.413.000 to 2021-09-12T16:34:37.358.702.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.860862

 - 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 35.0686232 to 35.0689122
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4814390  -- OK for SL --
   MIU time from 2021-09-12T16:34:51.219.564.000 to 2021-09-12T16:34:51.219.853.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.481499

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.5503512 to 53.5506402
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-12T16:35:09.701.352.000 to 2021-09-12T16:35:09.701.641.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 = 2, 32bit 10MHz counter = 4.216287200 corrected by 40bit 10MHz counter of 3.849161600 obtained at 1Hz counter of 2. Result: 2.367126848
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-12T16:34:20.366.984.725
   Max 1st sample MIU time among all SL packets: 2021-09-12T16:35:09.701.500.725
   Min 1st sample XO time among all SL packets: 2.366986573
   Max 1st sample XO time among all SL packets: 51.701504040
   TM values from -264 to 233 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-12T16:34:20.366.984.725 (XO: 2.366986573 - 2.367292574, t=37.2 degC)  Rank: 00081
   TM values: Max =   219  Min =  -252  Ave =    -4.38  Std =    28.50
   Min TM value:-252 at an offset of 188.276 usec -> 2021-09-12T16:34:20.367.173.000 (XO: 2.367174848)
   Max TM value:219 at an offset of 130.388 usec -> 2021-09-12T16:34:20.367.115.112 (XO: 2.367116961)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 128.338 usec -> 2021-09-12T16:34:20.367.113.062 (XO: 2.367114911)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 188.126 usec -> 2021-09-12T16:34:20.367.172.850 (XO: 2.367174698)

 - Block number: 2 starting at 2021-09-12T16:34:37.358.272.725 (XO: 19.358275207 - 19.358581208, t=37.2 degC)  Rank: 00084
   TM values: Max =   233  Min =  -254  Ave =    -4.39  Std =    22.47
   Min TM value:-254 at an offset of 128.463 usec -> 2021-09-12T16:34:37.358.401.187 (XO: 19.358403670)
   Max TM value:233 at an offset of 128.150 usec -> 2021-09-12T16:34:37.358.400.875 (XO: 19.358403358)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 130.800 usec -> 2021-09-12T16:34:37.358.403.525 (XO: 19.358406008)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 128.250 usec -> 2021-09-12T16:34:37.358.400.975 (XO: 19.358403458)

 - Block number: 3 starting at 2021-09-12T16:34:51.219.423.725 (XO: 33.219425449 - 33.219731450, t=37.2 degC)  Rank: 00080
   TM values: Max =   210  Min =  -264  Ave =    -4.39  Std =    24.40
   Min TM value:-264 at an offset of 128.988 usec -> 2021-09-12T16:34:51.219.552.712 (XO: 33.219554437)
   Max TM value:210 at an offset of 131.638 usec -> 2021-09-12T16:34:51.219.555.362 (XO: 33.219557087)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 104.625 usec -> 2021-09-12T16:34:51.219.528.350 (XO: 33.219530074)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 102.050 usec -> 2021-09-12T16:34:51.219.525.775 (XO: 33.219527499)

 - Block number: 4 starting at 2021-09-12T16:35:09.701.211.725 (XO: 51.701215039 - 51.701521040, t=37.2 degC)  Rank: 00073
   TM values: Max =   206  Min =  -251  Ave =    -4.52  Std =    22.18
   Min TM value:-251 at an offset of 127.688 usec -> 2021-09-12T16:35:09.701.339.412 (XO: 51.701342727)
   Max TM value:206 at an offset of 130.288 usec -> 2021-09-12T16:35:09.701.342.012 (XO: 51.701345327)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 130.063 usec -> 2021-09-12T16:35:09.701.341.787 (XO: 51.701345102)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 127.525 usec -> 2021-09-12T16:35:09.701.339.250 (XO: 51.701342564)
