-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jan  5 22:33:02 2024 UTC
-- File 20230720_170939_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 8.695893 to 57.867168
-each separately from 8s to 57s and from 695893us to 946802us.
   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.020234 in 1 packets: 18
      5.229808 in 1 packets: 36
      26.920077 in 1 packets: 54
MIU packet time from 2023-07-20T17:09:50.695.893.000 to 2023-07-20T17:10:39.867.168.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.020234 in 1 packets: 18
      5.229808 in 1 packets: 36
      26.920077 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 9.7053107 to 58.7051398
   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, ...
      16.9999408 in 1 packets: 18
      4.9999826 in 1 packets: 36
      26.9999057 in 1 packets: 54
Temperature FPGA: 
      FF -> 56.3 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      00 -> 55.0 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C5 -> 43.6 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20230720_170939_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:
      103 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.4012052 to 10.4014942
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.0201750  -- OK for SL --
   MIU time from 2023-07-20T17:09:50.695.893.000 to 2023-07-20T17:09:50.696.182.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.020234

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.4216692 to 27.4219582
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.2297910  -- OK for SL --
   MIU time from 2023-07-20T17:10:07.716.416.000 to 2023-07-20T17:10:07.716.705.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.229808

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.6517492 to 32.6520382
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.9199830  -- OK for SL --
   MIU time from 2023-07-20T17:10:12.946.513.000 to 2023-07-20T17:10:12.946.802.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.920077

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.5720212 to 59.5723102
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-07-20T17:10:39.866.879.000 to 2023-07-20T17:10:39.867.168.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 = 8, 32bit 10MHz counter = 10.401205200 corrected by 40bit 10MHz counter of 9.705310700 obtained at 1Hz counter of 8. Result: 8.695896866
--
   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.999996500 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2023-07-20T17:09:50.695.752.725
   Max 1st sample MIU time among all SL packets: 2023-07-20T17:10:39.867.027.725
   Min 1st sample XO time among all SL packets: 8.695756591
   Max 1st sample XO time among all SL packets: 57.867033160
   TM values from -1057 to 1213 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-07-20T17:09:50.695.752.725 (XO: 8.695756591 - 8.696062592, t=43.6 degC)  Rank: 00103
   TM values: Max =  1213  Min = -1057  Ave =    -4.47  Std =    45.59
   Min TM value:-1057 at an offset of 125.550 usec -> 2023-07-20T17:09:50.695.878.275 (XO: 8.695882141)
   Max TM value:1213 at an offset of 125.663 usec -> 2023-07-20T17:09:50.695.878.387 (XO: 8.695882253)
   Max dTM/dt [1/us]:1.48e+04 at an offset of 125.600 usec -> 2023-07-20T17:09:50.695.878.325 (XO: 8.695882191)
   Min dTM/dt [1/us]:-1.43e+04 at an offset of 125.700 usec -> 2023-07-20T17:09:50.695.878.425 (XO: 8.695882291)

 - Block number: 2 starting at 2023-07-20T17:10:07.716.275.725 (XO: 25.716279932 - 25.716585933, t=43.6 degC)  Rank: 00083
   TM values: Max =   215  Min =  -270  Ave =    -4.55  Std =    30.30
   Min TM value:-270 at an offset of 159.026 usec -> 2023-07-20T17:10:07.716.434.750 (XO: 25.716438958)
   Max TM value:215 at an offset of 122.375 usec -> 2023-07-20T17:10:07.716.398.100 (XO: 25.716402307)
   Max dTM/dt [1/us]:2.15e+03 at an offset of 161.376 usec -> 2023-07-20T17:10:07.716.437.100 (XO: 25.716441308)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 158.901 usec -> 2023-07-20T17:10:07.716.434.625 (XO: 25.716438833)

 - Block number: 3 starting at 2023-07-20T17:10:12.946.372.725 (XO: 30.946378137 - 30.946684138, t=43.6 degC)  Rank: 00077
   TM values: Max =   223  Min =  -338  Ave =    -4.54  Std =    29.53
   Min TM value:-338 at an offset of 119.438 usec -> 2023-07-20T17:10:12.946.492.162 (XO: 30.946497575)
   Max TM value:223 at an offset of 119.675 usec -> 2023-07-20T17:10:12.946.492.400 (XO: 30.946497813)
   Max dTM/dt [1/us]:2.82e+03 at an offset of 119.550 usec -> 2023-07-20T17:10:12.946.492.275 (XO: 30.946497688)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 117.150 usec -> 2023-07-20T17:10:12.946.489.875 (XO: 30.946495288)

 - Block number: 4 starting at 2023-07-20T17:10:39.866.738.725 (XO: 57.866744159 - 57.867050160, t=43.6 degC)  Rank: 00071
   TM values: Max =   245  Min =  -281  Ave =    -4.56  Std =    39.08
   Min TM value:-281 at an offset of 236.626 usec -> 2023-07-20T17:10:39.866.975.350 (XO: 57.866980784)
   Max TM value:245 at an offset of 103.838 usec -> 2023-07-20T17:10:39.866.842.562 (XO: 57.866847996)
   Max dTM/dt [1/us]:2.38e+03 at an offset of 236.738 usec -> 2023-07-20T17:10:39.866.975.463 (XO: 57.866980897)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 292.289 usec -> 2023-07-20T17:10:39.867.031.013 (XO: 57.867036447)
