-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 13:00:42 2023 UTC
-- File 20220623_120326_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 1.382923 to 37.741951
-each separately from 1s to 37s and from 382923us to 741951us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      16.309161 in 1 packets: 18
      20.049000 in 1 packets: 36
MIU packet time from 2022-06-23T12:03:30.382.923.000 to 2022-06-23T12:04:06.741.951.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      16.309161 in 1 packets: 18
      20.049000 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 3.1109020 to 39.1107704
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.9999416 in 1 packets: 18
      19.9999268 in 1 packets: 36
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, ...
      05 -> 48.5 degC in 18 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 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 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 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20220623_120326_1227.dat, 3 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.4938255 to 3.4941145
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.3091030  -- OK for SL --
   MIU time from 2022-06-23T12:03:30.382.923.000 to 2022-06-23T12:03:30.383.212.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.309161

 - 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 19.8032175 to 19.8035065
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.0489270  -- OK for SL --
   MIU time from 2022-06-23T12:03:46.692.373.000 to 2022-06-23T12:03:46.692.662.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.049000

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.8524335 to 39.8527225
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-23T12:04:06.741.662.000 to 2022-06-23T12:04:06.741.951.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 1, 32bit 10MHz counter = 3.493825500 corrected by 40bit 10MHz counter of 3.110902000 obtained at 1Hz counter of 1. Result: 1.382924917
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-06-23T12:03:30.382.782.725
   Max 1st sample MIU time among all SL packets: 2022-06-23T12:04:06.741.810.725
   Min 1st sample XO time among all SL packets: 1.382784641
   Max 1st sample XO time among all SL packets: 37.741814496
   TM values from -257 to 197 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-23T12:03:30.382.782.725 (XO: 1.382784641 - 1.383090642, t=37.2 degC)  Rank: 00076
   TM values: Max =   184  Min =  -256  Ave =    -4.57  Std =    25.59
   Min TM value:-256 at an offset of 109.125 usec -> 2022-06-23T12:03:30.382.891.850 (XO: 1.382893767)
   Max TM value:184 at an offset of 165.576 usec -> 2022-06-23T12:03:30.382.948.300 (XO: 1.382950217)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 109.238 usec -> 2022-06-23T12:03:30.382.891.962 (XO: 1.382893879)
   Min dTM/dt [1/us]:-1.81e+03 at an offset of 106.663 usec -> 2022-06-23T12:03:30.382.889.387 (XO: 1.382891304)

 - Block number: 2 starting at 2022-06-23T12:03:46.692.232.725 (XO: 17.692236186 - 17.692542187, t=37.2 degC)  Rank: 00080
   TM values: Max =   197  Min =  -224  Ave =    -4.61  Std =    25.78
   Min TM value:-224 at an offset of 62.475 usec -> 2022-06-23T12:03:46.692.295.200 (XO: 17.692298662)
   Max TM value:197 at an offset of 115.713 usec -> 2022-06-23T12:03:46.692.348.437 (XO: 17.692351899)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 115.588 usec -> 2022-06-23T12:03:46.692.348.312 (XO: 17.692351774)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 60.025 usec -> 2022-06-23T12:03:46.692.292.750 (XO: 17.692296211)

 - Block number: 3 starting at 2022-06-23T12:04:06.741.521.725 (XO: 37.741525494 - 37.741831496, t=37.2 degC)  Rank: 00087
   TM values: Max =   159  Min =  -257  Ave =    -4.56  Std =    19.35
   Min TM value:-257 at an offset of 120.588 usec -> 2022-06-23T12:04:06.741.642.312 (XO: 37.741646082)
   Max TM value:159 at an offset of 118.025 usec -> 2022-06-23T12:04:06.741.639.750 (XO: 37.741643520)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 120.688 usec -> 2022-06-23T12:04:06.741.642.412 (XO: 37.741646182)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 118.138 usec -> 2022-06-23T12:04:06.741.639.862 (XO: 37.741643632)
