-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Apr 28 21:23:04 2023 UTC
-- File 20230428_113139_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 3.937162 to 48.825341
-each separately from 3s to 48s and from 199871us to 937451us.
   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, ...
      12.676222 in 1 packets: 18
      14.585909 in 1 packets: 36
      17.624892 in 1 packets: 54
MIU packet time from 2023-04-28T11:31:45.937.162.000 to 2023-04-28T11:32:30.825.341.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, ...
      12.676222 in 1 packets: 18
      14.585909 in 1 packets: 36
      17.624892 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 4.5295887 to 49.5294269
   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, ...
      12.9999532 in 1 packets: 18
      14.9999460 in 1 packets: 36
      16.9999390 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 20230428_113139_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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.4667518 to 5.4670408
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.6761750  -- OK for SL --
   MIU time from 2023-04-28T11:31:45.937.162.000 to 2023-04-28T11:31:45.937.451.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.676222

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.1432158 to 18.1435048
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.5858550  -- OK for SL --
   MIU time from 2023-04-28T11:31:58.613.673.000 to 2023-04-28T11:31:58.613.962.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.585909

 - 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:
      59 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.7293598 to 32.7296488
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.6248310  -- OK for SL --
   MIU time from 2023-04-28T11:32:13.199.871.000 to 2023-04-28T11:32:13.200.160.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.624892

 - 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:
      59 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.3544798 to 50.3547688
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-04-28T11:32:30.825.052.000 to 2023-04-28T11:32:30.825.341.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 65 XO calibration points at 1Hz counter from 0 to 64
   --- First point: 1Hz counter = 3, 32bit 10MHz counter = 5.466751800 corrected by 40bit 10MHz counter of 4.529588700 obtained at 1Hz counter of 3. Result: 3.937166474
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2023-04-28T11:31:45.937.021.725
   Max 1st sample MIU time among all SL packets: 2023-04-28T11:32:30.825.200.725
   Min 1st sample XO time among all SL packets: 3.937026198
   Max 1st sample XO time among all SL packets: 48.825204596
   TM values from -246 to 180 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-04-28T11:31:45.937.021.725 (XO: 3.937026198 - 3.937332199, t=37.2 degC)  Rank: 00073
   TM values: Max =   180  Min =  -246  Ave =    -4.45  Std =    17.72
   Min TM value:-246 at an offset of 99.975 usec -> 2023-04-28T11:31:45.937.121.700 (XO: 3.937126174)
   Max TM value:180 at an offset of 87.475 usec -> 2023-04-28T11:31:45.937.109.200 (XO: 3.937113674)
   Max dTM/dt [1/us]:1.71e+03 at an offset of 102.413 usec -> 2023-04-28T11:31:45.937.124.137 (XO: 3.937128611)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 99.838 usec -> 2023-04-28T11:31:45.937.121.562 (XO: 3.937126036)

 - Block number: 2 starting at 2023-04-28T11:31:58.613.532.725 (XO: 16.613535895 - 16.613841896, t=37.2 degC)  Rank: 00072
   TM values: Max =   163  Min =  -226  Ave =    -4.49  Std =    16.71
   Min TM value:-226 at an offset of 125.538 usec -> 2023-04-28T11:31:58.613.658.262 (XO: 16.613661433)
   Max TM value:163 at an offset of 125.275 usec -> 2023-04-28T11:31:58.613.658.000 (XO: 16.613661171)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 128.000 usec -> 2023-04-28T11:31:58.613.660.725 (XO: 16.613663896)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 125.388 usec -> 2023-04-28T11:31:58.613.658.112 (XO: 16.613661283)

 - Block number: 3 starting at 2023-04-28T11:32:13.199.730.725 (XO: 31.199732324 - 31.200038325, t=37.2 degC)  Rank: 00059
   TM values: Max =   150  Min =  -178  Ave =    -4.54  Std =    15.73
   Min TM value:-178 at an offset of 125.775 usec -> 2023-04-28T11:32:13.199.856.500 (XO: 31.199858100)
   Max TM value:150 at an offset of 123.225 usec -> 2023-04-28T11:32:13.199.853.950 (XO: 31.199855549)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 125.900 usec -> 2023-04-28T11:32:13.199.856.625 (XO: 31.199858225)
   Min dTM/dt [1/us]:-1.45e+03 at an offset of 123.350 usec -> 2023-04-28T11:32:13.199.854.075 (XO: 31.199855674)

 - Block number: 4 starting at 2023-04-28T11:32:30.824.911.725 (XO: 48.824915595 - 48.825221596, t=37.2 degC)  Rank: 00059
   TM values: Max =   158  Min =  -187  Ave =    -4.45  Std =    19.99
   Min TM value:-187 at an offset of 126.463 usec -> 2023-04-28T11:32:30.825.038.187 (XO: 48.825042058)
   Max TM value:158 at an offset of 99.800 usec -> 2023-04-28T11:32:30.825.011.525 (XO: 48.825015395)
   Max dTM/dt [1/us]:1.42e+03 at an offset of 97.675 usec -> 2023-04-28T11:32:30.825.009.400 (XO: 48.825013270)
   Min dTM/dt [1/us]:-1.55e+03 at an offset of 99.913 usec -> 2023-04-28T11:32:30.825.011.637 (XO: 48.825015508)
