-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Oct 30 18:08:41 2021 UTC
-- File 20210705_163410_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 0.376695 to 59.418347
-each separately from 0s to 59s and from 376695us to 507686us.
   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, ...
      15.999993 in 1 packets: 18
      19.130131 in 1 packets: 36
      23.910372 in 1 packets: 54
MIU packet time from 2021-07-05T16:34:09.376.695.000 to 2021-07-05T16:35:08.418.347.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, ...
      15.999993 in 1 packets: 18
      19.130131 in 1 packets: 36
      23.910372 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 2.0061833 to 61.0059726
   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, ...
      15.9999428 in 1 packets: 18
      18.9999321 in 1 packets: 36
      23.9999144 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210705_163410_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.3828794 to 2.3831684
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.9999350  -- OK for SL --
   MIU time from 2021-07-05T16:34:09.376.695.000 to 2021-07-05T16:34:09.376.984.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.999993

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.3831034 to 18.3833924
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.1300630  -- OK for SL --
   MIU time from 2021-07-05T16:34:25.376.977.000 to 2021-07-05T16:34:25.377.266.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.130131

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.5134554 to 37.5137444
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.9102870  -- OK for SL --
   MIU time from 2021-07-05T16:34:44.507.397.000 to 2021-07-05T16:34:44.507.686.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.910372

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.4240314 to 61.4243204
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-05T16:35:08.418.058.000 to 2021-07-05T16:35:08.418.347.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 = 0, 32bit 10MHz counter = 2.382879400 corrected by 40bit 10MHz counter of 2.006183300 obtained at 1Hz counter of 0. Result: 0.376697418
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2021-07-05T16:34:09.376.554.725
   Max 1st sample MIU time among all SL packets: 2021-07-05T16:35:08.418.206.725
   Min 1st sample XO time among all SL packets: 0.376557143
   Max 1st sample XO time among all SL packets: 59.418208989
   TM values from -276 to 257 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-05T16:34:09.376.554.725 (XO: 0.376557143 - 0.376863144, t=35.6 degC)  Rank: 00078
   TM values: Max =   226  Min =  -266  Ave =    -4.44  Std =    22.08
   Min TM value:-266 at an offset of 129.450 usec -> 2021-07-05T16:34:09.376.684.175 (XO: 0.376686593)
   Max TM value:226 at an offset of 129.150 usec -> 2021-07-05T16:34:09.376.683.875 (XO: 0.376686293)
   Max dTM/dt [1/us]:2.50e+03 at an offset of 131.788 usec -> 2021-07-05T16:34:09.376.686.512 (XO: 0.376688931)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 129.225 usec -> 2021-07-05T16:34:09.376.683.950 (XO: 0.376686368)

 - Block number: 2 starting at 2021-07-05T16:34:25.376.836.725 (XO: 16.376838382 - 16.377144383, t=35.6 degC)  Rank: 00081
   TM values: Max =   241  Min =  -254  Ave =    -4.49  Std =    24.43
   Min TM value:-254 at an offset of 116.500 usec -> 2021-07-05T16:34:25.376.953.225 (XO: 16.376954882)
   Max TM value:241 at an offset of 116.200 usec -> 2021-07-05T16:34:25.376.952.925 (XO: 16.376954582)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 119.038 usec -> 2021-07-05T16:34:25.376.955.762 (XO: 16.376957420)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 116.313 usec -> 2021-07-05T16:34:25.376.953.037 (XO: 16.376954695)

 - Block number: 3 starting at 2021-07-05T16:34:44.507.256.725 (XO: 35.507258751 - 35.507564752, t=35.6 degC)  Rank: 00082
   TM values: Max =   257  Min =  -258  Ave =    -4.50  Std =    22.58
   Min TM value:-258 at an offset of 130.438 usec -> 2021-07-05T16:34:44.507.387.162 (XO: 35.507389189)
   Max TM value:257 at an offset of 128.275 usec -> 2021-07-05T16:34:44.507.385.000 (XO: 35.507387027)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 132.850 usec -> 2021-07-05T16:34:44.507.389.575 (XO: 35.507391602)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 130.300 usec -> 2021-07-05T16:34:44.507.387.025 (XO: 35.507389052)

 - Block number: 4 starting at 2021-07-05T16:35:08.417.917.725 (XO: 59.417919988 - 59.418225989, t=35.6 degC)  Rank: 00076
   TM values: Max =   235  Min =  -276  Ave =    -4.56  Std =    27.68
   Min TM value:-276 at an offset of 129.700 usec -> 2021-07-05T16:35:08.418.047.425 (XO: 59.418049688)
   Max TM value:235 at an offset of 130.000 usec -> 2021-07-05T16:35:08.418.047.725 (XO: 59.418049988)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 102.713 usec -> 2021-07-05T16:35:08.418.020.437 (XO: 59.418022701)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 127.250 usec -> 2021-07-05T16:35:08.418.044.975 (XO: 59.418047238)
