-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 22 00:55:52 2021 UTC
-- File 20210821_115728_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 11.610509 to 54.965935
-each separately from 11s to 54s and from 610509us to 965935us.
   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, ...
      6.127556 in 1 packets: 18
      13.925038 in 1 packets: 36
      23.301676 in 1 packets: 54
MIU packet time from 2021-08-21T11:57:42.610.509.000 to 2021-08-21T11:58:25.965.935.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, ...
      6.127556 in 1 packets: 18
      13.925038 in 1 packets: 36
      23.301676 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 12.8969167 to 55.8967727
   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, ...
      5.9999800 in 1 packets: 18
      13.9999529 in 1 packets: 36
      22.9999231 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 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: 
      C0 -> 35.6 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 20210821_115728_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.5074268 to 13.5077158
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.1275350  -- OK for SL --
   MIU time from 2021-08-21T11:57:42.610.509.000 to 2021-08-21T11:57:42.610.798.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.127556

 - 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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.6352508 to 19.6355398
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.9249910  -- OK for SL --
   MIU time from 2021-08-21T11:57:48.738.354.000 to 2021-08-21T11:57:48.738.643.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.925038

 - 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 33.5605308 to 33.5608198
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.3015990  -- OK for SL --
   MIU time from 2021-08-21T11:58:02.663.681.000 to 2021-08-21T11:58:02.663.970.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.301676

 - 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 56.8624188 to 56.8627078
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-21T11:58:25.965.646.000 to 2021-08-21T11:58:25.965.935.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 = 11, 32bit 10MHz counter = 13.507426800 corrected by 40bit 10MHz counter of 12.896916700 obtained at 1Hz counter of 11. Result: 11.610512115
--
   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-21T11:57:42.610.368.725
   Max 1st sample MIU time among all SL packets: 2021-08-21T11:58:25.965.794.725
   Min 1st sample XO time among all SL packets: 11.610371839
   Max 1st sample XO time among all SL packets: 54.965798109
   TM values from -281 to 230 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-21T11:57:42.610.368.725 (XO: 11.610371839 - 11.610677840, t=35.6 degC)  Rank: 00084
   TM values: Max =   185  Min =  -251  Ave =    -4.35  Std =    18.13
   Min TM value:-251 at an offset of 108.650 usec -> 2021-08-21T11:57:42.610.477.375 (XO: 11.610480490)
   Max TM value:185 at an offset of 111.250 usec -> 2021-08-21T11:57:42.610.479.975 (XO: 11.610483090)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 111.088 usec -> 2021-08-21T11:57:42.610.479.812 (XO: 11.610482927)
   Min dTM/dt [1/us]:-1.78e+03 at an offset of 108.450 usec -> 2021-08-21T11:57:42.610.477.175 (XO: 11.610480290)

 - Block number: 2 starting at 2021-08-21T11:57:48.738.213.725 (XO: 17.738216335 - 17.738522336, t=35.6 degC)  Rank: 00090
   TM values: Max =   203  Min =  -248  Ave =    -4.28  Std =    16.36
   Min TM value:-248 at an offset of 120.638 usec -> 2021-08-21T11:57:48.738.334.362 (XO: 17.738336973)
   Max TM value:203 at an offset of 123.213 usec -> 2021-08-21T11:57:48.738.336.937 (XO: 17.738339548)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 118.338 usec -> 2021-08-21T11:57:48.738.332.062 (XO: 17.738334673)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 120.475 usec -> 2021-08-21T11:57:48.738.334.200 (XO: 17.738336810)

 - Block number: 3 starting at 2021-08-21T11:58:02.663.540.725 (XO: 31.663543115 - 31.663849116, t=35.6 degC)  Rank: 00079
   TM values: Max =   188  Min =  -281  Ave =    -4.44  Std =    25.82
   Min TM value:-281 at an offset of 107.950 usec -> 2021-08-21T11:58:02.663.648.675 (XO: 31.663651065)
   Max TM value:188 at an offset of 107.650 usec -> 2021-08-21T11:58:02.663.648.375 (XO: 31.663650765)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 110.363 usec -> 2021-08-21T11:58:02.663.651.087 (XO: 31.663653478)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 107.825 usec -> 2021-08-21T11:58:02.663.648.550 (XO: 31.663650940)

 - Block number: 4 starting at 2021-08-21T11:58:25.965.505.725 (XO: 54.965509108 - 54.965815109, t=35.6 degC)  Rank: 00080
   TM values: Max =   230  Min =  -246  Ave =    -4.37  Std =    21.16
   Min TM value:-246 at an offset of 87.963 usec -> 2021-08-21T11:58:25.965.593.687 (XO: 54.965597071)
   Max TM value:230 at an offset of 87.663 usec -> 2021-08-21T11:58:25.965.593.387 (XO: 54.965596771)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 85.613 usec -> 2021-08-21T11:58:25.965.591.337 (XO: 54.965594721)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 87.775 usec -> 2021-08-21T11:58:25.965.593.500 (XO: 54.965596883)
