-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 20 00:23:29 2021 UTC
-- File 20210818_020212_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 7.191957 to 57.432907
-each separately from 7s to 57s and from 191957us to 972643us.
   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, ...
      17.529751 in 1 packets: 18
      16.250068 in 1 packets: 36
      16.459975 in 1 packets: 54
MIU packet time from 2021-08-18T02:02:22.191.957.000 to 2021-08-18T02:03:12.432.907.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, ...
      17.529751 in 1 packets: 18
      16.250068 in 1 packets: 36
      16.459975 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 8.9674384 to 58.9672732
   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, ...
      16.9999438 in 1 packets: 18
      15.9999471 in 1 packets: 36
      16.9999439 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
      04 -> 49.8 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      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: 
      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 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210818_020212_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 9.1593964 to 9.1596854
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.5296950  -- OK for SL --
   MIU time from 2021-08-18T02:02:22.191.957.000 to 2021-08-18T02:02:22.192.246.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.529751

 - 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 26.6893804 to 26.6896694
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2500150  -- OK for SL --
   MIU time from 2021-08-18T02:02:39.721.997.000 to 2021-08-18T02:02:39.722.286.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.250068

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.9396844 to 42.9399734
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.4599190  -- OK for SL --
   MIU time from 2021-08-18T02:02:55.972.354.000 to 2021-08-18T02:02:55.972.643.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.459975

 - 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 59.3998924 to 59.4001814
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-18T02:03:12.432.618.000 to 2021-08-18T02:03:12.432.907.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 = 7, 32bit 10MHz counter = 9.159396400 corrected by 40bit 10MHz counter of 8.967438400 obtained at 1Hz counter of 7. Result: 7.191958633
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-18T02:02:22.191.816.725
   Max 1st sample MIU time among all SL packets: 2021-08-18T02:03:12.432.766.725
   Min 1st sample XO time among all SL packets: 7.191818358
   Max 1st sample XO time among all SL packets: 57.432769353
   TM values from -246 to 206 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-18T02:02:22.191.816.725 (XO: 7.191818358 - 7.192124359, t=37.2 degC)  Rank: 00078
   TM values: Max =   179  Min =  -224  Ave =    -4.47  Std =    30.78
   Min TM value:-224 at an offset of 150.863 usec -> 2021-08-18T02:02:22.191.967.587 (XO: 7.191969221)
   Max TM value:179 at an offset of 221.763 usec -> 2021-08-18T02:02:22.192.038.488 (XO: 7.192040121)
   Max dTM/dt [1/us]:1.47e+03 at an offset of 221.588 usec -> 2021-08-18T02:02:22.192.038.313 (XO: 7.192039946)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 150.750 usec -> 2021-08-18T02:02:22.191.967.475 (XO: 7.191969108)

 - Block number: 2 starting at 2021-08-18T02:02:39.721.856.725 (XO: 24.721860307 - 24.722166308, t=37.2 degC)  Rank: 00079
   TM values: Max =   202  Min =  -236  Ave =    -4.57  Std =    18.90
   Min TM value:-236 at an offset of 120.888 usec -> 2021-08-18T02:02:39.721.977.612 (XO: 24.721981195)
   Max TM value:202 at an offset of 123.538 usec -> 2021-08-18T02:02:39.721.980.262 (XO: 24.721983845)
   Max dTM/dt [1/us]:1.47e+03 at an offset of 123.388 usec -> 2021-08-18T02:02:39.721.980.112 (XO: 24.721983695)
   Min dTM/dt [1/us]:-1.65e+03 at an offset of 108.925 usec -> 2021-08-18T02:02:39.721.965.650 (XO: 24.721969232)

 - Block number: 3 starting at 2021-08-18T02:02:55.972.213.725 (XO: 40.972218033 - 40.972524034, t=37.2 degC)  Rank: 00085
   TM values: Max =   206  Min =  -245  Ave =    -4.60  Std =    20.93
   Min TM value:-245 at an offset of 118.000 usec -> 2021-08-18T02:02:55.972.331.725 (XO: 40.972336034)
   Max TM value:206 at an offset of 117.725 usec -> 2021-08-18T02:02:55.972.331.450 (XO: 40.972335759)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 120.375 usec -> 2021-08-18T02:02:55.972.334.100 (XO: 40.972338409)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 117.838 usec -> 2021-08-18T02:02:55.972.331.562 (XO: 40.972335871)

 - Block number: 4 starting at 2021-08-18T02:03:12.432.477.725 (XO: 57.432480352 - 57.432786353, t=37.2 degC)  Rank: 00079
   TM values: Max =   200  Min =  -246  Ave =    -4.59  Std =    19.21
   Min TM value:-246 at an offset of 109.800 usec -> 2021-08-18T02:03:12.432.587.525 (XO: 57.432590153)
   Max TM value:200 at an offset of 109.500 usec -> 2021-08-18T02:03:12.432.587.225 (XO: 57.432589853)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 112.175 usec -> 2021-08-18T02:03:12.432.589.900 (XO: 57.432592528)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 109.613 usec -> 2021-08-18T02:03:12.432.587.337 (XO: 57.432589965)
