-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jun  3 08:18:09 2023 UTC
-- File 20230602_214518_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 1.060793 to 58.556071
-each separately from 1s to 58s and from 60793us to 938450us.
   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.778217 in 1 packets: 18
      13.098573 in 1 packets: 36
      27.617332 in 1 packets: 54
MIU packet time from 2023-06-02T21:45:22.060.793.000 to 2023-06-02T21:46:19.556.071.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.778217 in 1 packets: 18
      13.098573 in 1 packets: 36
      27.617332 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 2.8497161 to 59.8495110
   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, ...
      15.9999425 in 1 packets: 18
      12.9999532 in 1 packets: 36
      27.9998992 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 36 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: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      01 -> 53.7 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C4 -> 42.0 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C3 -> 40.4 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20230602_214518_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.9105105 to 2.9107995
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.7781590  -- OK for SL --
   MIU time from 2023-06-02T21:45:22.060.793.000 to 2023-06-02T21:45:22.061.082.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.778217

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.6889585 to 19.6892475
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.0985270  -- OK for SL --
   MIU time from 2023-06-02T21:45:38.839.299.000 to 2023-06-02T21:45:38.839.588.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.098573

 - 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.7877745 to 32.7880635
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.6172310  -- OK for SL --
   MIU time from 2023-06-02T21:45:51.938.161.000 to 2023-06-02T21:45:51.938.450.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.617332

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.4052945 to 60.4055835
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-02T21:46:19.555.782.000 to 2023-06-02T21:46:19.556.071.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 = 1, 32bit 10MHz counter = 2.910510500 corrected by 40bit 10MHz counter of 2.849716100 obtained at 1Hz counter of 1. Result: 1.060794619
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2023-06-02T21:45:22.060.652.725
   Max 1st sample MIU time among all SL packets: 2023-06-02T21:46:19.555.930.725
   Min 1st sample XO time among all SL packets: 1.060654343
   Max 1st sample XO time among all SL packets: 58.555934226
   TM values from -263 to 219 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-02T21:45:22.060.652.725 (XO: 1.060654343 - 1.060960344, t=42.0 degC)  Rank: 00081
   TM values: Max =   219  Min =  -255  Ave =    -4.39  Std =    23.04
   Min TM value:-255 at an offset of 124.175 usec -> 2023-06-02T21:45:22.060.776.900 (XO: 1.060778519)
   Max TM value:219 at an offset of 111.688 usec -> 2023-06-02T21:45:22.060.764.412 (XO: 1.060766031)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 126.775 usec -> 2023-06-02T21:45:22.060.779.500 (XO: 1.060781119)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 111.788 usec -> 2023-06-02T21:45:22.060.764.512 (XO: 1.060766131)

 - Block number: 2 starting at 2023-06-02T21:45:38.839.158.725 (XO: 17.839162646 - 17.839468647, t=42.0 degC)  Rank: 00087
   TM values: Max =   207  Min =  -263  Ave =    -4.42  Std =    28.95
   Min TM value:-263 at an offset of 124.575 usec -> 2023-06-02T21:45:38.839.283.300 (XO: 17.839287221)
   Max TM value:207 at an offset of 196.701 usec -> 2023-06-02T21:45:38.839.355.425 (XO: 17.839359347)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 126.913 usec -> 2023-06-02T21:45:38.839.285.637 (XO: 17.839289559)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 196.838 usec -> 2023-06-02T21:45:38.839.355.563 (XO: 17.839359484)

 - Block number: 3 starting at 2023-06-02T21:45:51.938.020.725 (XO: 30.938025802 - 30.938331803, t=42.0 degC)  Rank: 00078
   TM values: Max =   200  Min =  -257  Ave =    -4.49  Std =    21.67
   Min TM value:-257 at an offset of 126.138 usec -> 2023-06-02T21:45:51.938.146.862 (XO: 30.938151940)
   Max TM value:200 at an offset of 131.138 usec -> 2023-06-02T21:45:51.938.151.862 (XO: 30.938156940)
   Max dTM/dt [1/us]:1.60e+03 at an offset of 128.650 usec -> 2023-06-02T21:45:51.938.149.375 (XO: 30.938154452)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 126.013 usec -> 2023-06-02T21:45:51.938.146.737 (XO: 30.938151815)

 - Block number: 4 starting at 2023-06-02T21:46:19.555.641.725 (XO: 58.555645225 - 58.555951226, t=40.4 degC)  Rank: 00076
   TM values: Max =   219  Min =  -262  Ave =    -4.43  Std =    21.71
   Min TM value:-262 at an offset of 127.388 usec -> 2023-06-02T21:46:19.555.769.112 (XO: 58.555772613)
   Max TM value:219 at an offset of 127.088 usec -> 2023-06-02T21:46:19.555.768.812 (XO: 58.555772313)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 129.775 usec -> 2023-06-02T21:46:19.555.771.500 (XO: 58.555775001)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 127.213 usec -> 2023-06-02T21:46:19.555.768.937 (XO: 58.555772438)
