-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 13 21:59:38 2023 UTC
-- File 20220604_174109_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.209407 to 37.381122
-each separately from 12s to 37s and from 209407us to 907831us.
   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, ...
      17.697846 in 1 packets: 18
      7.473002 in 1 packets: 36
MIU packet time from 2022-06-04T17:41:24.209.407.000 to 2022-06-04T17:41:49.381.122.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, ...
      17.697846 in 1 packets: 18
      7.473002 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.8533917 to 38.8533091
   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, ...
      16.9999439 in 1 packets: 18
      7.9999735 in 1 packets: 36
Temperature FPGA: 
      FE -> 57.6 degC in 36 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: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C6 -> 45.2 degC in 54 packets (all packets)
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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      32 in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      174 in 1 packets: 37
      175 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20220604_174109_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:
      67 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.0627998 to 14.0630888
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.6977910  -- OK for SL --
   MIU time from 2022-06-04T17:41:24.209.407.000 to 2022-06-04T17:41:24.209.696.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.697846

 - 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:
      63 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.7608798 to 31.7611688
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.4729750  -- OK for SL --
   MIU time from 2022-06-04T17:41:41.907.542.000 to 2022-06-04T17:41:41.907.831.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.473002

 - 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:
      112 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.2341438 to 39.2344328
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-04T17:41:49.380.833.000 to 2022-06-04T17:41:49.381.122.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.062799800 corrected by 40bit 10MHz counter of 13.853391700 obtained at 1Hz counter of 12. Result: 12.209408812
--
   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-06-04T17:41:24.209.266.725
   Max 1st sample MIU time among all SL packets: 2022-06-04T17:41:49.380.981.725
   Min 1st sample XO time among all SL packets: 12.209268537
   Max 1st sample XO time among all SL packets: 37.380984682
   TM values from -276 to 261 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-04T17:41:24.209.266.725 (XO: 12.209268537 - 12.209574538, t=45.2 degC)  Rank: 00067
   TM values: Max =   261  Min =  -276  Ave =    -4.36  Std =    42.33
   Min TM value:-276 at an offset of 136.163 usec -> 2022-06-04T17:41:24.209.402.887 (XO: 12.209404699)
   Max TM value:261 at an offset of 169.626 usec -> 2022-06-04T17:41:24.209.436.350 (XO: 12.209438162)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 196.313 usec -> 2022-06-04T17:41:24.209.463.038 (XO: 12.209464850)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 152.901 usec -> 2022-06-04T17:41:24.209.419.625 (XO: 12.209421437)

 - Block number: 2 starting at 2022-06-04T17:41:41.907.401.725 (XO: 29.907407010 - 29.907713011, t=45.2 degC)  Rank: 00063
   TM values: Max =   151  Min =  -159  Ave =    -4.29  Std =    62.82
   Min TM value:-159 at an offset of 158.326 usec -> 2022-06-04T17:41:41.907.560.050 (XO: 29.907565336)
   Max TM value:151 at an offset of 157.451 usec -> 2022-06-04T17:41:41.907.559.175 (XO: 29.907564461)
   Max dTM/dt [1/us]:1.52e+03 at an offset of 117.750 usec -> 2022-06-04T17:41:41.907.519.475 (XO: 29.907524761)
   Min dTM/dt [1/us]:-1.62e+03 at an offset of 210.238 usec -> 2022-06-04T17:41:41.907.611.963 (XO: 29.907617248)

 - Block number: 3 starting at 2022-06-04T17:41:49.380.692.725 (XO: 37.380695681 - 37.381001682, t=45.2 degC)  Rank: 00112
   TM values: Max =   209  Min =  -231  Ave =    -4.40  Std =    99.46
   Min TM value:-231 at an offset of 146.300 usec -> 2022-06-04T17:41:49.380.839.025 (XO: 37.380841982)
   Max TM value:209 at an offset of 187.351 usec -> 2022-06-04T17:41:49.380.880.075 (XO: 37.380883032)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 158.801 usec -> 2022-06-04T17:41:49.380.851.525 (XO: 37.380854482)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 158.238 usec -> 2022-06-04T17:41:49.380.850.963 (XO: 37.380853919)
