-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Nov  5 23:39:42 2021 UTC
-- File 20210706_191225_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.082059 to 57.317193
-each separately from 9s to 57s and from 82059us to 914720us.
   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, ...
      18.571601 in 1 packets: 18
      5.260193 in 1 packets: 36
      24.402184 in 1 packets: 54
MIU packet time from 2021-07-06T19:12:37.082.059.000 to 2021-07-06T19:13:25.317.193.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, ...
      18.571601 in 1 packets: 18
      5.260193 in 1 packets: 36
      24.402184 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 11.0982033 to 59.0980304
   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, ...
      17.9999351 in 1 packets: 18
      4.9999820 in 1 packets: 36
      24.9999100 in 1 packets: 54
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, ...
      04 -> 49.8 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 20210706_191225_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.1802636 to 11.1805526
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.5715350  -- OK for SL --
   MIU time from 2021-07-06T19:12:37.082.059.000 to 2021-07-06T19:12:37.082.348.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.571601

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.7520876 to 29.7523766
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.2601750  -- OK for SL --
   MIU time from 2021-07-06T19:12:55.653.949.000 to 2021-07-06T19:12:55.654.238.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.260193

 - 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 35.0125516 to 35.0128406
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.4020950  -- OK for SL --
   MIU time from 2021-07-06T19:13:00.914.431.000 to 2021-07-06T19:13:00.914.720.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.402184

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.4149356 to 59.4152246
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-06T19:13:25.316.904.000 to 2021-07-06T19:13:25.317.193.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.180263600 corrected by 40bit 10MHz counter of 11.098203300 obtained at 1Hz counter of 9. Result: 9.082060604
--
   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.999996300 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2021-07-06T19:12:37.081.918.725
   Max 1st sample MIU time among all SL packets: 2021-07-06T19:13:25.317.052.725
   Min 1st sample XO time among all SL packets: 9.081920328
   Max 1st sample XO time among all SL packets: 57.317055035
   TM values from -320 to 283 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-06T19:12:37.081.918.725 (XO: 9.081920328 - 9.082226329, t=37.2 degC)  Rank: 00082
   TM values: Max =   283  Min =  -282  Ave =    -4.50  Std =    26.64
   Min TM value:-282 at an offset of 113.388 usec -> 2021-07-06T19:12:37.082.032.112 (XO: 9.082033716)
   Max TM value:283 at an offset of 110.850 usec -> 2021-07-06T19:12:37.082.029.575 (XO: 9.082031179)
   Max dTM/dt [1/us]:2.78e+03 at an offset of 113.513 usec -> 2021-07-06T19:12:37.082.032.237 (XO: 9.082033841)
   Min dTM/dt [1/us]:-2.62e+03 at an offset of 110.975 usec -> 2021-07-06T19:12:37.082.029.700 (XO: 9.082031304)

 - Block number: 2 starting at 2021-07-06T19:12:55.653.808.725 (XO: 27.653811279 - 27.654117280, t=37.2 degC)  Rank: 00070
   TM values: Max =   247  Min =  -282  Ave =    -4.52  Std =    32.89
   Min TM value:-282 at an offset of 93.425 usec -> 2021-07-06T19:12:55.653.902.150 (XO: 27.653904704)
   Max TM value:247 at an offset of 88.963 usec -> 2021-07-06T19:12:55.653.897.687 (XO: 27.653900242)
   Max dTM/dt [1/us]:2.68e+03 at an offset of 93.500 usec -> 2021-07-06T19:12:55.653.902.225 (XO: 27.653904779)
   Min dTM/dt [1/us]:-2.55e+03 at an offset of 90.963 usec -> 2021-07-06T19:12:55.653.899.687 (XO: 27.653902242)

 - Block number: 3 starting at 2021-07-06T19:13:00.914.290.725 (XO: 32.914294216 - 32.914600218, t=37.2 degC)  Rank: 00083
   TM values: Max =   257  Min =  -320  Ave =    -4.62  Std =    36.13
   Min TM value:-320 at an offset of 182.451 usec -> 2021-07-06T19:13:00.914.473.175 (XO: 32.914476667)
   Max TM value:257 at an offset of 180.088 usec -> 2021-07-06T19:13:00.914.470.813 (XO: 32.914474305)
   Max dTM/dt [1/us]:2.75e+03 at an offset of 128.900 usec -> 2021-07-06T19:13:00.914.419.625 (XO: 32.914423117)
   Min dTM/dt [1/us]:-2.83e+03 at an offset of 195.863 usec -> 2021-07-06T19:13:00.914.486.588 (XO: 32.914490080)

 - Block number: 4 starting at 2021-07-06T19:13:25.316.763.725 (XO: 57.316766034 - 57.317072035, t=37.2 degC)  Rank: 00079
   TM values: Max =   271  Min =  -287  Ave =    -4.52  Std =    26.37
   Min TM value:-287 at an offset of 99.488 usec -> 2021-07-06T19:13:25.316.863.212 (XO: 57.316865522)
   Max TM value:271 at an offset of 114.750 usec -> 2021-07-06T19:13:25.316.878.475 (XO: 57.316880784)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 114.638 usec -> 2021-07-06T19:13:25.316.878.362 (XO: 57.316880672)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 111.913 usec -> 2021-07-06T19:13:25.316.875.637 (XO: 57.316877947)
