-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Aug  2 12:57:54 2021 UTC
-- File 20210702_010540_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 0.101182 to 55.451908
-each separately from 0s to 55s and from 101182us to 451908us.
   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, ...
      16.039832 in 1 packets: 18
      18.189807 in 1 packets: 36
      21.119931 in 1 packets: 54
MIU packet time from 2021-07-02T01:05:39.101.182.000 to 2021-07-02T01:06:34.451.908.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, ...
      16.039832 in 1 packets: 18
      18.189807 in 1 packets: 36
      21.119931 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 1.8671729 to 56.8669765
   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, ...
      15.9999429 in 1 packets: 18
      17.9999357 in 1 packets: 36
      20.9999250 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: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 19 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      3 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 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 19 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      3 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 20210702_010540_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 1.9683556 to 1.9686446
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0397750  -- OK for SL --
   MIU time from 2021-07-02T01:05:39.101.182.000 to 2021-07-02T01:05:39.101.471.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.039832

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.0084196 to 18.0087086
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.1897430  -- OK for SL --
   MIU time from 2021-07-02T01:05:55.141.303.000 to 2021-07-02T01:05:55.141.592.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.189807

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.1984516 to 36.1987406
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.1198550  -- OK for SL --
   MIU time from 2021-07-02T01:06:13.331.399.000 to 2021-07-02T01:06:13.331.688.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.119931

 - 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 57.3185956 to 57.3188846
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-02T01:06:34.451.619.000 to 2021-07-02T01:06:34.451.908.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 = 0, 32bit 10MHz counter = 1.968355600 corrected by 40bit 10MHz counter of 1.867172900 obtained at 1Hz counter of 0. Result: 0.101183064
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2021-07-02T01:05:39.101.041.725
   Max 1st sample MIU time among all SL packets: 2021-07-02T01:06:34.451.767.725
   Min 1st sample XO time among all SL packets: 0.101042789
   Max 1st sample XO time among all SL packets: 55.451769451
   TM values from -270 to 228 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-02T01:05:39.101.041.725 (XO: 0.101042789 - 0.101348790, t=35.6 degC)  Rank: 00084
   TM values: Max =   228  Min =  -248  Ave =    -4.42  Std =    23.89
   Min TM value:-248 at an offset of 111.713 usec -> 2021-07-02T01:05:39.101.153.437 (XO: 0.101154502)
   Max TM value:228 at an offset of 126.600 usec -> 2021-07-02T01:05:39.101.168.325 (XO: 0.101169389)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 126.450 usec -> 2021-07-02T01:05:39.101.168.175 (XO: 0.101169239)
   Min dTM/dt [1/us]:-1.89e+03 at an offset of 97.113 usec -> 2021-07-02T01:05:39.101.138.837 (XO: 0.101139902)

 - Block number: 2 starting at 2021-07-02T01:05:55.141.162.725 (XO: 16.141164033 - 16.141470034, t=35.6 degC)  Rank: 00079
   TM values: Max =   193  Min =  -270  Ave =    -4.37  Std =    20.07
   Min TM value:-270 at an offset of 114.388 usec -> 2021-07-02T01:05:55.141.277.112 (XO: 16.141278421)
   Max TM value:193 at an offset of 112.025 usec -> 2021-07-02T01:05:55.141.274.750 (XO: 16.141276059)
   Max dTM/dt [1/us]:1.67e+03 at an offset of 111.900 usec -> 2021-07-02T01:05:55.141.274.625 (XO: 16.141275934)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 114.225 usec -> 2021-07-02T01:05:55.141.276.950 (XO: 16.141278259)

 - Block number: 3 starting at 2021-07-02T01:06:13.331.258.725 (XO: 34.331261018 - 34.331567019, t=35.6 degC)  Rank: 00081
   TM values: Max =   217  Min =  -267  Ave =    -4.44  Std =    26.42
   Min TM value:-267 at an offset of 125.525 usec -> 2021-07-02T01:06:13.331.384.250 (XO: 34.331386543)
   Max TM value:217 at an offset of 125.263 usec -> 2021-07-02T01:06:13.331.383.987 (XO: 34.331386280)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 123.113 usec -> 2021-07-02T01:06:13.331.381.837 (XO: 34.331384130)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 125.350 usec -> 2021-07-02T01:06:13.331.384.075 (XO: 34.331386368)

 - Block number: 4 starting at 2021-07-02T01:06:34.451.478.725 (XO: 55.451480450 - 55.451786451, t=35.6 degC)  Rank: 00079
   TM values: Max =   204  Min =  -245  Ave =    -4.52  Std =    20.16
   Min TM value:-245 at an offset of 116.663 usec -> 2021-07-02T01:06:34.451.595.387 (XO: 55.451597113)
   Max TM value:204 at an offset of 114.388 usec -> 2021-07-02T01:06:34.451.593.112 (XO: 55.451594838)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 114.250 usec -> 2021-07-02T01:06:34.451.592.975 (XO: 55.451594701)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 116.513 usec -> 2021-07-02T01:06:34.451.595.237 (XO: 55.451596963)
