-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 12:37:44 2023 UTC
-- File 20220623_113902_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 12.517285 to 57.426537
-each separately from 12s to 57s and from 286403us to 517574us.
   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, ...
      3.768829 in 1 packets: 18
      24.103670 in 1 packets: 36
      17.035597 in 1 packets: 54
MIU packet time from 2022-06-23T11:39:17.517.285.000 to 2022-06-23T11:40:02.426.537.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, ...
      3.768829 in 1 packets: 18
      24.103670 in 1 packets: 36
      17.035597 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 13.6509937 to 58.6508307
   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, ...
      3.9999855 in 1 packets: 18
      23.9999131 in 1 packets: 36
      16.9999384 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 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: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20220623_113902_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.1682793 to 14.1685683
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.7688150  -- OK for SL --
   MIU time from 2022-06-23T11:39:17.517.285.000 to 2022-06-23T11:39:17.517.574.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.768829

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.9373833 to 17.9376723
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.1035830  -- OK for SL --
   MIU time from 2022-06-23T11:39:21.286.403.000 to 2022-06-23T11:39:21.286.692.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.103670

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.0412553 to 42.0415443
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.0355350  -- OK for SL --
   MIU time from 2022-06-23T11:39:45.390.362.000 to 2022-06-23T11:39:45.390.651.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.035597

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.0770793 to 59.0773683
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-23T11:40:02.426.248.000 to 2022-06-23T11:40:02.426.537.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 = 12, 32bit 10MHz counter = 14.168279300 corrected by 40bit 10MHz counter of 13.650993700 obtained at 1Hz counter of 12. Result: 12.517287462
--
   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-06-23T11:39:17.517.144.725
   Max 1st sample MIU time among all SL packets: 2022-06-23T11:40:02.426.396.725
   Min 1st sample XO time among all SL packets: 12.517147187
   Max 1st sample XO time among all SL packets: 57.426398817
   TM values from -253 to 205 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-23T11:39:17.517.144.725 (XO: 12.517147187 - 12.517453188, t=37.2 degC)  Rank: 00083
   TM values: Max =   184  Min =  -211  Ave =    -4.54  Std =    19.83
   Min TM value:-211 at an offset of 110.388 usec -> 2022-06-23T11:39:17.517.255.112 (XO: 12.517257575)
   Max TM value:184 at an offset of 107.863 usec -> 2022-06-23T11:39:17.517.252.587 (XO: 12.517255050)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 110.513 usec -> 2022-06-23T11:39:17.517.255.237 (XO: 12.517257700)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 107.963 usec -> 2022-06-23T11:39:17.517.252.687 (XO: 12.517255150)

 - Block number: 2 starting at 2022-06-23T11:39:21.286.262.725 (XO: 16.286264856 - 16.286570857, t=37.2 degC)  Rank: 00077
   TM values: Max =   201  Min =  -228  Ave =    -4.49  Std =    20.43
   Min TM value:-228 at an offset of 112.838 usec -> 2022-06-23T11:39:21.286.375.562 (XO: 16.286377693)
   Max TM value:201 at an offset of 110.363 usec -> 2022-06-23T11:39:21.286.373.087 (XO: 16.286375218)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 112.963 usec -> 2022-06-23T11:39:21.286.375.687 (XO: 16.286377818)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 110.500 usec -> 2022-06-23T11:39:21.286.373.225 (XO: 16.286375356)

 - Block number: 3 starting at 2022-06-23T11:39:45.390.221.725 (XO: 40.390224130 - 40.390530131, t=37.2 degC)  Rank: 00080
   TM values: Max =   205  Min =  -245  Ave =    -4.50  Std =    26.74
   Min TM value:-245 at an offset of 113.425 usec -> 2022-06-23T11:39:45.390.335.150 (XO: 40.390337555)
   Max TM value:205 at an offset of 110.950 usec -> 2022-06-23T11:39:45.390.332.675 (XO: 40.390335080)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 113.550 usec -> 2022-06-23T11:39:45.390.335.275 (XO: 40.390337680)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 111.063 usec -> 2022-06-23T11:39:45.390.332.787 (XO: 40.390335193)

 - Block number: 4 starting at 2022-06-23T11:40:02.426.107.725 (XO: 57.426109816 - 57.426415817, t=37.2 degC)  Rank: 00079
   TM values: Max =   159  Min =  -253  Ave =    -4.49  Std =    18.82
   Min TM value:-253 at an offset of 121.375 usec -> 2022-06-23T11:40:02.426.229.100 (XO: 57.426231192)
   Max TM value:159 at an offset of 118.800 usec -> 2022-06-23T11:40:02.426.226.525 (XO: 57.426228617)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 121.475 usec -> 2022-06-23T11:40:02.426.229.200 (XO: 57.426231292)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 118.938 usec -> 2022-06-23T11:40:02.426.226.662 (XO: 57.426228754)
