-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar  9 01:46:01 2023 UTC
-- File 20220528_141117_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 6.446604 to 56.421637
-each separately from 6s to 56s and from 421348us to 990086us.
   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.542904 in 1 packets: 18
      19.614690 in 1 packets: 36
      12.816283 in 1 packets: 54
MIU packet time from 2022-05-28T14:11:27.446.604.000 to 2022-05-28T14:12:17.421.637.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.542904 in 1 packets: 18
      19.614690 in 1 packets: 36
      12.816283 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 8.2539020 to 58.2537340
   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.9999428 in 1 packets: 18
      19.9999329 in 1 packets: 36
      12.9999563 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 72 packets (all packets)
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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20220528_141117_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:
      126 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.7005074 to 8.7007964
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.5428470  -- OK for SL --
   MIU time from 2022-05-28T14:11:27.446.604.000 to 2022-05-28T14:11:27.446.893.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.542904

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.2436434 to 26.2439324
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.6146230  -- OK for SL --
   MIU time from 2022-05-28T14:11:44.989.797.000 to 2022-05-28T14:11:44.990.086.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.614690

 - 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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.8585554 to 45.8588444
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.8162390  -- OK for SL --
   MIU time from 2022-05-28T14:12:04.604.776.000 to 2022-05-28T14:12:04.605.065.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.816283

 - 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 58.6750834 to 58.6753724
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-28T14:12:17.421.348.000 to 2022-05-28T14:12:17.421.637.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 = 6, 32bit 10MHz counter = 8.700507400 corrected by 40bit 10MHz counter of 8.253902000 obtained at 1Hz counter of 6. Result: 6.446606918
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2022-05-28T14:11:27.446.463.725
   Max 1st sample MIU time among all SL packets: 2022-05-28T14:12:17.421.496.725
   Min 1st sample XO time among all SL packets: 6.446466643
   Max 1st sample XO time among all SL packets: 56.421499516
   TM values from -379 to 286 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-28T14:11:27.446.463.725 (XO: 6.446466643 - 6.446772644, t=43.6 degC)  Rank: 00126
   TM values: Max =   286  Min =  -344  Ave =    -4.29  Std =    48.80
   Min TM value:-344 at an offset of 255.601 usec -> 2022-05-28T14:11:27.446.719.325 (XO: 6.446722244)
   Max TM value:286 at an offset of 281.938 usec -> 2022-05-28T14:11:27.446.745.663 (XO: 6.446748581)
   Max dTM/dt [1/us]:3.11e+03 at an offset of 255.663 usec -> 2022-05-28T14:11:27.446.719.388 (XO: 6.446722306)
   Min dTM/dt [1/us]:-3.21e+03 at an offset of 258.451 usec -> 2022-05-28T14:11:27.446.722.175 (XO: 6.446725094)

 - Block number: 2 starting at 2022-05-28T14:11:44.989.656.725 (XO: 23.989661591 - 23.989967592, t=43.6 degC)  Rank: 00076
   TM values: Max =   230  Min =  -233  Ave =    -4.35  Std =    24.63
   Min TM value:-233 at an offset of 115.363 usec -> 2022-05-28T14:11:44.989.772.087 (XO: 23.989776954)
   Max TM value:230 at an offset of 117.688 usec -> 2022-05-28T14:11:44.989.774.412 (XO: 23.989779279)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 117.563 usec -> 2022-05-28T14:11:44.989.774.287 (XO: 23.989779154)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 115.200 usec -> 2022-05-28T14:11:44.989.771.925 (XO: 23.989776791)

 - Block number: 3 starting at 2022-05-28T14:12:04.604.635.725 (XO: 43.604639481 - 43.604945482, t=43.6 degC)  Rank: 00090
   TM values: Max =   206  Min =  -379  Ave =    -4.34  Std =    18.65
   Min TM value:-379 at an offset of 131.763 usec -> 2022-05-28T14:12:04.604.767.487 (XO: 43.604771244)
   Max TM value:206 at an offset of 135.150 usec -> 2022-05-28T14:12:04.604.770.875 (XO: 43.604774631)
   Max dTM/dt [1/us]:2.97e+03 at an offset of 109.838 usec -> 2022-05-28T14:12:04.604.745.562 (XO: 43.604749319)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 109.938 usec -> 2022-05-28T14:12:04.604.745.662 (XO: 43.604749419)

 - Block number: 4 starting at 2022-05-28T14:12:17.421.207.725 (XO: 56.421210515 - 56.421516516, t=43.6 degC)  Rank: 00079
   TM values: Max =   206  Min =  -254  Ave =    -4.36  Std =    29.57
   Min TM value:-254 at an offset of 162.963 usec -> 2022-05-28T14:12:17.421.370.688 (XO: 56.421373478)
   Max TM value:206 at an offset of 95.950 usec -> 2022-05-28T14:12:17.421.303.675 (XO: 56.421306465)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 52.375 usec -> 2022-05-28T14:12:17.421.260.100 (XO: 56.421262890)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 96.088 usec -> 2022-05-28T14:12:17.421.303.812 (XO: 56.421306603)
