-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 19 05:55:22 2021 UTC
-- File 20210817_084436_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 1.183390 to 57.643626
-each separately from 1s to 57s and from 43213us to 643626us.
   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.079799 in 1 packets: 18
      25.779446 in 1 packets: 36
      13.599835 in 1 packets: 54
MIU packet time from 2021-08-17T08:44:40.183.390.000 to 2021-08-17T08:45:36.643.626.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.079799 in 1 packets: 18
      25.779446 in 1 packets: 36
      13.599835 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 2.7811766 to 58.7809901
   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.9999437 in 1 packets: 18
      25.9999132 in 1 packets: 36
      12.9999566 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 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 20210817_084436_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.9645677 to 2.9648567
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.0797430  -- OK for SL --
   MIU time from 2021-08-17T08:44:40.183.390.000 to 2021-08-17T08:44:40.183.679.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.079799

 - 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 20.0445997 to 20.0448887
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.7793590  -- OK for SL --
   MIU time from 2021-08-17T08:44:57.263.478.000 to 2021-08-17T08:44:57.263.767.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.779446

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.8242477 to 45.8245367
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.5997910  -- OK for SL --
   MIU time from 2021-08-17T08:45:23.043.213.000 to 2021-08-17T08:45:23.043.502.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.599835

 - 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 59.4243277 to 59.4246167
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-17T08:45:36.643.337.000 to 2021-08-17T08:45:36.643.626.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 = 1, 32bit 10MHz counter = 2.964567700 corrected by 40bit 10MHz counter of 2.781176600 obtained at 1Hz counter of 1. Result: 1.183391724
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-17T08:44:40.183.249.725
   Max 1st sample MIU time among all SL packets: 2021-08-17T08:45:36.643.485.725
   Min 1st sample XO time among all SL packets: 1.183251448
   Max 1st sample XO time among all SL packets: 57.643488449
   TM values from -240 to 186 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-17T08:44:40.183.249.725 (XO: 1.183251448 - 1.183557449, t=37.2 degC)  Rank: 00081
   TM values: Max =   171  Min =  -221  Ave =    -4.52  Std =    18.26
   Min TM value:-221 at an offset of 127.088 usec -> 2021-08-17T08:44:40.183.376.812 (XO: 1.183378536)
   Max TM value:171 at an offset of 129.738 usec -> 2021-08-17T08:44:40.183.379.462 (XO: 1.183381186)
   Max dTM/dt [1/us]:1.43e+03 at an offset of 129.563 usec -> 2021-08-17T08:44:40.183.379.287 (XO: 1.183381011)
   Min dTM/dt [1/us]:-1.40e+03 at an offset of 126.875 usec -> 2021-08-17T08:44:40.183.376.600 (XO: 1.183378323)

 - Block number: 2 starting at 2021-08-17T08:44:57.263.337.725 (XO: 18.263339994 - 18.263645995, t=37.2 degC)  Rank: 00080
   TM values: Max =   179  Min =  -213  Ave =    -4.49  Std =    17.49
   Min TM value:-213 at an offset of 103.163 usec -> 2021-08-17T08:44:57.263.440.887 (XO: 18.263443157)
   Max TM value:179 at an offset of 105.713 usec -> 2021-08-17T08:44:57.263.443.437 (XO: 18.263445707)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 105.550 usec -> 2021-08-17T08:44:57.263.443.275 (XO: 18.263445544)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 102.938 usec -> 2021-08-17T08:44:57.263.440.662 (XO: 18.263442932)

 - Block number: 3 starting at 2021-08-17T08:45:23.043.072.725 (XO: 44.043074067 - 44.043380068, t=37.2 degC)  Rank: 00079
   TM values: Max =   172  Min =  -240  Ave =    -4.36  Std =    28.97
   Min TM value:-240 at an offset of 169.613 usec -> 2021-08-17T08:45:23.043.242.338 (XO: 44.043243680)
   Max TM value:172 at an offset of 172.201 usec -> 2021-08-17T08:45:23.043.244.925 (XO: 44.043246268)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 172.026 usec -> 2021-08-17T08:45:23.043.244.750 (XO: 44.043246093)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 183.426 usec -> 2021-08-17T08:45:23.043.256.150 (XO: 44.043257493)

 - Block number: 4 starting at 2021-08-17T08:45:36.643.196.725 (XO: 57.643199448 - 57.643505449, t=37.2 degC)  Rank: 00076
   TM values: Max =   186  Min =  -226  Ave =    -4.48  Std =    19.78
   Min TM value:-226 at an offset of 130.175 usec -> 2021-08-17T08:45:36.643.326.900 (XO: 57.643329623)
   Max TM value:186 at an offset of 132.775 usec -> 2021-08-17T08:45:36.643.329.500 (XO: 57.643332223)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 132.588 usec -> 2021-08-17T08:45:36.643.329.312 (XO: 57.643332035)
   Min dTM/dt [1/us]:-1.68e+03 at an offset of 129.988 usec -> 2021-08-17T08:45:36.643.326.712 (XO: 57.643329435)
