-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Oct 30 08:49:07 2021 UTC
-- File 20210704_155047_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 1.326816 to 33.755922
-each separately from 1s to 33s and from 326816us to 755922us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      17.349083 in 1 packets: 18
      15.079156 in 1 packets: 36
MIU packet time from 2021-07-04T15:50:47.326.816.000 to 2021-07-04T15:51:19.755.922.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      17.349083 in 1 packets: 18
      15.079156 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 2.8983507 to 34.8982381
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      16.9999403 in 1 packets: 18
      14.9999471 in 1 packets: 36
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, ...
      06 -> 47.2 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C0 -> 35.6 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 53 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 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210704_155047_1227.dat, 3 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 3.2251678 to 3.2254568
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.3490230  -- OK for SL --
   MIU time from 2021-07-04T15:50:47.326.816.000 to 2021-07-04T15:50:47.327.105.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.349083

 - 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 20.5744798 to 20.5747688
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0791030  -- OK for SL --
   MIU time from 2021-07-04T15:51:04.676.188.000 to 2021-07-04T15:51:04.676.477.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.079156

 - 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 35.6538718 to 35.6541608
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-04T15:51:19.755.633.000 to 2021-07-04T15:51:19.755.922.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 1, 32bit 10MHz counter = 3.225167800 corrected by 40bit 10MHz counter of 2.898350700 obtained at 1Hz counter of 1. Result: 1.326818244
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2021-07-04T15:50:47.326.675.725
   Max 1st sample MIU time among all SL packets: 2021-07-04T15:51:19.755.781.725
   Min 1st sample XO time among all SL packets: 1.326677968
   Max 1st sample XO time among all SL packets: 33.755785070
   TM values from -245 to 269 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-04T15:50:47.326.675.725 (XO: 1.326677968 - 1.326983969, t=35.6 degC)  Rank: 00082
   TM values: Max =   220  Min =  -232  Ave =    -4.62  Std =    19.24
   Min TM value:-232 at an offset of 107.975 usec -> 2021-07-04T15:50:47.326.783.700 (XO: 1.326785944)
   Max TM value:220 at an offset of 123.313 usec -> 2021-07-04T15:50:47.326.799.037 (XO: 1.326801281)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 123.188 usec -> 2021-07-04T15:50:47.326.798.912 (XO: 1.326801156)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 120.450 usec -> 2021-07-04T15:50:47.326.796.175 (XO: 1.326798419)

 - Block number: 2 starting at 2021-07-04T15:51:04.676.047.725 (XO: 18.676050891 - 18.676356892, t=35.6 degC)  Rank: 00079
   TM values: Max =   231  Min =  -245  Ave =    -4.51  Std =    21.81
   Min TM value:-245 at an offset of 119.613 usec -> 2021-07-04T15:51:04.676.167.337 (XO: 18.676170504)
   Max TM value:231 at an offset of 122.338 usec -> 2021-07-04T15:51:04.676.170.062 (XO: 18.676173229)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 122.213 usec -> 2021-07-04T15:51:04.676.169.937 (XO: 18.676173104)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 119.500 usec -> 2021-07-04T15:51:04.676.167.225 (XO: 18.676170392)

 - Block number: 3 starting at 2021-07-04T15:51:19.755.492.725 (XO: 33.755496069 - 33.755802070, t=35.6 degC)  Rank: 00079
   TM values: Max =   269  Min =  -238  Ave =    -4.56  Std =    19.94
   Min TM value:-238 at an offset of 97.575 usec -> 2021-07-04T15:51:19.755.590.300 (XO: 33.755593645)
   Max TM value:269 at an offset of 100.313 usec -> 2021-07-04T15:51:19.755.593.037 (XO: 33.755596382)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 100.188 usec -> 2021-07-04T15:51:19.755.592.912 (XO: 33.755596257)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 97.413 usec -> 2021-07-04T15:51:19.755.590.137 (XO: 33.755593482)
