-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  8 12:06:57 2021 UTC
-- File 20210806_215312_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 13.358195 to 47.655173
-each separately from 13s to 47s and from 358195us to 940595us.
   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, ...
      14.581822 in 1 packets: 18
      7.980841 in 1 packets: 36
      11.733159 in 1 packets: 54
MIU packet time from 2021-08-06T21:53:28.358.195.000 to 2021-08-06T21:54:02.655.173.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, ...
      14.581822 in 1 packets: 18
      7.980841 in 1 packets: 36
      11.733159 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 14.9436411 to 48.9435275
   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, ...
      13.9999532 in 1 packets: 18
      7.9999732 in 1 packets: 36
      11.9999600 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      04 -> 49.8 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 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210806_215312_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.3018366 to 15.3021256
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.5817750  -- OK for SL --
   MIU time from 2021-08-06T21:53:28.358.195.000 to 2021-08-06T21:53:28.358.484.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.581822

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.8839006 to 29.8841896
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.9808150  -- OK for SL --
   MIU time from 2021-08-06T21:53:42.940.306.000 to 2021-08-06T21:53:42.940.595.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.980841

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.8650046 to 37.8652936
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.7331190  -- OK for SL --
   MIU time from 2021-08-06T21:53:50.921.436.000 to 2021-08-06T21:53:50.921.725.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.733159

 - 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.5984126 to 49.5987016
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-06T21:54:02.654.884.000 to 2021-08-06T21:54:02.655.173.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 = 13, 32bit 10MHz counter = 15.301836600 corrected by 40bit 10MHz counter of 14.943641100 obtained at 1Hz counter of 13. Result: 13.358196682
--
   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-06T21:53:28.358.054.725
   Max 1st sample MIU time among all SL packets: 2021-08-06T21:54:02.655.032.725
   Min 1st sample XO time among all SL packets: 13.358056407
   Max 1st sample XO time among all SL packets: 47.655036052
   TM values from -370 to 317 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-06T21:53:28.358.054.725 (XO: 13.358056407 - 13.358362408, t=37.2 degC)  Rank: 00078
   TM values: Max =   237  Min =  -265  Ave =    -4.56  Std =    31.48
   Min TM value:-265 at an offset of 120.800 usec -> 2021-08-06T21:53:28.358.175.525 (XO: 13.358177207)
   Max TM value:237 at an offset of 120.488 usec -> 2021-08-06T21:53:28.358.175.212 (XO: 13.358176894)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 123.113 usec -> 2021-08-06T21:53:28.358.177.837 (XO: 13.358179519)
   Min dTM/dt [1/us]:-2.54e+03 at an offset of 120.588 usec -> 2021-08-06T21:53:28.358.175.312 (XO: 13.358176994)

 - Block number: 2 starting at 2021-08-06T21:53:42.940.165.725 (XO: 27.940169222 - 27.940475223, t=37.2 degC)  Rank: 00086
   TM values: Max =   317  Min =  -370  Ave =    -4.49  Std =    78.14
   Min TM value:-370 at an offset of 120.163 usec -> 2021-08-06T21:53:42.940.285.887 (XO: 27.940289384)
   Max TM value:317 at an offset of 122.763 usec -> 2021-08-06T21:53:42.940.288.487 (XO: 27.940291984)
   Max dTM/dt [1/us]:3.15e+03 at an offset of 122.638 usec -> 2021-08-06T21:53:42.940.288.362 (XO: 27.940291859)
   Min dTM/dt [1/us]:-3.30e+03 at an offset of 91.263 usec -> 2021-08-06T21:53:42.940.256.987 (XO: 27.940260484)

 - Block number: 3 starting at 2021-08-06T21:53:50.921.295.725 (XO: 35.921299865 - 35.921605866, t=37.2 degC)  Rank: 00087
   TM values: Max =   205  Min =  -270  Ave =    -4.36  Std =    24.32
   Min TM value:-270 at an offset of 119.363 usec -> 2021-08-06T21:53:50.921.415.087 (XO: 35.921419228)
   Max TM value:205 at an offset of 121.963 usec -> 2021-08-06T21:53:50.921.417.687 (XO: 35.921421828)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 121.738 usec -> 2021-08-06T21:53:50.921.417.462 (XO: 35.921421603)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 119.213 usec -> 2021-08-06T21:53:50.921.414.937 (XO: 35.921419078)

 - Block number: 4 starting at 2021-08-06T21:54:02.654.743.725 (XO: 47.654747051 - 47.655053052, t=37.2 degC)  Rank: 00079
   TM values: Max =   244  Min =  -305  Ave =    -4.50  Std =    58.99
   Min TM value:-305 at an offset of 126.275 usec -> 2021-08-06T21:54:02.654.870.000 (XO: 47.654873327)
   Max TM value:244 at an offset of 126.025 usec -> 2021-08-06T21:54:02.654.869.750 (XO: 47.654873077)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 126.713 usec -> 2021-08-06T21:54:02.654.870.437 (XO: 47.654873764)
   Min dTM/dt [1/us]:-2.81e+03 at an offset of 126.150 usec -> 2021-08-06T21:54:02.654.869.875 (XO: 47.654873202)
