-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 19 20:25:28 2021 UTC
-- File 20210818_000822_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 5.737160 to 56.996817
-each separately from 5s to 56s and from 296864us to 996817us.
   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, ...
      21.559415 in 1 packets: 18
      11.499540 in 1 packets: 36
      18.199546 in 1 packets: 54
MIU packet time from 2021-08-18T00:08:30.737.160.000 to 2021-08-18T00:09:21.996.817.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, ...
      21.559415 in 1 packets: 18
      11.499540 in 1 packets: 36
      18.199546 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 6.8748276 to 57.8746590
   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, ...
      21.9999273 in 1 packets: 18
      10.9999636 in 1 packets: 36
      17.9999405 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210818_000822_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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.6119881 to 7.6122771
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.5593430  -- OK for SL --
   MIU time from 2021-08-18T00:08:30.737.160.000 to 2021-08-18T00:08:30.737.449.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.559415

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.1716201 to 29.1719091
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4995030  -- OK for SL --
   MIU time from 2021-08-18T00:08:52.296.864.000 to 2021-08-18T00:08:52.297.153.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.499540

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.6714121 to 40.6717011
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.1994870  -- OK for SL --
   MIU time from 2021-08-18T00:09:03.796.693.000 to 2021-08-18T00:09:03.796.982.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.199546

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.8711881 to 58.8714771
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-18T00:09:21.996.528.000 to 2021-08-18T00:09:21.996.817.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 = 5, 32bit 10MHz counter = 7.611988100 corrected by 40bit 10MHz counter of 6.874827600 obtained at 1Hz counter of 5. Result: 5.737162933
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-18T00:08:30.737.019.725
   Max 1st sample MIU time among all SL packets: 2021-08-18T00:09:21.996.676.725
   Min 1st sample XO time among all SL packets: 5.737022657
   Max 1st sample XO time among all SL packets: 56.996681014
   TM values from -246 to 188 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-18T00:08:30.737.019.725 (XO: 5.737022657 - 5.737328658, t=37.2 degC)  Rank: 00075
   TM values: Max =   185  Min =  -246  Ave =    -4.63  Std =    19.54
   Min TM value:-246 at an offset of 126.550 usec -> 2021-08-18T00:08:30.737.146.275 (XO: 5.737149208)
   Max TM value:185 at an offset of 129.113 usec -> 2021-08-18T00:08:30.737.148.837 (XO: 5.737151770)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 128.950 usec -> 2021-08-18T00:08:30.737.148.675 (XO: 5.737151608)
   Min dTM/dt [1/us]:-1.53e+03 at an offset of 126.375 usec -> 2021-08-18T00:08:30.737.146.100 (XO: 5.737149033)

 - Block number: 2 starting at 2021-08-18T00:08:52.296.723.725 (XO: 27.296725934 - 27.297031935, t=37.2 degC)  Rank: 00084
   TM values: Max =   182  Min =  -211  Ave =    -4.48  Std =    18.23
   Min TM value:-211 at an offset of 126.588 usec -> 2021-08-18T00:08:52.296.850.312 (XO: 27.296852522)
   Max TM value:182 at an offset of 129.138 usec -> 2021-08-18T00:08:52.296.852.862 (XO: 27.296855072)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 128.975 usec -> 2021-08-18T00:08:52.296.852.700 (XO: 27.296854909)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 126.388 usec -> 2021-08-18T00:08:52.296.850.112 (XO: 27.296852322)

 - Block number: 3 starting at 2021-08-18T00:09:03.796.552.725 (XO: 38.796555954 - 38.796861955, t=37.2 degC)  Rank: 00074
   TM values: Max =   179  Min =  -211  Ave =    -4.49  Std =    17.52
   Min TM value:-211 at an offset of 127.238 usec -> 2021-08-18T00:09:03.796.679.962 (XO: 38.796683192)
   Max TM value:179 at an offset of 130.000 usec -> 2021-08-18T00:09:03.796.682.725 (XO: 38.796685954)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 129.850 usec -> 2021-08-18T00:09:03.796.682.575 (XO: 38.796685804)
   Min dTM/dt [1/us]:-1.22e+03 at an offset of 127.100 usec -> 2021-08-18T00:09:03.796.679.825 (XO: 38.796683054)

 - Block number: 4 starting at 2021-08-18T00:09:21.996.387.725 (XO: 56.996392013 - 56.996698014, t=37.2 degC)  Rank: 00080
   TM values: Max =   188  Min =  -234  Ave =    -4.56  Std =    20.76
   Min TM value:-234 at an offset of 129.975 usec -> 2021-08-18T00:09:21.996.517.700 (XO: 56.996521989)
   Max TM value:188 at an offset of 129.675 usec -> 2021-08-18T00:09:21.996.517.400 (XO: 56.996521689)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 132.350 usec -> 2021-08-18T00:09:21.996.520.075 (XO: 56.996524364)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 129.788 usec -> 2021-08-18T00:09:21.996.517.512 (XO: 56.996521801)
