-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Nov 25 00:14:08 2021 UTC
-- File 20210724_062507_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 4.924668 to 36.534744
-each separately from 4s to 36s and from 34530us to 924957us.
   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, ...
      20.109573 in 1 packets: 18
      11.499636 in 1 packets: 36
MIU packet time from 2021-07-24T06:25:14.924.668.000 to 2021-07-24T06:25:46.534.744.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, ...
      20.109573 in 1 packets: 18
      11.499636 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 5.8951033 to 37.8949959
   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, ...
      20.9999296 in 1 packets: 18
      10.9999630 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 20210724_062507_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 6.8197722 to 6.8200612
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.1095030  -- OK for SL --
   MIU time from 2021-07-24T06:25:14.924.668.000 to 2021-07-24T06:25:14.924.957.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.109573

 - 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 26.9295642 to 26.9298532
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4995990  -- OK for SL --
   MIU time from 2021-07-24T06:25:35.034.530.000 to 2021-07-24T06:25:35.034.819.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.499636

 - 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 38.4294522 to 38.4297412
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-24T06:25:46.534.455.000 to 2021-07-24T06:25:46.534.744.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 = 4, 32bit 10MHz counter = 6.819772200 corrected by 40bit 10MHz counter of 5.895103300 obtained at 1Hz counter of 4. Result: 4.924671951
--
   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-07-24T06:25:14.924.527.725
   Max 1st sample MIU time among all SL packets: 2021-07-24T06:25:46.534.603.725
   Min 1st sample XO time among all SL packets: 4.924531676
   Max 1st sample XO time among all SL packets: 36.534606789
   TM values from -284 to 260 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-24T06:25:14.924.527.725 (XO: 4.924531676 - 4.924837677, t=37.2 degC)  Rank: 00082
   TM values: Max =   260  Min =  -258  Ave =    -4.39  Std =    23.84
   Min TM value:-258 at an offset of 114.913 usec -> 2021-07-24T06:25:14.924.642.637 (XO: 4.924646589)
   Max TM value:260 at an offset of 112.763 usec -> 2021-07-24T06:25:14.924.640.487 (XO: 4.924644439)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 117.288 usec -> 2021-07-24T06:25:14.924.645.012 (XO: 4.924648964)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 114.775 usec -> 2021-07-24T06:25:14.924.642.500 (XO: 4.924646451)

 - Block number: 2 starting at 2021-07-24T06:25:35.034.389.725 (XO: 25.034391142 - 25.034697143, t=37.2 degC)  Rank: 00078
   TM values: Max =   246  Min =  -283  Ave =    -4.49  Std =    25.35
   Min TM value:-283 at an offset of 130.013 usec -> 2021-07-24T06:25:35.034.519.737 (XO: 25.034521155)
   Max TM value:246 at an offset of 127.775 usec -> 2021-07-24T06:25:35.034.517.500 (XO: 25.034518917)
   Max dTM/dt [1/us]:2.55e+03 at an offset of 132.400 usec -> 2021-07-24T06:25:35.034.522.125 (XO: 25.034523542)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 129.875 usec -> 2021-07-24T06:25:35.034.519.600 (XO: 25.034521017)

 - Block number: 3 starting at 2021-07-24T06:25:46.534.314.725 (XO: 36.534317788 - 36.534623789, t=37.2 degC)  Rank: 00079
   TM values: Max =   255  Min =  -284  Ave =    -4.44  Std =    27.38
   Min TM value:-284 at an offset of 129.813 usec -> 2021-07-24T06:25:46.534.444.537 (XO: 36.534447601)
   Max TM value:255 at an offset of 129.500 usec -> 2021-07-24T06:25:46.534.444.225 (XO: 36.534447289)
   Max dTM/dt [1/us]:2.98e+03 at an offset of 132.150 usec -> 2021-07-24T06:25:46.534.446.875 (XO: 36.534449939)
   Min dTM/dt [1/us]:-2.73e+03 at an offset of 129.613 usec -> 2021-07-24T06:25:46.534.444.337 (XO: 36.534447401)
