-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jul  2 03:13:25 2023 UTC
-- File 20230613_123915_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 10.875439 to 46.743905
-each separately from 10s to 46s and from 549149us to 875728us.
   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.678271 in 1 packets: 18
      3.994861 in 1 packets: 36
      14.194178 in 1 packets: 54
MIU packet time from 2023-06-13T12:39:28.875.439.000 to 2023-06-13T12:40:04.743.905.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.678271 in 1 packets: 18
      3.994861 in 1 packets: 36
      14.194178 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 11.5157549 to 47.5156260
   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, ...
      17.9999356 in 1 packets: 18
      3.9999858 in 1 packets: 36
      13.9999497 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 72 packets (all packets)
Temperature XO: 
      C3 -> 40.4 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 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20230613_123915_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:
      93 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.3911949 to 12.3914839
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.6782070  -- OK for SL --
   MIU time from 2023-06-13T12:39:28.875.439.000 to 2023-06-13T12:39:28.875.728.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.678271

 - 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:
      59 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.0696909 to 30.0699799
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.9948470  -- OK for SL --
   MIU time from 2023-06-13T12:39:46.553.999.000 to 2023-06-13T12:39:46.554.288.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.994861

 - 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:
      48 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.0648269 to 34.0651159
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.1941270  -- OK for SL --
   MIU time from 2023-06-13T12:39:50.549.149.000 to 2023-06-13T12:39:50.549.438.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.194178

 - 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:
      67 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.2592429 to 48.2595319
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-13T12:40:04.743.616.000 to 2023-06-13T12:40:04.743.905.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 = 10, 32bit 10MHz counter = 12.391194900 corrected by 40bit 10MHz counter of 11.515754900 obtained at 1Hz counter of 10. Result: 10.875443152
--
   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: 2023-06-13T12:39:28.875.298.725
   Max 1st sample MIU time among all SL packets: 2023-06-13T12:40:04.743.764.725
   Min 1st sample XO time among all SL packets: 10.875302876
   Max 1st sample XO time among all SL packets: 46.743768228
   TM values from -295 to 177 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-13T12:39:28.875.298.725 (XO: 10.875302876 - 10.875608877, t=40.4 degC)  Rank: 00093
   TM values: Max =   177  Min =  -295  Ave =    -4.40  Std =    20.91
   Min TM value:-295 at an offset of 120.900 usec -> 2023-06-13T12:39:28.875.419.625 (XO: 10.875423777)
   Max TM value:177 at an offset of 129.213 usec -> 2023-06-13T12:39:28.875.427.937 (XO: 10.875432089)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 130.713 usec -> 2023-06-13T12:39:28.875.429.437 (XO: 10.875433589)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 127.800 usec -> 2023-06-13T12:39:28.875.426.525 (XO: 10.875430677)

 - Block number: 2 starting at 2023-06-13T12:39:46.553.858.725 (XO: 28.553862064 - 28.554168065, t=40.4 degC)  Rank: 00059
   TM values: Max =    87  Min =   -67  Ave =    -4.51  Std =    13.89
   Min TM value:-67 at an offset of 125.863 usec -> 2023-06-13T12:39:46.553.984.587 (XO: 28.553987926)
   Max TM value:87 at an offset of 174.701 usec -> 2023-06-13T12:39:46.554.033.425 (XO: 28.554036764)
   Max dTM/dt [1/us]:4.45e+02 at an offset of 221.363 usec -> 2023-06-13T12:39:46.554.080.088 (XO: 28.554083427)
   Min dTM/dt [1/us]:-4.82e+02 at an offset of 242.626 usec -> 2023-06-13T12:39:46.554.101.350 (XO: 28.554104689)

 - Block number: 3 starting at 2023-06-13T12:39:50.549.008.725 (XO: 32.549012301 - 32.549318303, t=40.4 degC)  Rank: 00048
   TM values: Max =    91  Min =  -226  Ave =    -4.30  Std =    12.58
   Min TM value:-226 at an offset of 219.813 usec -> 2023-06-13T12:39:50.549.228.538 (XO: 32.549232115)
   Max TM value:91 at an offset of 220.126 usec -> 2023-06-13T12:39:50.549.228.850 (XO: 32.549232427)
   Max dTM/dt [1/us]:1.60e+03 at an offset of 219.888 usec -> 2023-06-13T12:39:50.549.228.613 (XO: 32.549232190)
   Min dTM/dt [1/us]:-1.60e+03 at an offset of 219.738 usec -> 2023-06-13T12:39:50.549.228.463 (XO: 32.549232040)

 - Block number: 4 starting at 2023-06-13T12:40:04.743.475.725 (XO: 46.743479227 - 46.743785228, t=40.4 degC)  Rank: 00067
   TM values: Max =   153  Min =  -104  Ave =    -4.44  Std =    18.68
   Min TM value:-104 at an offset of 187.426 usec -> 2023-06-13T12:40:04.743.663.150 (XO: 46.743666653)
   Max TM value:153 at an offset of 163.626 usec -> 2023-06-13T12:40:04.743.639.350 (XO: 46.743642853)
   Max dTM/dt [1/us]:8.85e+02 at an offset of 163.876 usec -> 2023-06-13T12:40:04.743.639.600 (XO: 46.743643103)
   Min dTM/dt [1/us]:-1.24e+03 at an offset of 163.726 usec -> 2023-06-13T12:40:04.743.639.450 (XO: 46.743642953)
