-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec  5 16:18:15 2021 UTC
-- File 20210803_045658_1227.dat, 108  packets found.
APID:
      1227 (SL) in 108 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 108 packets (all packets)
Total number of packets: 
      18 in 108 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 6.752031 to 88.946065
-each separately from 6s to 88s and from 260242us to 946065us.
   Differences in neigboring packets: 
      0.000017 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      18.148427 in 1 packets: 18
      6.359206 in 1 packets: 36
      27.207545 in 1 packets: 54
      16.048612 in 1 packets: 72
      14.428510 in 1 packets: 90
MIU packet time from 2021-08-03T04:57:07.752.031.000 to 2021-08-03T04:58:29.946.065.000
   Differences in neigboring packets: 
      0.000017 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      18.148427 in 1 packets: 18
      6.359206 in 1 packets: 36
      27.207545 in 1 packets: 54
      16.048612 in 1 packets: 72
      14.428510 in 1 packets: 90
MIU orbit number: 
      60000 in 108 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 108 packets (all packets)
MIU orbit information / number of events: 
      0 in 108 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 108 packets (all packets)
Instrument anomalies: 
      0 (OK) in 108 packets (all packets)
FPGA configuration version: 
      211 in 108 packets (all packets)
10 MHz counter at the last 1Hz pulse from 8.1512903 to 90.1510178
   Differences in neigboring packets: 
      0.0000000 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      17.9999403 in 1 packets: 18
      6.9999767 in 1 packets: 36
      26.9999102 in 1 packets: 54
      15.9999469 in 1 packets: 72
      13.9999534 in 1 packets: 90
Temperature FPGA: 
      03 -> 51.1 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 54 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 108 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 108 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 108 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 107 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 107 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Survey memory error: 
      0 in 108 packets (all packets)
Event memory error: 
      0 in 108 packets (all packets)
Configuration error: 
      0 in 108 packets (all packets)
SDRAM CRC error: 
      0 in 108 packets (all packets)
Radio gain: 
      0 in 108 packets (all packets)
Radio bandwidth: 
      0 in 108 packets (all packets)
Digital gain: 
      0 in 108 packets (all packets)
Analog gain: 
      0 in 108 packets (all packets)
 
SURVEY DATA READER
-- File 20210803_045658_1227.dat, 6 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.9033225 to 8.9036115
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.1483670  -- OK for SL --
   MIU time from 2021-08-03T04:57:07.752.031.000 to 2021-08-03T04:57:07.752.320.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.148427

 - 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 27.0519785 to 27.0522675
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.3591830  -- OK for SL --
   MIU time from 2021-08-03T04:57:25.900.747.000 to 2021-08-03T04:57:25.901.036.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.359206

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.4114505 to 33.4117395
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.2074550  -- OK for SL --
   MIU time from 2021-08-03T04:57:32.260.242.000 to 2021-08-03T04:57:32.260.531.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.207545

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.6191945 to 60.6194835
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0485590  -- OK for SL --
   MIU time from 2021-08-03T04:57:59.468.076.000 to 2021-08-03T04:57:59.468.365.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.048612

 - Block number: 5 from the sequence of 18 packets.
   Block numbers in the data:
      5 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 76.6680425 to 76.6683315
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4284630  -- OK for SL --
   MIU time from 2021-08-03T04:58:15.516.977.000 to 2021-08-03T04:58:15.517.266.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.428510

 - Block number: 6 from the sequence of 18 packets.
   Block numbers in the data:
      6 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 91.0967945 to 91.0970835
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T04:58:29.945.776.000 to 2021-08-03T04:58:29.946.065.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 108 points based on 89 XO calibration points at 1Hz counter from 0 to 88
   --- First point: 1Hz counter = 6, 32bit 10MHz counter = 8.903322500 corrected by 40bit 10MHz counter of 8.151290300 obtained at 1Hz counter of 6. Result: 6.752034682
--
   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-03T04:57:07.751.890.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T04:58:29.945.924.725
   Min 1st sample XO time among all SL packets: 6.751894406
   Max 1st sample XO time among all SL packets: 88.945928547
   TM values from -261 to 225 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T04:57:07.751.890.725 (XO: 6.751894406 - 6.752200407, t=37.2 degC)  Rank: 00081
   TM values: Max =   225  Min =  -261  Ave =    -4.40  Std =    22.06
   Min TM value:-261 at an offset of 115.088 usec -> 2021-08-03T04:57:07.752.005.812 (XO: 6.752009494)
   Max TM value:225 at an offset of 117.613 usec -> 2021-08-03T04:57:07.752.008.337 (XO: 6.752012019)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 117.450 usec -> 2021-08-03T04:57:07.752.008.175 (XO: 6.752011857)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 114.925 usec -> 2021-08-03T04:57:07.752.005.650 (XO: 6.752009332)

 - Block number: 2 starting at 2021-08-03T04:57:25.900.606.725 (XO: 24.900610597 - 24.900916598, t=37.2 degC)  Rank: 00078
   TM values: Max =   207  Min =  -246  Ave =    -4.50  Std =    20.11
   Min TM value:-246 at an offset of 127.400 usec -> 2021-08-03T04:57:25.900.734.125 (XO: 24.900737997)
   Max TM value:207 at an offset of 129.963 usec -> 2021-08-03T04:57:25.900.736.687 (XO: 24.900740560)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 129.775 usec -> 2021-08-03T04:57:25.900.736.500 (XO: 24.900740372)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 127.163 usec -> 2021-08-03T04:57:25.900.733.887 (XO: 24.900737760)

 - Block number: 3 starting at 2021-08-03T04:57:32.260.101.725 (XO: 31.260103783 - 31.260409784, t=37.2 degC)  Rank: 00076
   TM values: Max =   208  Min =  -250  Ave =    -4.42  Std =    20.72
   Min TM value:-250 at an offset of 124.088 usec -> 2021-08-03T04:57:32.260.225.812 (XO: 31.260227871)
   Max TM value:208 at an offset of 123.800 usec -> 2021-08-03T04:57:32.260.225.525 (XO: 31.260227584)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 126.488 usec -> 2021-08-03T04:57:32.260.228.212 (XO: 31.260230271)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 123.900 usec -> 2021-08-03T04:57:32.260.225.625 (XO: 31.260227684)

 - Block number: 4 starting at 2021-08-03T04:57:59.467.935.725 (XO: 58.467938222 - 58.468244223, t=37.2 degC)  Rank: 00076
   TM values: Max =   223  Min =  -235  Ave =    -4.45  Std =    22.83
   Min TM value:-235 at an offset of 125.550 usec -> 2021-08-03T04:57:59.468.061.275 (XO: 58.468063773)
   Max TM value:223 at an offset of 128.225 usec -> 2021-08-03T04:57:59.468.063.950 (XO: 58.468066448)
   Max dTM/dt [1/us]:1.67e+03 at an offset of 123.225 usec -> 2021-08-03T04:57:59.468.058.950 (XO: 58.468061448)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 125.338 usec -> 2021-08-03T04:57:59.468.061.062 (XO: 58.468063560)

 - Block number: 5 starting at 2021-08-03T04:58:15.516.836.725 (XO: 74.516839582 - 74.517145583, t=37.2 degC)  Rank: 00079
   TM values: Max =   205  Min =  -227  Ave =    -4.42  Std =    20.20
   Min TM value:-227 at an offset of 122.275 usec -> 2021-08-03T04:58:15.516.959.000 (XO: 74.516961858)
   Max TM value:205 at an offset of 124.950 usec -> 2021-08-03T04:58:15.516.961.675 (XO: 74.516964533)
   Max dTM/dt [1/us]:1.61e+03 at an offset of 124.825 usec -> 2021-08-03T04:58:15.516.961.550 (XO: 74.516964408)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 122.138 usec -> 2021-08-03T04:58:15.516.958.862 (XO: 74.516961720)

 - Block number: 6 starting at 2021-08-03T04:58:29.945.635.725 (XO: 88.945639546 - 88.945945547, t=37.2 degC)  Rank: 00080
   TM values: Max =   199  Min =  -218  Ave =    -4.41  Std =    21.95
   Min TM value:-218 at an offset of 113.375 usec -> 2021-08-03T04:58:29.945.749.100 (XO: 88.945752921)
   Max TM value:199 at an offset of 116.063 usec -> 2021-08-03T04:58:29.945.751.787 (XO: 88.945755608)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 115.900 usec -> 2021-08-03T04:58:29.945.751.625 (XO: 88.945755446)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 101.013 usec -> 2021-08-03T04:58:29.945.736.737 (XO: 88.945740558)
