-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Aug  2 07:39:29 2021 UTC
-- File 20210701_163912_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.399375 to 54.318570
-each separately from 6s to 54s and from 236229us to 762896us.
   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, ...
      18.362943 in 1 packets: 18
      19.473333 in 1 packets: 36
      10.081763 in 1 packets: 54
MIU packet time from 2021-07-01T16:39:17.399.375.000 to 2021-07-01T16:40:05.318.570.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, ...
      18.362943 in 1 packets: 18
      19.473333 in 1 packets: 36
      10.081763 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.8597516 to 55.8595813
   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, ...
      17.9999361 in 1 packets: 18
      19.9999290 in 1 packets: 36
      9.9999646 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210701_163912_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.2591269 to 8.2594159
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.3628790  -- OK for SL --
   MIU time from 2021-07-01T16:39:17.399.375.000 to 2021-07-01T16:39:17.399.664.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.362943

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.6222949 to 26.6225839
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.4732630  -- OK for SL --
   MIU time from 2021-07-01T16:39:35.762.607.000 to 2021-07-01T16:39:35.762.896.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.473333

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.0958469 to 46.0961359
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.0817270  -- OK for SL --
   MIU time from 2021-07-01T16:39:55.236.229.000 to 2021-07-01T16:39:55.236.518.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.081763

 - 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 56.1778629 to 56.1781519
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-01T16:40:05.318.281.000 to 2021-07-01T16:40:05.318.570.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.259126900 corrected by 40bit 10MHz counter of 7.859751600 obtained at 1Hz counter of 6. Result: 6.399376698
--
   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-01T16:39:17.399.234.725
   Max 1st sample MIU time among all SL packets: 2021-07-01T16:40:05.318.429.725
   Min 1st sample XO time among all SL packets: 6.399236422
   Max 1st sample XO time among all SL packets: 54.318431471
   TM values from -293 to 268 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-01T16:39:17.399.234.725 (XO: 6.399236422 - 6.399542423, t=35.6 degC)  Rank: 00082
   TM values: Max =   244  Min =  -236  Ave =    -4.50  Std =    19.33
   Min TM value:-236 at an offset of 111.863 usec -> 2021-07-01T16:39:17.399.346.587 (XO: 6.399348285)
   Max TM value:244 at an offset of 114.575 usec -> 2021-07-01T16:39:17.399.349.300 (XO: 6.399350998)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 114.425 usec -> 2021-07-01T16:39:17.399.349.150 (XO: 6.399350848)
   Min dTM/dt [1/us]:-1.81e+03 at an offset of 111.650 usec -> 2021-07-01T16:39:17.399.346.375 (XO: 6.399348073)

 - Block number: 2 starting at 2021-07-01T16:39:35.762.466.725 (XO: 24.762469594 - 24.762775595, t=35.6 degC)  Rank: 00080
   TM values: Max =   210  Min =  -293  Ave =    -4.42  Std =    29.02
   Min TM value:-293 at an offset of 125.363 usec -> 2021-07-01T16:39:35.762.592.087 (XO: 24.762594957)
   Max TM value:210 at an offset of 195.051 usec -> 2021-07-01T16:39:35.762.661.775 (XO: 24.762664644)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 194.863 usec -> 2021-07-01T16:39:35.762.661.588 (XO: 24.762664457)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 197.276 usec -> 2021-07-01T16:39:35.762.664.000 (XO: 24.762666869)

 - Block number: 3 starting at 2021-07-01T16:39:55.236.088.725 (XO: 44.236090751 - 44.236396752, t=35.6 degC)  Rank: 00077
   TM values: Max =   268  Min =  -239  Ave =    -4.45  Std =    20.89
   Min TM value:-239 at an offset of 126.763 usec -> 2021-07-01T16:39:55.236.215.487 (XO: 44.236217514)
   Max TM value:268 at an offset of 129.525 usec -> 2021-07-01T16:39:55.236.218.250 (XO: 44.236220277)
   Max dTM/dt [1/us]:2.29e+03 at an offset of 129.400 usec -> 2021-07-01T16:39:55.236.218.125 (XO: 44.236220152)
   Min dTM/dt [1/us]:-1.89e+03 at an offset of 126.638 usec -> 2021-07-01T16:39:55.236.215.362 (XO: 44.236217389)

 - Block number: 4 starting at 2021-07-01T16:40:05.318.140.725 (XO: 54.318142470 - 54.318448471, t=35.6 degC)  Rank: 00078
   TM values: Max =   215  Min =  -263  Ave =    -4.54  Std =    21.76
   Min TM value:-263 at an offset of 117.288 usec -> 2021-07-01T16:40:05.318.258.012 (XO: 54.318259758)
   Max TM value:215 at an offset of 114.938 usec -> 2021-07-01T16:40:05.318.255.662 (XO: 54.318257408)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 114.800 usec -> 2021-07-01T16:40:05.318.255.525 (XO: 54.318257271)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 117.150 usec -> 2021-07-01T16:40:05.318.257.875 (XO: 54.318259621)
