-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Nov 19 02:26:06 2021 UTC
-- File 20210720_063205_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.512605 to 47.798406
-each separately from 2s to 47s and from 512605us to 798406us.
   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, ...
      27.227082 in 1 packets: 18
      1.929558 in 1 packets: 36
      16.128005 in 1 packets: 54
MIU packet time from 2021-07-20T06:32:10.512.605.000 to 2021-07-20T06:32:55.798.406.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, ...
      27.227082 in 1 packets: 18
      1.929558 in 1 packets: 36
      16.128005 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.8193630 to 48.8192116
   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, ...
      26.9999091 in 1 packets: 18
      1.9999933 in 1 packets: 36
      15.9999462 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 20210720_063205_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.3319693 to 4.3322583
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.2269910  -- OK for SL --
   MIU time from 2021-07-20T06:32:10.512.605.000 to 2021-07-20T06:32:10.512.894.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.227082

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.5592493 to 31.5595383
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.9295510  -- OK for SL --
   MIU time from 2021-07-20T06:32:37.739.976.000 to 2021-07-20T06:32:37.740.265.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.929558

 - 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 33.4890893 to 33.4893783
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1279510  -- OK for SL --
   MIU time from 2021-07-20T06:32:39.669.823.000 to 2021-07-20T06:32:39.670.112.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.128005

 - 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 49.6173293 to 49.6176183
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-20T06:32:55.798.117.000 to 2021-07-20T06:32:55.798.406.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.331969300 corrected by 40bit 10MHz counter of 3.819363000 obtained at 1Hz counter of 2. Result: 2.512607992
--
   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-07-20T06:32:10.512.464.725
   Max 1st sample MIU time among all SL packets: 2021-07-20T06:32:55.798.265.725
   Min 1st sample XO time among all SL packets: 2.512467716
   Max 1st sample XO time among all SL packets: 47.798269139
   TM values from -315 to 291 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-20T06:32:10.512.464.725 (XO: 2.512467716 - 2.512773717, t=37.2 degC)  Rank: 00083
   TM values: Max =   291  Min =  -315  Ave =    -4.45  Std =    24.39
   Min TM value:-315 at an offset of 107.288 usec -> 2021-07-20T06:32:10.512.572.012 (XO: 2.512575004)
   Max TM value:291 at an offset of 107.025 usec -> 2021-07-20T06:32:10.512.571.750 (XO: 2.512574741)
   Max dTM/dt [1/us]:2.84e+03 at an offset of 109.688 usec -> 2021-07-20T06:32:10.512.574.412 (XO: 2.512577404)
   Min dTM/dt [1/us]:-3.14e+03 at an offset of 107.150 usec -> 2021-07-20T06:32:10.512.571.875 (XO: 2.512574866)

 - Block number: 2 starting at 2021-07-20T06:32:37.739.835.725 (XO: 29.739839366 - 29.740145367, t=37.2 degC)  Rank: 00083
   TM values: Max =   270  Min =  -292  Ave =    -4.53  Std =    23.90
   Min TM value:-292 at an offset of 116.000 usec -> 2021-07-20T06:32:37.739.951.725 (XO: 29.739955367)
   Max TM value:270 at an offset of 118.675 usec -> 2021-07-20T06:32:37.739.954.400 (XO: 29.739958042)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 118.563 usec -> 2021-07-20T06:32:37.739.954.287 (XO: 29.739957929)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 115.888 usec -> 2021-07-20T06:32:37.739.951.612 (XO: 29.739955254)

 - Block number: 3 starting at 2021-07-20T06:32:39.669.682.725 (XO: 31.669685902 - 31.669991903, t=37.2 degC)  Rank: 00080
   TM values: Max =   232  Min =  -271  Ave =    -4.47  Std =    24.63
   Min TM value:-271 at an offset of 127.613 usec -> 2021-07-20T06:32:39.669.810.337 (XO: 31.669813515)
   Max TM value:232 at an offset of 127.875 usec -> 2021-07-20T06:32:39.669.810.600 (XO: 31.669813777)
   Max dTM/dt [1/us]:2.44e+03 at an offset of 127.713 usec -> 2021-07-20T06:32:39.669.810.437 (XO: 31.669813615)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 125.163 usec -> 2021-07-20T06:32:39.669.807.887 (XO: 31.669811065)

 - Block number: 4 starting at 2021-07-20T06:32:55.797.976.725 (XO: 47.797980138 - 47.798286139, t=37.2 degC)  Rank: 00078
   TM values: Max =   220  Min =  -236  Ave =    -4.48  Std =    20.55
   Min TM value:-236 at an offset of 127.788 usec -> 2021-07-20T06:32:55.798.104.512 (XO: 47.798107926)
   Max TM value:220 at an offset of 128.063 usec -> 2021-07-20T06:32:55.798.104.787 (XO: 47.798108201)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 127.863 usec -> 2021-07-20T06:32:55.798.104.587 (XO: 47.798108001)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 125.313 usec -> 2021-07-20T06:32:55.798.102.037 (XO: 47.798105451)
