-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Oct 29 18:45:35 2021 UTC
-- File 20210703_010453_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.780263 to 49.850482
-each separately from 6s to 49s and from 780263us to 970471us.
   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, ...
      13.189630 in 1 packets: 18
      21.889806 in 1 packets: 36
      7.989627 in 1 packets: 54
MIU packet time from 2021-07-03T01:04:58.780.263.000 to 2021-07-03T01:05:41.850.482.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, ...
      13.189630 in 1 packets: 18
      21.889806 in 1 packets: 36
      7.989627 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 7.9346140 to 50.9344603
   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.9999537 in 1 packets: 18
      21.9999212 in 1 packets: 36
      7.9999714 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      07 -> 45.9 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      05 -> 48.5 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 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 20210703_010453_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.7148776 to 8.7151666
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.1895830  -- OK for SL --
   MIU time from 2021-07-03T01:04:58.780.263.000 to 2021-07-03T01:04:58.780.552.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.189630

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.9047496 to 21.9050386
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.8897270  -- OK for SL --
   MIU time from 2021-07-03T01:05:11.970.182.000 to 2021-07-03T01:05:11.970.471.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.889806

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.7947656 to 43.7950546
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.9895990  -- OK for SL --
   MIU time from 2021-07-03T01:05:33.860.277.000 to 2021-07-03T01:05:33.860.566.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.989627

 - 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 51.7846536 to 51.7849426
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-03T01:05:41.850.193.000 to 2021-07-03T01:05:41.850.482.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 = 8.714877600 corrected by 40bit 10MHz counter of 7.934614000 obtained at 1Hz counter of 6. Result: 6.780266331
--
   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-03T01:04:58.780.122.725
   Max 1st sample MIU time among all SL packets: 2021-07-03T01:05:41.850.341.725
   Min 1st sample XO time among all SL packets: 6.780126055
   Max 1st sample XO time among all SL packets: 49.850345086
   TM values from -261 to 260 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-03T01:04:58.780.122.725 (XO: 6.780126055 - 6.780432057, t=35.6 degC)  Rank: 00079
   TM values: Max =   211  Min =  -237  Ave =    -4.46  Std =    20.30
   Min TM value:-237 at an offset of 108.800 usec -> 2021-07-03T01:04:58.780.231.525 (XO: 6.780234856)
   Max TM value:211 at an offset of 123.725 usec -> 2021-07-03T01:04:58.780.246.450 (XO: 6.780249781)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 123.588 usec -> 2021-07-03T01:04:58.780.246.312 (XO: 6.780249643)
   Min dTM/dt [1/us]:-1.71e+03 at an offset of 108.663 usec -> 2021-07-03T01:04:58.780.231.387 (XO: 6.780234718)

 - Block number: 2 starting at 2021-07-03T01:05:11.970.041.725 (XO: 19.970045117 - 19.970351118, t=35.6 degC)  Rank: 00076
   TM values: Max =   233  Min =  -238  Ave =    -4.44  Std =    19.95
   Min TM value:-238 at an offset of 112.463 usec -> 2021-07-03T01:05:11.970.154.187 (XO: 19.970157580)
   Max TM value:233 at an offset of 115.213 usec -> 2021-07-03T01:05:11.970.156.937 (XO: 19.970160330)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 115.100 usec -> 2021-07-03T01:05:11.970.156.825 (XO: 19.970160218)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 112.338 usec -> 2021-07-03T01:05:11.970.154.062 (XO: 19.970157455)

 - Block number: 3 starting at 2021-07-03T01:05:33.860.136.725 (XO: 41.860139522 - 41.860445523, t=35.6 degC)  Rank: 00083
   TM values: Max =   219  Min =  -239  Ave =    -4.48  Std =    21.66
   Min TM value:-239 at an offset of 85.400 usec -> 2021-07-03T01:05:33.860.222.125 (XO: 41.860224922)
   Max TM value:219 at an offset of 88.088 usec -> 2021-07-03T01:05:33.860.224.812 (XO: 41.860227609)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 87.913 usec -> 2021-07-03T01:05:33.860.224.637 (XO: 41.860227434)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 85.175 usec -> 2021-07-03T01:05:33.860.221.900 (XO: 41.860224697)

 - Block number: 4 starting at 2021-07-03T01:05:41.850.052.725 (XO: 49.850056085 - 49.850362086, t=35.6 degC)  Rank: 00076
   TM values: Max =   260  Min =  -261  Ave =    -4.44  Std =    20.87
   Min TM value:-261 at an offset of 113.413 usec -> 2021-07-03T01:05:41.850.166.137 (XO: 49.850169498)
   Max TM value:260 at an offset of 116.125 usec -> 2021-07-03T01:05:41.850.168.850 (XO: 49.850172211)
   Max dTM/dt [1/us]:2.29e+03 at an offset of 116.013 usec -> 2021-07-03T01:05:41.850.168.737 (XO: 49.850172098)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 113.275 usec -> 2021-07-03T01:05:41.850.166.000 (XO: 49.850169361)
