-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 27 10:29:07 2021 UTC
-- File 20210828_081031_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.574681 to 54.635164
-each separately from 5s to 54s and from 20001us to 958650us.
   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, ...
      21.445031 in 1 packets: 18
      7.938071 in 1 packets: 36
      19.676225 in 1 packets: 54
MIU packet time from 2021-08-28T08:10:39.574.681.000 to 2021-08-28T08:11:28.635.164.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, ...
      21.445031 in 1 packets: 18
      7.938071 in 1 packets: 36
      19.676225 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.9413213 to 55.9411597
   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, ...
      21.9999275 in 1 packets: 18
      6.9999769 in 1 packets: 36
      19.9999340 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210828_081031_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 7.5160030 to 7.5162920
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.4449590  -- OK for SL --
   MIU time from 2021-08-28T08:10:39.574.681.000 to 2021-08-28T08:10:39.574.970.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.445031

 - 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 28.9612510 to 28.9615400
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.9380470  -- OK for SL --
   MIU time from 2021-08-28T08:11:01.020.001.000 to 2021-08-28T08:11:01.020.290.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.938071

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.8995870 to 36.8998760
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.6761590  -- OK for SL --
   MIU time from 2021-08-28T08:11:08.958.361.000 to 2021-08-28T08:11:08.958.650.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.676225

 - 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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.5760350 to 56.5763240
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-28T08:11:28.634.875.000 to 2021-08-28T08:11:28.635.164.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.516003000 corrected by 40bit 10MHz counter of 6.941321300 obtained at 1Hz counter of 5. Result: 5.574683596
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-28T08:10:39.574.540.725
   Max 1st sample MIU time among all SL packets: 2021-08-28T08:11:28.635.023.725
   Min 1st sample XO time among all SL packets: 5.574543321
   Max 1st sample XO time among all SL packets: 54.635026121
   TM values from -266 to 209 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-28T08:10:39.574.540.725 (XO: 5.574543321 - 5.574849322, t=37.2 degC)  Rank: 00081
   TM values: Max =   195  Min =  -215  Ave =    -4.45  Std =    18.31
   Min TM value:-215 at an offset of 123.063 usec -> 2021-08-28T08:10:39.574.663.787 (XO: 5.574666384)
   Max TM value:195 at an offset of 125.788 usec -> 2021-08-28T08:10:39.574.666.512 (XO: 5.574669109)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 125.650 usec -> 2021-08-28T08:10:39.574.666.375 (XO: 5.574668971)
   Min dTM/dt [1/us]:-1.61e+03 at an offset of 110.438 usec -> 2021-08-28T08:10:39.574.651.162 (XO: 5.574653759)

 - Block number: 2 starting at 2021-08-28T08:11:01.019.860.725 (XO: 27.019861991 - 27.020167992, t=37.2 degC)  Rank: 00080
   TM values: Max =   208  Min =  -254  Ave =    -4.49  Std =    20.96
   Min TM value:-254 at an offset of 123.763 usec -> 2021-08-28T08:11:01.019.984.487 (XO: 27.019985753)
   Max TM value:208 at an offset of 123.463 usec -> 2021-08-28T08:11:01.019.984.187 (XO: 27.019985453)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 126.088 usec -> 2021-08-28T08:11:01.019.986.812 (XO: 27.019988078)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 123.563 usec -> 2021-08-28T08:11:01.019.984.287 (XO: 27.019985553)

 - Block number: 3 starting at 2021-08-28T08:11:08.958.220.725 (XO: 34.958224187 - 34.958530188, t=37.2 degC)  Rank: 00080
   TM values: Max =   209  Min =  -266  Ave =    -4.48  Std =    22.87
   Min TM value:-266 at an offset of 130.275 usec -> 2021-08-28T08:11:08.958.351.000 (XO: 34.958354463)
   Max TM value:209 at an offset of 128.250 usec -> 2021-08-28T08:11:08.958.348.975 (XO: 34.958352438)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 132.688 usec -> 2021-08-28T08:11:08.958.353.412 (XO: 34.958356875)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 130.138 usec -> 2021-08-28T08:11:08.958.350.862 (XO: 34.958354325)

 - Block number: 4 starting at 2021-08-28T08:11:28.634.734.725 (XO: 54.634737120 - 54.635043121, t=37.2 degC)  Rank: 00088
   TM values: Max =   192  Min =  -228  Ave =    -4.58  Std =    19.29
   Min TM value:-228 at an offset of 124.625 usec -> 2021-08-28T08:11:28.634.859.350 (XO: 54.634861745)
   Max TM value:192 at an offset of 127.238 usec -> 2021-08-28T08:11:28.634.861.962 (XO: 54.634864358)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 127.025 usec -> 2021-08-28T08:11:28.634.861.750 (XO: 54.634864145)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 124.450 usec -> 2021-08-28T08:11:28.634.859.175 (XO: 54.634861570)
