-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec  9 09:28:10 2021 UTC
-- File 20210808_000951_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 0.173656 to 47.624453
-each separately from 0s to 47s and from 173656us to 794245us.
   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, ...
      23.620011 in 1 packets: 18
      10.889796 in 1 packets: 36
      12.939834 in 1 packets: 54
MIU packet time from 2021-08-08T00:09:54.173.656.000 to 2021-08-08T00:10:41.624.453.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, ...
      23.620011 in 1 packets: 18
      10.889796 in 1 packets: 36
      12.939834 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 1.7459234 to 48.7457674
   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, ...
      22.9999237 in 1 packets: 18
      10.9999635 in 1 packets: 36
      12.9999568 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20210808_000951_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.9195802 to 1.9198692
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.6199350  -- OK for SL --
   MIU time from 2021-08-08T00:09:54.173.656.000 to 2021-08-08T00:09:54.173.945.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.620011

 - 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 25.5398042 to 25.5400932
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8897590  -- OK for SL --
   MIU time from 2021-08-08T00:10:17.793.956.000 to 2021-08-08T00:10:17.794.245.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.889796

 - 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 36.4298522 to 36.4301412
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.9397910  -- OK for SL --
   MIU time from 2021-08-08T00:10:28.684.041.000 to 2021-08-08T00:10:28.684.330.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.939834

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.3699322 to 49.3702212
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-08T00:10:41.624.164.000 to 2021-08-08T00:10:41.624.453.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 = 0, 32bit 10MHz counter = 1.919580200 corrected by 40bit 10MHz counter of 1.745923400 obtained at 1Hz counter of 0. Result: 0.173657373
--
   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-08T00:09:54.173.515.725
   Max 1st sample MIU time among all SL packets: 2021-08-08T00:10:41.624.312.725
   Min 1st sample XO time among all SL packets: 0.173517098
   Max 1st sample XO time among all SL packets: 47.624315585
   TM values from -255 to 213 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-08T00:09:54.173.515.725 (XO: 0.173517098 - 0.173823099, t=37.2 degC)  Rank: 00080
   TM values: Max =   213  Min =  -255  Ave =    -4.42  Std =    18.99
   Min TM value:-255 at an offset of 121.913 usec -> 2021-08-08T00:09:54.173.637.637 (XO: 0.173639011)
   Max TM value:213 at an offset of 121.613 usec -> 2021-08-08T00:09:54.173.637.337 (XO: 0.173638711)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 124.288 usec -> 2021-08-08T00:09:54.173.640.012 (XO: 0.173641386)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 121.738 usec -> 2021-08-08T00:09:54.173.637.462 (XO: 0.173638836)

 - Block number: 2 starting at 2021-08-08T00:10:17.793.815.725 (XO: 23.793819524 - 23.794125525, t=37.2 degC)  Rank: 00078
   TM values: Max =   190  Min =  -240  Ave =    -4.44  Std =    19.25
   Min TM value:-240 at an offset of 122.163 usec -> 2021-08-08T00:10:17.793.937.887 (XO: 23.793941687)
   Max TM value:190 at an offset of 124.825 usec -> 2021-08-08T00:10:17.793.940.550 (XO: 23.793944349)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 124.638 usec -> 2021-08-08T00:10:17.793.940.362 (XO: 23.793944162)
   Min dTM/dt [1/us]:-1.65e+03 at an offset of 122.025 usec -> 2021-08-08T00:10:17.793.937.750 (XO: 23.793941549)

 - Block number: 3 starting at 2021-08-08T00:10:28.683.900.725 (XO: 34.683903650 - 34.684209651, t=37.2 degC)  Rank: 00079
   TM values: Max =   195  Min =  -235  Ave =    -4.49  Std =    28.12
   Min TM value:-235 at an offset of 60.638 usec -> 2021-08-08T00:10:28.683.961.362 (XO: 34.683964288)
   Max TM value:195 at an offset of 63.288 usec -> 2021-08-08T00:10:28.683.964.012 (XO: 34.683966938)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 121.163 usec -> 2021-08-08T00:10:28.684.021.887 (XO: 34.684024813)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 60.488 usec -> 2021-08-08T00:10:28.683.961.212 (XO: 34.683964138)

 - Block number: 4 starting at 2021-08-08T00:10:41.624.023.725 (XO: 47.624026584 - 47.624332585, t=37.2 degC)  Rank: 00075
   TM values: Max =   189  Min =  -242  Ave =    -4.65  Std =    21.83
   Min TM value:-242 at an offset of 119.000 usec -> 2021-08-08T00:10:41.624.142.725 (XO: 47.624145585)
   Max TM value:189 at an offset of 121.663 usec -> 2021-08-08T00:10:41.624.145.387 (XO: 47.624148247)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 121.525 usec -> 2021-08-08T00:10:41.624.145.250 (XO: 47.624148110)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 118.875 usec -> 2021-08-08T00:10:41.624.142.600 (XO: 47.624145460)
