-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 20 09:04:40 2023 UTC
-- File 20220619_112108_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 9.604299 to 49.654237
-each separately from 9s to 49s and from 184223us to 654237us.
   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, ...
      16.959654 in 1 packets: 18
      3.619692 in 1 packets: 36
      19.469436 in 1 packets: 54
MIU packet time from 2022-06-19T11:21:20.604.299.000 to 2022-06-19T11:22:00.654.237.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, ...
      16.959654 in 1 packets: 18
      3.619692 in 1 packets: 36
      19.469436 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.2427730 to 51.2426439
   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.9999451 in 1 packets: 18
      3.9999871 in 1 packets: 36
      18.9999387 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, ...
      FD -> 58.9 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C6 -> 45.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 20220619_112108_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 11.8470738 to 11.8473628
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.9595990  -- OK for SL --
   MIU time from 2022-06-19T11:21:20.604.299.000 to 2022-06-19T11:21:20.604.588.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.959654

 - 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 28.8069618 to 28.8072508
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.6196790  -- OK for SL --
   MIU time from 2022-06-19T11:21:37.564.242.000 to 2022-06-19T11:21:37.564.531.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.619692

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.4269298 to 32.4272188
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.4693750  -- OK for SL --
   MIU time from 2022-06-19T11:21:41.184.223.000 to 2022-06-19T11:21:41.184.512.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.469436

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.8965938 to 51.8968828
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-19T11:22:00.653.948.000 to 2022-06-19T11:22:00.654.237.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 = 9, 32bit 10MHz counter = 11.847073800 corrected by 40bit 10MHz counter of 11.242773000 obtained at 1Hz counter of 9. Result: 9.604302734
--
   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.999996800 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2022-06-19T11:21:20.604.158.725
   Max 1st sample MIU time among all SL packets: 2022-06-19T11:22:00.654.096.725
   Min 1st sample XO time among all SL packets: 9.604162458
   Max 1st sample XO time among all SL packets: 49.654100718
   TM values from -286 to 241 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-19T11:21:20.604.158.725 (XO: 9.604162458 - 9.604468459, t=45.2 degC)  Rank: 00083
   TM values: Max =   241  Min =  -248  Ave =    -4.57  Std =    28.97
   Min TM value:-248 at an offset of 117.663 usec -> 2022-06-19T11:21:20.604.276.387 (XO: 9.604280121)
   Max TM value:241 at an offset of 120.025 usec -> 2022-06-19T11:21:20.604.278.750 (XO: 9.604282484)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 119.875 usec -> 2022-06-19T11:21:20.604.278.600 (XO: 9.604282334)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 117.500 usec -> 2022-06-19T11:21:20.604.276.225 (XO: 9.604279959)

 - Block number: 2 starting at 2022-06-19T11:21:37.564.101.725 (XO: 26.564105230 - 26.564411231, t=45.2 degC)  Rank: 00077
   TM values: Max =   214  Min =  -259  Ave =    -4.65  Std =    23.42
   Min TM value:-259 at an offset of 146.738 usec -> 2022-06-19T11:21:37.564.248.462 (XO: 26.564251968)
   Max TM value:214 at an offset of 146.463 usec -> 2022-06-19T11:21:37.564.248.187 (XO: 26.564251693)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 146.400 usec -> 2022-06-19T11:21:37.564.248.125 (XO: 26.564251631)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 123.138 usec -> 2022-06-19T11:21:37.564.224.862 (XO: 26.564228368)

 - Block number: 3 starting at 2022-06-19T11:21:41.184.082.725 (XO: 30.184084914 - 30.184390915, t=45.2 degC)  Rank: 00078
   TM values: Max =   224  Min =  -286  Ave =    -4.59  Std =    25.32
   Min TM value:-286 at an offset of 132.863 usec -> 2022-06-19T11:21:41.184.215.587 (XO: 30.184217777)
   Max TM value:224 at an offset of 135.150 usec -> 2022-06-19T11:21:41.184.217.875 (XO: 30.184220065)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 134.950 usec -> 2022-06-19T11:21:41.184.217.675 (XO: 30.184219865)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 132.763 usec -> 2022-06-19T11:21:41.184.215.487 (XO: 30.184217677)

 - Block number: 4 starting at 2022-06-19T11:22:00.653.807.725 (XO: 49.653811717 - 49.654117718, t=45.2 degC)  Rank: 00073
   TM values: Max =   220  Min =  -234  Ave =    -4.61  Std =    28.58
   Min TM value:-234 at an offset of 145.113 usec -> 2022-06-19T11:22:00.653.952.837 (XO: 49.653956830)
   Max TM value:220 at an offset of 74.875 usec -> 2022-06-19T11:22:00.653.882.600 (XO: 49.653886592)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 176.363 usec -> 2022-06-19T11:22:00.653.984.088 (XO: 49.653988080)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 144.938 usec -> 2022-06-19T11:22:00.653.952.662 (XO: 49.653956655)
