-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 27 13:28:45 2021 UTC
-- File 20210828_123702_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 5.082877 to 52.344601
-each separately from 5s to 52s and from 82877us to 996124us.
   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, ...
      24.335454 in 1 packets: 18
      14.576926 in 1 packets: 36
      8.348188 in 1 packets: 54
MIU packet time from 2021-08-28T12:37:10.082.877.000 to 2021-08-28T12:37:57.344.601.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, ...
      24.335454 in 1 packets: 18
      14.576926 in 1 packets: 36
      8.348188 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 6.4753654 to 53.4752102
   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, ...
      23.9999208 in 1 packets: 18
      13.9999537 in 1 packets: 36
      8.9999703 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210828_123702_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.5582434 to 6.5585324
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.3353750  -- OK for SL --
   MIU time from 2021-08-28T12:37:10.082.877.000 to 2021-08-28T12:37:10.083.166.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.335454

 - 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 30.8939074 to 30.8941964
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.5768790  -- OK for SL --
   MIU time from 2021-08-28T12:37:34.418.620.000 to 2021-08-28T12:37:34.418.909.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.576926

 - 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 45.4710754 to 45.4713644
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.3481590  -- OK for SL --
   MIU time from 2021-08-28T12:37:48.995.835.000 to 2021-08-28T12:37:48.996.124.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.348188

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.8195234 to 53.8198124
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-28T12:37:57.344.312.000 to 2021-08-28T12:37:57.344.601.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 = 5, 32bit 10MHz counter = 6.558243400 corrected by 40bit 10MHz counter of 6.475365400 obtained at 1Hz counter of 5. Result: 5.082878265
--
   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-28T12:37:10.082.736.725
   Max 1st sample MIU time among all SL packets: 2021-08-28T12:37:57.344.460.725
   Min 1st sample XO time among all SL packets: 5.082737990
   Max 1st sample XO time among all SL packets: 52.344463062
   TM values from -261 to 238 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-28T12:37:10.082.736.725 (XO: 5.082737990 - 5.083043991, t=37.2 degC)  Rank: 00080
   TM values: Max =   238  Min =  -261  Ave =    -4.53  Std =    22.57
   Min TM value:-261 at an offset of 121.988 usec -> 2021-08-28T12:37:10.082.858.712 (XO: 5.082859978)
   Max TM value:238 at an offset of 119.875 usec -> 2021-08-28T12:37:10.082.856.600 (XO: 5.082857865)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 119.763 usec -> 2021-08-28T12:37:10.082.856.487 (XO: 5.082857753)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 121.850 usec -> 2021-08-28T12:37:10.082.858.575 (XO: 5.082859840)

 - Block number: 2 starting at 2021-08-28T12:37:34.418.479.725 (XO: 29.418482348 - 29.418788349, t=37.2 degC)  Rank: 00079
   TM values: Max =   209  Min =  -248  Ave =    -4.51  Std =    15.57
   Min TM value:-248 at an offset of 130.400 usec -> 2021-08-28T12:37:34.418.610.125 (XO: 29.418612748)
   Max TM value:209 at an offset of 130.100 usec -> 2021-08-28T12:37:34.418.609.825 (XO: 29.418612448)
   Max dTM/dt [1/us]:1.69e+03 at an offset of 132.750 usec -> 2021-08-28T12:37:34.418.612.475 (XO: 29.418615098)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 130.213 usec -> 2021-08-28T12:37:34.418.609.937 (XO: 29.418612561)

 - Block number: 3 starting at 2021-08-28T12:37:48.995.694.725 (XO: 43.995698511 - 43.996004512, t=37.2 degC)  Rank: 00081
   TM values: Max =   222  Min =  -230  Ave =    -4.56  Std =    27.43
   Min TM value:-230 at an offset of 119.050 usec -> 2021-08-28T12:37:48.995.813.775 (XO: 43.995817561)
   Max TM value:222 at an offset of 118.775 usec -> 2021-08-28T12:37:48.995.813.500 (XO: 43.995817286)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 116.738 usec -> 2021-08-28T12:37:48.995.811.462 (XO: 43.995815249)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 118.888 usec -> 2021-08-28T12:37:48.995.813.612 (XO: 43.995817399)

 - Block number: 4 starting at 2021-08-28T12:37:57.344.171.725 (XO: 52.344174061 - 52.344480062, t=37.2 degC)  Rank: 00083
   TM values: Max =   187  Min =  -235  Ave =    -4.47  Std =    20.09
   Min TM value:-235 at an offset of 115.888 usec -> 2021-08-28T12:37:57.344.287.612 (XO: 52.344289949)
   Max TM value:187 at an offset of 118.625 usec -> 2021-08-28T12:37:57.344.290.350 (XO: 52.344292686)
   Max dTM/dt [1/us]:1.49e+03 at an offset of 118.450 usec -> 2021-08-28T12:37:57.344.290.175 (XO: 52.344292511)
   Min dTM/dt [1/us]:-1.54e+03 at an offset of 115.688 usec -> 2021-08-28T12:37:57.344.287.412 (XO: 52.344289749)
