-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jul 20 01:36:25 2021 UTC
-- File 20210627_172702_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.702039 to 52.835175
-each separately from 0s to 52s and from 102897us to 835175us.
   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, ...
      15.400569 in 1 packets: 18
      16.140442 in 1 packets: 36
      20.590969 in 1 packets: 54
MIU packet time from 2021-06-27T17:27:02.702.039.000 to 2021-06-27T17:27:54.835.175.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, ...
      15.400569 in 1 packets: 18
      16.140442 in 1 packets: 36
      20.590969 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.8948745 to 53.8946833
   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.9999412 in 2 packets: 18, 36
      19.9999264 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 72 packets (all packets)
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 20210627_172702_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 2.5969135 to 2.5972025
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.4005110  -- OK for SL --
   MIU time from 2021-06-27T17:27:02.702.039.000 to 2021-06-27T17:27:02.702.328.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.400569

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.9977135 to 17.9980025
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1403830  -- OK for SL --
   MIU time from 2021-06-27T17:27:18.102.897.000 to 2021-06-27T17:27:18.103.186.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.140442

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.1383855 to 34.1386745
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.5908950  -- OK for SL --
   MIU time from 2021-06-27T17:27:34.243.628.000 to 2021-06-27T17:27:34.243.917.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.590969

 - 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 54.7295695 to 54.7298585
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-27T17:27:54.834.886.000 to 2021-06-27T17:27:54.835.175.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 = 2.596913500 corrected by 40bit 10MHz counter of 1.894874500 obtained at 1Hz counter of 0. Result: 0.702041598
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2021-06-27T17:27:02.701.898.725
   Max 1st sample MIU time among all SL packets: 2021-06-27T17:27:54.835.034.725
   Min 1st sample XO time among all SL packets: 0.701901322
   Max 1st sample XO time among all SL packets: 52.835038015
   TM values from -270 to 265 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-27T17:27:02.701.898.725 (XO: 0.701901322 - 0.702207323, t=35.6 degC)  Rank: 00084
   TM values: Max =   248  Min =  -270  Ave =    -4.42  Std =    25.75
   Min TM value:-270 at an offset of 125.350 usec -> 2021-06-27T17:27:02.702.024.075 (XO: 0.702026672)
   Max TM value:248 at an offset of 128.038 usec -> 2021-06-27T17:27:02.702.026.762 (XO: 0.702029360)
   Max dTM/dt [1/us]:2.47e+03 at an offset of 127.925 usec -> 2021-06-27T17:27:02.702.026.650 (XO: 0.702029248)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 113.488 usec -> 2021-06-27T17:27:02.702.012.212 (XO: 0.702014810)

 - Block number: 2 starting at 2021-06-27T17:27:18.102.756.725 (XO: 16.102757895 - 16.103063896, t=35.6 degC)  Rank: 00082
   TM values: Max =   213  Min =  -244  Ave =    -4.43  Std =    21.11
   Min TM value:-244 at an offset of 114.025 usec -> 2021-06-27T17:27:18.102.870.750 (XO: 16.102871920)
   Max TM value:213 at an offset of 129.125 usec -> 2021-06-27T17:27:18.102.885.850 (XO: 16.102887020)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 128.988 usec -> 2021-06-27T17:27:18.102.885.712 (XO: 16.102886883)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 113.913 usec -> 2021-06-27T17:27:18.102.870.637 (XO: 16.102871808)

 - Block number: 3 starting at 2021-06-27T17:27:34.243.487.725 (XO: 32.243489226 - 32.243795227, t=35.6 degC)  Rank: 00077
   TM values: Max =   260  Min =  -256  Ave =    -4.47  Std =    22.04
   Min TM value:-256 at an offset of 115.825 usec -> 2021-06-27T17:27:34.243.603.550 (XO: 32.243605051)
   Max TM value:260 at an offset of 118.525 usec -> 2021-06-27T17:27:34.243.606.250 (XO: 32.243607751)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 118.425 usec -> 2021-06-27T17:27:34.243.606.150 (XO: 32.243607651)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 115.688 usec -> 2021-06-27T17:27:34.243.603.412 (XO: 32.243604914)

 - Block number: 4 starting at 2021-06-27T17:27:54.834.745.725 (XO: 52.834749014 - 52.835055015, t=35.6 degC)  Rank: 00080
   TM values: Max =   265  Min =  -269  Ave =    -4.44  Std =    23.42
   Min TM value:-269 at an offset of 124.938 usec -> 2021-06-27T17:27:54.834.870.662 (XO: 52.834873952)
   Max TM value:265 at an offset of 127.538 usec -> 2021-06-27T17:27:54.834.873.262 (XO: 52.834876552)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 127.413 usec -> 2021-06-27T17:27:54.834.873.137 (XO: 52.834876427)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 124.700 usec -> 2021-06-27T17:27:54.834.870.425 (XO: 52.834873714)
