-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 12 09:43:20 2021 UTC
-- File 20200922_195735_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 10.676820 to 39.159602
-each separately from 10s to 39s and from 159313us to 804534us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      13.127136 in 1 packets: 18
      15.354779 in 1 packets: 36
MIU packet time from 2020-09-22T19:57:48.676.820.000 to 2020-09-22T19:58:17.159.602.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      13.127136 in 1 packets: 18
      15.354779 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 11.5355599 to 40.5354502
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      12.9999508 in 1 packets: 18
      15.9999395 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 36 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 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 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 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20200922_195735_1227.dat, 3 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:
      32 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.2123796 to 12.2126686
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.1270870  -- OK for SL --
   MIU time from 2020-09-22T19:57:48.676.820.000 to 2020-09-22T19:57:48.677.109.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.127136

 - 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:
      163 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.3397556 to 25.3400446
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.3547190  -- OK for SL --
   MIU time from 2020-09-22T19:58:01.804.245.000 to 2020-09-22T19:58:01.804.534.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.354779

 - 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:
      19 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.6947636 to 40.6950526
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2020-09-22T19:58:17.159.313.000 to 2020-09-22T19:58:17.159.602.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 10, 32bit 10MHz counter = 12.212379600 corrected by 40bit 10MHz counter of 11.535559900 obtained at 1Hz counter of 10. Result: 10.676822272
--
   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.999996200 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2020-09-22T19:57:48.676.679.725
   Max 1st sample MIU time among all SL packets: 2020-09-22T19:58:17.159.461.725
   Min 1st sample XO time among all SL packets: 10.676681996
   Max 1st sample XO time among all SL packets: 39.159462731
   TM values from -1210 to 647 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2020-09-22T19:57:48.676.679.725 (XO: 10.676681996 - 10.676987998, t=35.6 degC)  Rank: 00032
   TM values: Max =   217  Min =   -97  Ave =    -4.45  Std =    22.27
   Min TM value:-97 at an offset of 119.375 usec -> 2020-09-22T19:57:48.676.799.100 (XO: 10.676801372)
   Max TM value:217 at an offset of 110.150 usec -> 2020-09-22T19:57:48.676.789.875 (XO: 10.676792147)
   Max dTM/dt [1/us]:7.79e+02 at an offset of 136.001 usec -> 2020-09-22T19:57:48.676.815.725 (XO: 10.676817997)
   Min dTM/dt [1/us]:-7.99e+02 at an offset of 287.089 usec -> 2020-09-22T19:57:48.676.966.813 (XO: 10.676969085)

 - Block number: 2 starting at 2020-09-22T19:58:01.804.104.725 (XO: 23.804107600 - 23.804413601, t=35.6 degC)  Rank: 00163
   TM values: Max =   647  Min = -1210  Ave =    -4.39  Std =    78.56
   Min TM value:-1210 at an offset of 108.263 usec -> 2020-09-22T19:58:01.804.212.987 (XO: 23.804215863)
   Max TM value:647 at an offset of 108.988 usec -> 2020-09-22T19:58:01.804.213.712 (XO: 23.804216588)
   Max dTM/dt [1/us]:8.95e+03 at an offset of 108.875 usec -> 2020-09-22T19:58:01.804.213.600 (XO: 23.804216476)
   Min dTM/dt [1/us]:-7.87e+03 at an offset of 108.713 usec -> 2020-09-22T19:58:01.804.213.437 (XO: 23.804216313)

 - Block number: 3 starting at 2020-09-22T19:58:17.159.172.725 (XO: 39.159173730 - 39.159479731, t=35.6 degC)  Rank: 00019
   TM values: Max =    77  Min =   -85  Ave =    -4.55  Std =    28.56
   Min TM value:-85 at an offset of 142.426 usec -> 2020-09-22T19:58:17.159.315.150 (XO: 39.159316155)
   Max TM value:77 at an offset of 158.463 usec -> 2020-09-22T19:58:17.159.331.188 (XO: 39.159332193)
   Max dTM/dt [1/us]:1.28e+03 at an offset of 210.176 usec -> 2020-09-22T19:58:17.159.382.900 (XO: 39.159383906)
   Min dTM/dt [1/us]:-1.31e+03 at an offset of 165.338 usec -> 2020-09-22T19:58:17.159.338.063 (XO: 39.159339068)
