-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Nov 14 13:32:54 2021 UTC
-- File 20210714_153611_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 9.254188 to 59.515062
-each separately from 9s to 59s and from 254188us to 996535us.
   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, ...
      17.741769 in 1 packets: 18
      12.814507 in 1 packets: 36
      19.703442 in 1 packets: 54
MIU packet time from 2021-07-14T15:36:23.254.188.000 to 2021-07-14T15:37:13.515.062.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, ...
      17.741769 in 1 packets: 18
      12.814507 in 1 packets: 36
      19.703442 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 10.8312952 to 60.8311258
   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, ...
      16.9999423 in 1 packets: 18
      12.9999560 in 1 packets: 36
      19.9999323 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 20210714_153611_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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.0854839 to 11.0857729
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.7417110  -- OK for SL --
   MIU time from 2021-07-14T15:36:23.254.188.000 to 2021-07-14T15:36:23.254.477.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.741769

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.8274839 to 28.8277729
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.8144630  -- OK for SL --
   MIU time from 2021-07-14T15:36:40.996.246.000 to 2021-07-14T15:36:40.996.535.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.814507

 - 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 41.6422359 to 41.6425249
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7033750  -- OK for SL --
   MIU time from 2021-07-14T15:36:53.811.042.000 to 2021-07-14T15:36:53.811.331.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.703442

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.3458999 to 61.3461889
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-14T15:37:13.514.773.000 to 2021-07-14T15:37:13.515.062.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 = 9, 32bit 10MHz counter = 11.085483900 corrected by 40bit 10MHz counter of 10.831295200 obtained at 1Hz counter of 9. Result: 9.254189590
--
   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.999996500 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-07-14T15:36:23.254.047.725
   Max 1st sample MIU time among all SL packets: 2021-07-14T15:37:13.514.921.725
   Min 1st sample XO time among all SL packets: 9.254049314
   Max 1st sample XO time among all SL packets: 59.514924576
   TM values from -313 to 244 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-14T15:36:23.254.047.725 (XO: 9.254049314 - 9.254355315, t=37.2 degC)  Rank: 00075
   TM values: Max =   222  Min =  -313  Ave =    -4.50  Std =    29.69
   Min TM value:-313 at an offset of 91.475 usec -> 2021-07-14T15:36:23.254.139.200 (XO: 9.254140789)
   Max TM value:222 at an offset of 91.113 usec -> 2021-07-14T15:36:23.254.138.837 (XO: 9.254140427)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 93.813 usec -> 2021-07-14T15:36:23.254.141.537 (XO: 9.254143127)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 91.300 usec -> 2021-07-14T15:36:23.254.139.025 (XO: 9.254140614)

 - Block number: 2 starting at 2021-07-14T15:36:40.996.105.725 (XO: 26.996109412 - 26.996415413, t=37.2 degC)  Rank: 00079
   TM values: Max =   154  Min =  -163  Ave =    -4.44  Std =    66.16
   Min TM value:-163 at an offset of 134.863 usec -> 2021-07-14T15:36:40.996.240.587 (XO: 26.996244275)
   Max TM value:154 at an offset of 128.075 usec -> 2021-07-14T15:36:40.996.233.800 (XO: 26.996237488)
   Max dTM/dt [1/us]:1.51e+03 at an offset of 305.989 usec -> 2021-07-14T15:36:40.996.411.713 (XO: 26.996415401)
   Min dTM/dt [1/us]:-1.26e+03 at an offset of 125.525 usec -> 2021-07-14T15:36:40.996.231.250 (XO: 26.996234938)

 - Block number: 3 starting at 2021-07-14T15:36:53.810.901.725 (XO: 39.810904882 - 39.811210883, t=37.2 degC)  Rank: 00083
   TM values: Max =   163  Min =  -172  Ave =    -4.49  Std =    71.41
   Min TM value:-172 at an offset of 126.425 usec -> 2021-07-14T15:36:53.811.028.150 (XO: 39.811031308)
   Max TM value:163 at an offset of 131.525 usec -> 2021-07-14T15:36:53.811.033.250 (XO: 39.811036408)
   Max dTM/dt [1/us]:1.36e+03 at an offset of 146.413 usec -> 2021-07-14T15:36:53.811.048.137 (XO: 39.811051295)
   Min dTM/dt [1/us]:-1.34e+03 at an offset of 131.963 usec -> 2021-07-14T15:36:53.811.033.687 (XO: 39.811036845)

 - Block number: 4 starting at 2021-07-14T15:37:13.514.632.725 (XO: 59.514635575 - 59.514941576, t=37.2 degC)  Rank: 00077
   TM values: Max =   244  Min =  -278  Ave =    -4.47  Std =    29.61
   Min TM value:-278 at an offset of 103.525 usec -> 2021-07-14T15:37:13.514.736.250 (XO: 59.514739100)
   Max TM value:244 at an offset of 105.975 usec -> 2021-07-14T15:37:13.514.738.700 (XO: 59.514741550)
   Max dTM/dt [1/us]:2.83e+03 at an offset of 105.863 usec -> 2021-07-14T15:37:13.514.738.587 (XO: 59.514741438)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 103.350 usec -> 2021-07-14T15:37:13.514.736.075 (XO: 59.514738925)
