-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  8 11:22:23 2021 UTC
-- File 20210806_201310_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 6.725107 to 50.525014
-each separately from 6s to 50s and from 104847us to 725396us.
   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, ...
      22.379451 in 1 packets: 18
      7.609703 in 1 packets: 36
      13.809597 in 1 packets: 54
MIU packet time from 2021-08-06T20:13:19.725.107.000 to 2021-08-06T20:14:03.525.014.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, ...
      22.379451 in 1 packets: 18
      7.609703 in 1 packets: 36
      13.809597 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 8.2900012 to 52.2898543
   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, ...
      22.9999232 in 1 packets: 18
      6.9999766 in 1 packets: 36
      13.9999533 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, ...
      03 -> 51.1 degC in 36 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: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20210806_201310_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.0151086 to 9.0153976
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.3793750  -- OK for SL --
   MIU time from 2021-08-06T20:13:19.725.107.000 to 2021-08-06T20:13:19.725.396.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.379451

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.3947726 to 31.3950616
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.6096790  -- OK for SL --
   MIU time from 2021-08-06T20:13:42.104.847.000 to 2021-08-06T20:13:42.105.136.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.609703

 - 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 39.0047406 to 39.0050296
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.8095510  -- OK for SL --
   MIU time from 2021-08-06T20:13:49.714.839.000 to 2021-08-06T20:13:49.715.128.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.809597

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.8145806 to 52.8148696
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-06T20:14:03.524.725.000 to 2021-08-06T20:14:03.525.014.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 = 6, 32bit 10MHz counter = 9.015108600 corrected by 40bit 10MHz counter of 8.290001200 obtained at 1Hz counter of 6. Result: 6.725109865
--
   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-08-06T20:13:19.724.966.725
   Max 1st sample MIU time among all SL packets: 2021-08-06T20:14:03.524.873.725
   Min 1st sample XO time among all SL packets: 6.724969590
   Max 1st sample XO time among all SL packets: 50.524876810
   TM values from -276 to 235 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-06T20:13:19.724.966.725 (XO: 6.724969590 - 6.725275591, t=37.2 degC)  Rank: 00085
   TM values: Max =   235  Min =  -276  Ave =    -4.33  Std =    25.73
   Min TM value:-276 at an offset of 118.938 usec -> 2021-08-06T20:13:19.725.085.662 (XO: 6.725088528)
   Max TM value:235 at an offset of 118.638 usec -> 2021-08-06T20:13:19.725.085.362 (XO: 6.725088228)
   Max dTM/dt [1/us]:2.42e+03 at an offset of 121.250 usec -> 2021-08-06T20:13:19.725.087.975 (XO: 6.725090840)
   Min dTM/dt [1/us]:-2.36e+03 at an offset of 118.738 usec -> 2021-08-06T20:13:19.725.085.462 (XO: 6.725088328)

 - Block number: 2 starting at 2021-08-06T20:13:42.104.706.725 (XO: 29.104708271 - 29.105014272, t=37.2 degC)  Rank: 00078
   TM values: Max =   207  Min =  -260  Ave =    -4.24  Std =    29.06
   Min TM value:-260 at an offset of 118.525 usec -> 2021-08-06T20:13:42.104.825.250 (XO: 29.104826796)
   Max TM value:207 at an offset of 121.225 usec -> 2021-08-06T20:13:42.104.827.950 (XO: 29.104829496)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 160.301 usec -> 2021-08-06T20:13:42.104.867.025 (XO: 29.104868571)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 118.325 usec -> 2021-08-06T20:13:42.104.825.050 (XO: 29.104826596)

 - Block number: 3 starting at 2021-08-06T20:13:49.714.698.725 (XO: 36.714701684 - 36.715007685, t=37.2 degC)  Rank: 00082
   TM values: Max =   204  Min =  -241  Ave =    -4.34  Std =    23.01
   Min TM value:-241 at an offset of 118.363 usec -> 2021-08-06T20:13:49.714.817.087 (XO: 36.714820046)
   Max TM value:204 at an offset of 121.063 usec -> 2021-08-06T20:13:49.714.819.787 (XO: 36.714822746)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 120.863 usec -> 2021-08-06T20:13:49.714.819.587 (XO: 36.714822546)
   Min dTM/dt [1/us]:-1.81e+03 at an offset of 118.225 usec -> 2021-08-06T20:13:49.714.816.950 (XO: 36.714819909)

 - Block number: 4 starting at 2021-08-06T20:14:03.524.584.725 (XO: 50.524587809 - 50.524893810, t=37.2 degC)  Rank: 00074
   TM values: Max =   233  Min =  -269  Ave =    -4.35  Std =    24.84
   Min TM value:-269 at an offset of 94.263 usec -> 2021-08-06T20:14:03.524.678.987 (XO: 50.524682071)
   Max TM value:233 at an offset of 93.975 usec -> 2021-08-06T20:14:03.524.678.700 (XO: 50.524681784)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 96.600 usec -> 2021-08-06T20:14:03.524.681.325 (XO: 50.524684409)
   Min dTM/dt [1/us]:-2.48e+03 at an offset of 94.050 usec -> 2021-08-06T20:14:03.524.678.775 (XO: 50.524681859)
