-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec 30 09:41:21 2021 UTC
-- File 20210831_072946_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 5.719073 to 47.580926
-each separately from 5s to 47s and from 99395us to 980913us.
   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, ...
      14.380033 in 1 packets: 18
      23.880940 in 1 packets: 36
      3.599724 in 1 packets: 54
MIU packet time from 2021-08-31T07:29:54.719.073.000 to 2021-08-31T07:30:36.580.926.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, ...
      14.380033 in 1 packets: 18
      23.880940 in 1 packets: 36
      3.599724 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 6.8598256 to 48.8596849
   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, ...
      14.9999498 in 1 packets: 18
      22.9999228 in 1 packets: 36
      3.9999867 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
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: 
      1 in 1 packets: 1
      2 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: 
      1 in 1 packets: 1
      2 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 20210831_072946_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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.5788992 to 7.5791882
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.3799830  -- OK for SL --
   MIU time from 2021-08-31T07:29:54.719.073.000 to 2021-08-31T07:29:54.719.362.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.380033

 - 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 21.9591712 to 21.9594602
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.8808630  -- OK for SL --
   MIU time from 2021-08-31T07:30:09.099.395.000 to 2021-08-31T07:30:09.099.684.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.880940

 - 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.8403232 to 45.8406122
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.5997110  -- OK for SL --
   MIU time from 2021-08-31T07:30:32.980.624.000 to 2021-08-31T07:30:32.980.913.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.599724

 - 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 49.4403232 to 49.4406122
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-31T07:30:36.580.637.000 to 2021-08-31T07:30:36.580.926.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 = 5, 32bit 10MHz counter = 7.578899200 corrected by 40bit 10MHz counter of 6.859825600 obtained at 1Hz counter of 5. Result: 5.719076045
--
   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-31T07:29:54.718.932.725
   Max 1st sample MIU time among all SL packets: 2021-08-31T07:30:36.580.785.725
   Min 1st sample XO time among all SL packets: 5.718935769
   Max 1st sample XO time among all SL packets: 47.580789000
   TM values from -271 to 226 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-31T07:29:54.718.932.725 (XO: 5.718935769 - 5.719241770, t=37.2 degC)  Rank: 00088
   TM values: Max =   226  Min =  -271  Ave =    -4.65  Std =    22.28
   Min TM value:-271 at an offset of 119.575 usec -> 2021-08-31T07:29:54.719.052.300 (XO: 5.719055345)
   Max TM value:226 at an offset of 122.100 usec -> 2021-08-31T07:29:54.719.054.825 (XO: 5.719057870)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 121.925 usec -> 2021-08-31T07:29:54.719.054.650 (XO: 5.719057695)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 119.400 usec -> 2021-08-31T07:29:54.719.052.125 (XO: 5.719055170)

 - Block number: 2 starting at 2021-08-31T07:30:09.099.254.725 (XO: 20.099255853 - 20.099561854, t=37.2 degC)  Rank: 00078
   TM values: Max =   198  Min =  -245  Ave =    -4.53  Std =    19.95
   Min TM value:-245 at an offset of 120.875 usec -> 2021-08-31T07:30:09.099.375.600 (XO: 20.099376728)
   Max TM value:198 at an offset of 123.400 usec -> 2021-08-31T07:30:09.099.378.125 (XO: 20.099379253)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 123.225 usec -> 2021-08-31T07:30:09.099.377.950 (XO: 20.099379078)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 120.638 usec -> 2021-08-31T07:30:09.099.375.362 (XO: 20.099376490)

 - Block number: 3 starting at 2021-08-31T07:30:32.980.483.725 (XO: 43.980487961 - 43.980793962, t=37.2 degC)  Rank: 00079
   TM values: Max =   203  Min =  -239  Ave =    -4.60  Std =    24.14
   Min TM value:-239 at an offset of 108.000 usec -> 2021-08-31T07:30:32.980.591.725 (XO: 43.980595961)
   Max TM value:203 at an offset of 110.638 usec -> 2021-08-31T07:30:32.980.594.362 (XO: 43.980598598)
   Max dTM/dt [1/us]:1.53e+03 at an offset of 110.463 usec -> 2021-08-31T07:30:32.980.594.187 (XO: 43.980598423)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 107.813 usec -> 2021-08-31T07:30:32.980.591.537 (XO: 43.980595773)

 - Block number: 4 starting at 2021-08-31T07:30:36.580.496.725 (XO: 47.580499999 - 47.580806000, t=37.2 degC)  Rank: 00078
   TM values: Max =   199  Min =  -254  Ave =    -4.57  Std =    27.96
   Min TM value:-254 at an offset of 122.150 usec -> 2021-08-31T07:30:36.580.618.875 (XO: 47.580622149)
   Max TM value:199 at an offset of 119.888 usec -> 2021-08-31T07:30:36.580.616.612 (XO: 47.580619887)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 170.301 usec -> 2021-08-31T07:30:36.580.667.025 (XO: 47.580670299)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 121.975 usec -> 2021-08-31T07:30:36.580.618.700 (XO: 47.580621974)
