-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 13:25:38 2023 UTC
-- File 20220704_183722_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 4.284972 to 58.855744
-each separately from 4s to 58s and from 284972us to 855744us.
   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, ...
      24.229910 in 1 packets: 18
      6.939864 in 1 packets: 36
      23.399842 in 1 packets: 54
MIU packet time from 2022-07-04T18:37:29.284.972.000 to 2022-07-04T18:38:23.855.744.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, ...
      24.229910 in 1 packets: 18
      6.939864 in 1 packets: 36
      23.399842 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 5.6168936 to 59.6166990
   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, ...
      23.9999135 in 1 packets: 18
      6.9999748 in 1 packets: 36
      22.9999171 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      03 -> 51.1 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C2 -> 38.8 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: 
      1 in 1 packets: 1
      2 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: 
      1 in 1 packets: 1
      2 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 20220704_183722_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:
      89 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.9018666 to 5.9021556
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.2298230  -- OK for SL --
   MIU time from 2022-07-04T18:37:29.284.972.000 to 2022-07-04T18:37:29.285.261.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.229910

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.1319786 to 30.1322676
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.9398390  -- OK for SL --
   MIU time from 2022-07-04T18:37:53.515.171.000 to 2022-07-04T18:37:53.515.460.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.939864

 - 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 37.0721066 to 37.0723956
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.3997590  -- OK for SL --
   MIU time from 2022-07-04T18:38:00.455.324.000 to 2022-07-04T18:38:00.455.613.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.399842

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.4721546 to 60.4724436
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-04T18:38:23.855.455.000 to 2022-07-04T18:38:23.855.744.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 = 4, 32bit 10MHz counter = 5.901866600 corrected by 40bit 10MHz counter of 5.616893600 obtained at 1Hz counter of 4. Result: 4.284974026
--
   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: 2022-07-04T18:37:29.284.831.725
   Max 1st sample MIU time among all SL packets: 2022-07-04T18:38:23.855.603.725
   Min 1st sample XO time among all SL packets: 4.284833750
   Max 1st sample XO time among all SL packets: 58.855607405
   TM values from -318 to 300 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-04T18:37:29.284.831.725 (XO: 4.284833750 - 4.285139752, t=38.8 degC)  Rank: 00089
   TM values: Max =   294  Min =  -294  Ave =    -4.53  Std =    42.40
   Min TM value:-294 at an offset of 132.625 usec -> 2022-07-04T18:37:29.284.964.350 (XO: 4.284966376)
   Max TM value:294 at an offset of 128.375 usec -> 2022-07-04T18:37:29.284.960.100 (XO: 4.284962126)
   Max dTM/dt [1/us]:2.90e+03 at an offset of 132.750 usec -> 2022-07-04T18:37:29.284.964.475 (XO: 4.284966501)
   Min dTM/dt [1/us]:-2.74e+03 at an offset of 132.500 usec -> 2022-07-04T18:37:29.284.964.225 (XO: 4.284966251)

 - Block number: 2 starting at 2022-07-04T18:37:53.515.030.725 (XO: 28.515033079 - 28.515339080, t=38.8 degC)  Rank: 00080
   TM values: Max =   278  Min =  -318  Ave =    -4.43  Std =    40.38
   Min TM value:-318 at an offset of 130.775 usec -> 2022-07-04T18:37:53.515.161.500 (XO: 28.515163855)
   Max TM value:278 at an offset of 133.175 usec -> 2022-07-04T18:37:53.515.163.900 (XO: 28.515166255)
   Max dTM/dt [1/us]:2.94e+03 at an offset of 133.038 usec -> 2022-07-04T18:37:53.515.163.762 (XO: 28.515166117)
   Min dTM/dt [1/us]:-2.80e+03 at an offset of 130.625 usec -> 2022-07-04T18:37:53.515.161.350 (XO: 28.515163705)

 - Block number: 3 starting at 2022-07-04T18:38:00.455.183.725 (XO: 35.455186064 - 35.455492065, t=38.8 degC)  Rank: 00080
   TM values: Max =   300  Min =  -301  Ave =    -4.44  Std =    31.86
   Min TM value:-301 at an offset of 132.788 usec -> 2022-07-04T18:38:00.455.316.512 (XO: 35.455318852)
   Max TM value:300 at an offset of 132.550 usec -> 2022-07-04T18:38:00.455.316.275 (XO: 35.455318614)
   Max dTM/dt [1/us]:2.41e+03 at an offset of 135.038 usec -> 2022-07-04T18:38:00.455.318.762 (XO: 35.455321102)
   Min dTM/dt [1/us]:-2.97e+03 at an offset of 132.675 usec -> 2022-07-04T18:38:00.455.316.400 (XO: 35.455318739)

 - Block number: 4 starting at 2022-07-04T18:38:23.855.314.725 (XO: 58.855318404 - 58.855624405, t=38.8 degC)  Rank: 00080
   TM values: Max =   245  Min =  -304  Ave =    -4.46  Std =    38.35
   Min TM value:-304 at an offset of 116.375 usec -> 2022-07-04T18:38:23.855.431.100 (XO: 58.855434780)
   Max TM value:245 at an offset of 114.388 usec -> 2022-07-04T18:38:23.855.429.112 (XO: 58.855432792)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 162.026 usec -> 2022-07-04T18:38:23.855.476.750 (XO: 58.855480430)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 121.263 usec -> 2022-07-04T18:38:23.855.435.987 (XO: 58.855439667)
