-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jun  4 03:54:46 2023 UTC
-- File 20230603_163350_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 12.880738 to 30.381124
-each separately from 12s to 30s and from 380835us to 881027us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.789754 in 1 packets: 18
      5.709765 in 1 packets: 36
MIU packet time from 2023-06-03T16:34:05.880.738.000 to 2023-06-03T16:34:23.381.124.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.789754 in 1 packets: 18
      5.709765 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 13.8432254 to 31.8431613
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.9999573 in 1 packets: 18
      5.9999786 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets (all packets)
Temperature XO: 
      C4 -> 42.0 degC in 36 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: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 53 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 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20230603_163350_1227.dat, 3 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.7239652 to 14.7242542
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.7897110  -- OK for SL --
   MIU time from 2023-06-03T16:34:05.880.738.000 to 2023-06-03T16:34:05.881.027.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.789754

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.5139652 to 26.5142542
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.7097430  -- OK for SL --
   MIU time from 2023-06-03T16:34:17.670.781.000 to 2023-06-03T16:34:17.671.070.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.709765

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.2239972 to 32.2242862
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-03T16:34:23.380.835.000 to 2023-06-03T16:34:23.381.124.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 12, 32bit 10MHz counter = 14.723965200 corrected by 40bit 10MHz counter of 13.843225400 obtained at 1Hz counter of 12. Result: 12.880742971
--
   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: 2023-06-03T16:34:05.880.597.725
   Max 1st sample MIU time among all SL packets: 2023-06-03T16:34:23.380.983.725
   Min 1st sample XO time among all SL packets: 12.880602695
   Max 1st sample XO time among all SL packets: 30.380985958
   TM values from -281 to 206 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-03T16:34:05.880.597.725 (XO: 12.880602695 - 12.880908696, t=42.0 degC)  Rank: 00082
   TM values: Max =   195  Min =  -281  Ave =    -4.45  Std =    26.28
   Min TM value:-281 at an offset of 117.875 usec -> 2023-06-03T16:34:05.880.715.600 (XO: 12.880720571)
   Max TM value:195 at an offset of 117.625 usec -> 2023-06-03T16:34:05.880.715.350 (XO: 12.880720321)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 120.263 usec -> 2023-06-03T16:34:05.880.717.987 (XO: 12.880722958)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 117.763 usec -> 2023-06-03T16:34:05.880.715.487 (XO: 12.880720458)

 - Block number: 2 starting at 2023-06-03T16:34:17.670.640.725 (XO: 24.670644572 - 24.670950573, t=40.4 degC)  Rank: 00075
   TM values: Max =   206  Min =  -248  Ave =    -4.49  Std =    22.97
   Min TM value:-248 at an offset of 106.263 usec -> 2023-06-03T16:34:17.670.746.987 (XO: 24.670750835)
   Max TM value:206 at an offset of 104.250 usec -> 2023-06-03T16:34:17.670.744.975 (XO: 24.670748823)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 108.688 usec -> 2023-06-03T16:34:17.670.749.412 (XO: 24.670753260)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 106.150 usec -> 2023-06-03T16:34:17.670.746.875 (XO: 24.670750723)

 - Block number: 3 starting at 2023-06-03T16:34:23.380.694.725 (XO: 30.380696957 - 30.381002959, t=42.0 degC)  Rank: 00075
   TM values: Max =   181  Min =  -230  Ave =    -4.51  Std =    18.01
   Min TM value:-230 at an offset of 120.688 usec -> 2023-06-03T16:34:23.380.815.412 (XO: 30.380817645)
   Max TM value:181 at an offset of 123.350 usec -> 2023-06-03T16:34:23.380.818.075 (XO: 30.380820308)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 123.163 usec -> 2023-06-03T16:34:23.380.817.887 (XO: 30.380820120)
   Min dTM/dt [1/us]:-1.77e+03 at an offset of 120.513 usec -> 2023-06-03T16:34:23.380.815.237 (XO: 30.380817470)
