-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec  5 04:40:20 2021 UTC
-- File 20210802_162744_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 4.601189 to 47.961749
-each separately from 4s to 47s and from 89280us to 961749us.
   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, ...
      17.487802 in 1 packets: 18
      8.003354 in 1 packets: 36
      17.868248 in 1 packets: 54
MIU packet time from 2021-08-02T16:27:51.601.189.000 to 2021-08-02T16:28:34.961.749.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, ...
      17.487802 in 1 packets: 18
      8.003354 in 1 packets: 36
      17.868248 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 5.8938175 to 48.8936740
   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.9999400 in 1 packets: 18
      7.9999733 in 1 packets: 36
      16.9999432 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: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210802_162744_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 6.4950069 to 6.4952959
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.4877430  -- OK for SL --
   MIU time from 2021-08-02T16:27:51.601.189.000 to 2021-08-02T16:27:51.601.478.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.487802

 - 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 23.9830389 to 23.9833279
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.0033270  -- OK for SL --
   MIU time from 2021-08-02T16:28:09.089.280.000 to 2021-08-02T16:28:09.089.569.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.003354

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.9866549 to 31.9869439
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.8681910  -- OK for SL --
   MIU time from 2021-08-02T16:28:17.092.923.000 to 2021-08-02T16:28:17.093.212.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.868248

 - 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 49.8551349 to 49.8554239
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-02T16:28:34.961.460.000 to 2021-08-02T16:28:34.961.749.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 = 4, 32bit 10MHz counter = 6.495006900 corrected by 40bit 10MHz counter of 5.893817500 obtained at 1Hz counter of 4. Result: 4.601191444
--
   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-02T16:27:51.601.048.725
   Max 1st sample MIU time among all SL packets: 2021-08-02T16:28:34.961.608.725
   Min 1st sample XO time among all SL packets: 4.601051169
   Max 1st sample XO time among all SL packets: 47.961612894
   TM values from -284 to 240 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-02T16:27:51.601.048.725 (XO: 4.601051169 - 4.601357170, t=37.2 degC)  Rank: 00080
   TM values: Max =   222  Min =  -280  Ave =    -4.47  Std =    21.86
   Min TM value:-280 at an offset of 112.163 usec -> 2021-08-02T16:27:51.601.160.887 (XO: 4.601163331)
   Max TM value:222 at an offset of 111.875 usec -> 2021-08-02T16:27:51.601.160.600 (XO: 4.601163044)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 114.525 usec -> 2021-08-02T16:27:51.601.163.250 (XO: 4.601165694)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 111.988 usec -> 2021-08-02T16:27:51.601.160.712 (XO: 4.601163156)

 - Block number: 2 starting at 2021-08-02T16:28:09.089.139.725 (XO: 22.089141419 - 22.089447420, t=37.2 degC)  Rank: 00078
   TM values: Max =   232  Min =  -235  Ave =    -4.51  Std =    19.68
   Min TM value:-235 at an offset of 123.638 usec -> 2021-08-02T16:28:09.089.263.362 (XO: 22.089265057)
   Max TM value:232 at an offset of 126.288 usec -> 2021-08-02T16:28:09.089.266.012 (XO: 22.089267707)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 126.150 usec -> 2021-08-02T16:28:09.089.265.875 (XO: 22.089267570)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 123.425 usec -> 2021-08-02T16:28:09.089.263.150 (XO: 22.089264845)

 - Block number: 3 starting at 2021-08-02T16:28:17.092.782.725 (XO: 30.092784131 - 30.093090132, t=37.2 degC)  Rank: 00078
   TM values: Max =   237  Min =  -253  Ave =    -4.55  Std =    20.68
   Min TM value:-253 at an offset of 126.563 usec -> 2021-08-02T16:28:17.092.909.287 (XO: 30.092910694)
   Max TM value:237 at an offset of 129.250 usec -> 2021-08-02T16:28:17.092.911.975 (XO: 30.092913382)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 129.075 usec -> 2021-08-02T16:28:17.092.911.800 (XO: 30.092913207)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 126.338 usec -> 2021-08-02T16:28:17.092.909.062 (XO: 30.092910469)

 - Block number: 4 starting at 2021-08-02T16:28:34.961.319.725 (XO: 47.961323894 - 47.961629895, t=37.2 degC)  Rank: 00079
   TM values: Max =   240  Min =  -284  Ave =    -4.49  Std =    25.80
   Min TM value:-284 at an offset of 125.850 usec -> 2021-08-02T16:28:34.961.445.575 (XO: 47.961449744)
   Max TM value:240 at an offset of 125.563 usec -> 2021-08-02T16:28:34.961.445.287 (XO: 47.961449456)
   Max dTM/dt [1/us]:2.46e+03 at an offset of 128.200 usec -> 2021-08-02T16:28:34.961.447.925 (XO: 47.961452094)
   Min dTM/dt [1/us]:-2.68e+03 at an offset of 125.688 usec -> 2021-08-02T16:28:34.961.445.412 (XO: 47.961449581)
