-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 09:19:43 2023 UTC
-- File 20220123_211951_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 4.514511 to 48.414941
-each separately from 4s to 48s and from 414652us to 744957us.
   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, ...
      14.909717 in 1 packets: 18
      20.319862 in 1 packets: 36
      8.669695 in 1 packets: 54
MIU packet time from 2022-01-23T21:19:58.514.511.000 to 2022-01-23T21:20:42.414.941.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, ...
      14.909717 in 1 packets: 18
      20.319862 in 1 packets: 36
      8.669695 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 5.4817931 to 49.4816366
   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, ...
      14.9999466 in 1 packets: 18
      19.9999289 in 1 packets: 36
      8.9999680 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 54 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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20220123_211951_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:
      55 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.9963052 to 5.9965942
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.9096630  -- OK for SL --
   MIU time from 2022-01-23T21:19:58.514.511.000 to 2022-01-23T21:19:58.514.800.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.909717

 - 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:
      49 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.9062572 to 20.9065462
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.3197910  -- OK for SL --
   MIU time from 2022-01-23T21:20:13.424.517.000 to 2022-01-23T21:20:13.424.806.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.319862

 - 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:
      49 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.2263372 to 41.2266262
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.6696630  -- OK for SL --
   MIU time from 2022-01-23T21:20:33.744.668.000 to 2022-01-23T21:20:33.744.957.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.669695

 - 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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.8962892 to 49.8965782
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-23T21:20:42.414.652.000 to 2022-01-23T21:20:42.414.941.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 = 4, 32bit 10MHz counter = 5.996305200 corrected by 40bit 10MHz counter of 5.481793100 obtained at 1Hz counter of 4. Result: 4.514513952
--
   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-23T21:19:58.514.370.725
   Max 1st sample MIU time among all SL packets: 2022-01-23T21:20:42.414.800.725
   Min 1st sample XO time among all SL packets: 4.514373677
   Max 1st sample XO time among all SL packets: 48.414802777
   TM values from -201 to 169 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-23T21:19:58.514.370.725 (XO: 4.514373677 - 4.514679678, t=37.2 degC)  Rank: 00055
   TM values: Max =   159  Min =  -162  Ave =    -4.64  Std =    22.51
   Min TM value:-162 at an offset of 158.263 usec -> 2022-01-23T21:19:58.514.528.988 (XO: 4.514531940)
   Max TM value:159 at an offset of 114.888 usec -> 2022-01-23T21:19:58.514.485.612 (XO: 4.514488565)
   Max dTM/dt [1/us]:1.69e+03 at an offset of 114.713 usec -> 2022-01-23T21:19:58.514.485.437 (XO: 4.514488390)
   Min dTM/dt [1/us]:-1.35e+03 at an offset of 158.126 usec -> 2022-01-23T21:19:58.514.528.850 (XO: 4.514531802)

 - Block number: 2 starting at 2022-01-23T21:20:13.424.376.725 (XO: 19.424378710 - 19.424684711, t=37.2 degC)  Rank: 00049
   TM values: Max =   148  Min =  -200  Ave =    -4.59  Std =    21.95
   Min TM value:-200 at an offset of 120.300 usec -> 2022-01-23T21:20:13.424.497.025 (XO: 19.424499011)
   Max TM value:148 at an offset of 122.713 usec -> 2022-01-23T21:20:13.424.499.437 (XO: 19.424501423)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 122.525 usec -> 2022-01-23T21:20:13.424.499.250 (XO: 19.424501236)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 120.088 usec -> 2022-01-23T21:20:13.424.496.812 (XO: 19.424498798)

 - Block number: 3 starting at 2022-01-23T21:20:33.744.527.725 (XO: 39.744531005 - 39.744837006, t=37.2 degC)  Rank: 00049
   TM values: Max =   127  Min =  -161  Ave =    -4.54  Std =    15.90
   Min TM value:-161 at an offset of 117.038 usec -> 2022-01-23T21:20:33.744.644.762 (XO: 39.744648043)
   Max TM value:127 at an offset of 116.625 usec -> 2022-01-23T21:20:33.744.644.350 (XO: 39.744647631)
   Max dTM/dt [1/us]:1.09e+03 at an offset of 119.425 usec -> 2022-01-23T21:20:33.744.647.150 (XO: 39.744650431)
   Min dTM/dt [1/us]:-1.32e+03 at an offset of 104.388 usec -> 2022-01-23T21:20:33.744.632.112 (XO: 39.744635393)

 - Block number: 4 starting at 2022-01-23T21:20:42.414.511.725 (XO: 48.414513776 - 48.414819777, t=37.2 degC)  Rank: 00056
   TM values: Max =   169  Min =  -201  Ave =    -4.58  Std =    20.70
   Min TM value:-201 at an offset of 117.563 usec -> 2022-01-23T21:20:42.414.629.287 (XO: 48.414631339)
   Max TM value:169 at an offset of 119.975 usec -> 2022-01-23T21:20:42.414.631.700 (XO: 48.414633751)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 115.425 usec -> 2022-01-23T21:20:42.414.627.150 (XO: 48.414629201)
   Min dTM/dt [1/us]:-1.51e+03 at an offset of 117.350 usec -> 2022-01-23T21:20:42.414.629.075 (XO: 48.414631126)
