-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Jan  6 11:28:39 2022 UTC
-- File 20210908_010503_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 4.154074 to 55.684547
-each separately from 4s to 55s and from 104172us to 684547us.
   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, ...
      24.949809 in 1 packets: 18
      11.429748 in 1 packets: 36
      15.149760 in 1 packets: 54
MIU packet time from 2021-09-08T01:05:10.154.074.000 to 2021-09-08T01:06:01.684.547.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, ...
      24.949809 in 1 packets: 18
      11.429748 in 1 packets: 36
      15.149760 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 5.8849539 to 56.8847854
   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, ...
      24.9999173 in 1 packets: 18
      10.9999637 in 1 packets: 36
      14.9999505 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210908_010503_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.0390285 to 6.0393175
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.9497270  -- OK for SL --
   MIU time from 2021-09-08T01:05:10.154.074.000 to 2021-09-08T01:05:10.154.363.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.949809

 - 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 30.9890445 to 30.9893335
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4297110  -- OK for SL --
   MIU time from 2021-09-08T01:05:35.104.172.000 to 2021-09-08T01:05:35.104.461.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.429748

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.4190445 to 42.4193335
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.1497110  -- OK for SL --
   MIU time from 2021-09-08T01:05:46.534.209.000 to 2021-09-08T01:05:46.534.498.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.149760

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.5690445 to 57.5693335
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-08T01:06:01.684.258.000 to 2021-09-08T01:06:01.684.547.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 = 4, 32bit 10MHz counter = 6.039028500 corrected by 40bit 10MHz counter of 5.884953900 obtained at 1Hz counter of 4. Result: 4.154075108
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2021-09-08T01:05:10.153.933.725
   Max 1st sample MIU time among all SL packets: 2021-09-08T01:06:01.684.406.725
   Min 1st sample XO time among all SL packets: 4.153934833
   Max 1st sample XO time among all SL packets: 55.684410015
   TM values from -270 to 236 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-08T01:05:10.153.933.725 (XO: 4.153934833 - 4.154240834, t=37.2 degC)  Rank: 00080
   TM values: Max =   196  Min =  -270  Ave =    -4.53  Std =    16.85
   Min TM value:-270 at an offset of 128.750 usec -> 2021-09-08T01:05:10.154.062.475 (XO: 4.154063583)
   Max TM value:196 at an offset of 126.425 usec -> 2021-09-08T01:05:10.154.060.150 (XO: 4.154061258)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 131.175 usec -> 2021-09-08T01:05:10.154.064.900 (XO: 4.154066008)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 128.588 usec -> 2021-09-08T01:05:10.154.062.312 (XO: 4.154063421)

 - Block number: 2 starting at 2021-09-08T01:05:35.104.031.725 (XO: 29.104033358 - 29.104339359, t=37.2 degC)  Rank: 00078
   TM values: Max =   232  Min =  -221  Ave =    -4.56  Std =    22.71
   Min TM value:-221 at an offset of 126.875 usec -> 2021-09-08T01:05:35.104.158.600 (XO: 29.104160233)
   Max TM value:232 at an offset of 129.600 usec -> 2021-09-08T01:05:35.104.161.325 (XO: 29.104162958)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 129.475 usec -> 2021-09-08T01:05:35.104.161.200 (XO: 29.104162833)
   Min dTM/dt [1/us]:-1.73e+03 at an offset of 114.263 usec -> 2021-09-08T01:05:35.104.145.987 (XO: 29.104147621)

 - Block number: 3 starting at 2021-09-08T01:05:46.534.068.725 (XO: 40.534071087 - 40.534377088, t=37.2 degC)  Rank: 00084
   TM values: Max =   203  Min =  -241  Ave =    -4.60  Std =    19.57
   Min TM value:-241 at an offset of 113.263 usec -> 2021-09-08T01:05:46.534.181.987 (XO: 40.534184350)
   Max TM value:203 at an offset of 128.763 usec -> 2021-09-08T01:05:46.534.197.487 (XO: 40.534199850)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 128.613 usec -> 2021-09-08T01:05:46.534.197.337 (XO: 40.534199700)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 113.113 usec -> 2021-09-08T01:05:46.534.181.837 (XO: 40.534184200)

 - Block number: 4 starting at 2021-09-08T01:06:01.684.117.725 (XO: 55.684121014 - 55.684427015, t=37.2 degC)  Rank: 00079
   TM values: Max =   236  Min =  -228  Ave =    -4.52  Std =    18.58
   Min TM value:-228 at an offset of 128.713 usec -> 2021-09-08T01:06:01.684.246.437 (XO: 55.684249727)
   Max TM value:236 at an offset of 131.450 usec -> 2021-09-08T01:06:01.684.249.175 (XO: 55.684252465)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 131.313 usec -> 2021-09-08T01:06:01.684.249.037 (XO: 55.684252327)
   Min dTM/dt [1/us]:-1.65e+03 at an offset of 128.538 usec -> 2021-09-08T01:06:01.684.246.262 (XO: 55.684249552)
