-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar  4 04:03:32 2022 UTC
-- File 20220122_143444_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.821839 to 59.062817
-each separately from 13s to 59s and from 62528us to 822128us.
   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, ...
      1.879734 in 1 packets: 18
      25.960074 in 1 packets: 36
      17.400014 in 1 packets: 54
MIU packet time from 2022-01-22T14:35:00.821.839.000 to 2022-01-22T14:35:46.062.817.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, ...
      1.879734 in 1 packets: 18
      25.960074 in 1 packets: 36
      17.400014 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.7882723 to 60.7881101
   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, ...
      1.9999929 in 1 packets: 18
      25.9999083 in 1 packets: 36
      17.9999366 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20220122_143444_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.6101115 to 15.6104005
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.8797270  -- OK for SL --
   MIU time from 2022-01-22T14:35:00.821.839.000 to 2022-01-22T14:35:00.822.128.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.879734

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.4901275 to 17.4904165
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.9599830  -- OK for SL --
   MIU time from 2022-01-22T14:35:02.701.862.000 to 2022-01-22T14:35:02.702.151.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.960074

 - 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 43.4503995 to 43.4506885
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.3999510  -- OK for SL --
   MIU time from 2022-01-22T14:35:28.662.225.000 to 2022-01-22T14:35:28.662.514.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.400014

 - 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 60.8506395 to 60.8509285
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-22T14:35:46.062.528.000 to 2022-01-22T14:35:46.062.817.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.610111500 corrected by 40bit 10MHz counter of 14.788272300 obtained at 1Hz counter of 13. Result: 13.821842159
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-22T14:35:00.821.698.725
   Max 1st sample MIU time among all SL packets: 2022-01-22T14:35:46.062.676.725
   Min 1st sample XO time among all SL packets: 13.821701883
   Max 1st sample XO time among all SL packets: 59.062678344
   TM values from -272 to 222 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-22T14:35:00.821.698.725 (XO: 13.821701883 - 13.822007884, t=37.2 degC)  Rank: 00083
   TM values: Max =   215  Min =  -261  Ave =    -4.51  Std =    24.49
   Min TM value:-261 at an offset of 113.050 usec -> 2022-01-22T14:35:00.821.811.775 (XO: 13.821814934)
   Max TM value:215 at an offset of 110.638 usec -> 2022-01-22T14:35:00.821.809.362 (XO: 13.821812521)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 113.163 usec -> 2022-01-22T14:35:00.821.811.887 (XO: 13.821815046)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 110.750 usec -> 2022-01-22T14:35:00.821.809.475 (XO: 13.821812634)

 - Block number: 2 starting at 2022-01-22T14:35:02.701.721.725 (XO: 15.701724481 - 15.702030482, t=37.2 degC)  Rank: 00080
   TM values: Max =   198  Min =  -271  Ave =    -4.50  Std =    19.82
   Min TM value:-271 at an offset of 101.463 usec -> 2022-01-22T14:35:02.701.823.187 (XO: 15.701825944)
   Max TM value:198 at an offset of 99.000 usec -> 2022-01-22T14:35:02.701.820.725 (XO: 15.701823481)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 101.563 usec -> 2022-01-22T14:35:02.701.823.287 (XO: 15.701826044)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 99.100 usec -> 2022-01-22T14:35:02.701.820.825 (XO: 15.701823581)

 - Block number: 3 starting at 2022-01-22T14:35:28.662.084.725 (XO: 41.662088042 - 41.662394043, t=37.2 degC)  Rank: 00085
   TM values: Max =   206  Min =  -272  Ave =    -4.51  Std =    22.92
   Min TM value:-272 at an offset of 101.800 usec -> 2022-01-22T14:35:28.662.186.525 (XO: 41.662189843)
   Max TM value:206 at an offset of 99.388 usec -> 2022-01-22T14:35:28.662.184.112 (XO: 41.662187430)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 101.925 usec -> 2022-01-22T14:35:28.662.186.650 (XO: 41.662189968)
   Min dTM/dt [1/us]:-2.55e+03 at an offset of 99.488 usec -> 2022-01-22T14:35:28.662.184.212 (XO: 41.662187530)

 - Block number: 4 starting at 2022-01-22T14:35:46.062.387.725 (XO: 59.062389343 - 59.062695344, t=37.2 degC)  Rank: 00080
   TM values: Max =   222  Min =  -265  Ave =    -4.59  Std =    23.44
   Min TM value:-265 at an offset of 116.163 usec -> 2022-01-22T14:35:46.062.503.887 (XO: 59.062505506)
   Max TM value:222 at an offset of 113.750 usec -> 2022-01-22T14:35:46.062.501.475 (XO: 59.062503094)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 116.275 usec -> 2022-01-22T14:35:46.062.504.000 (XO: 59.062505619)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 113.850 usec -> 2022-01-22T14:35:46.062.501.575 (XO: 59.062503194)
