-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jun  2 00:20:44 2023 UTC
-- File 20230601_100649_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 3.199586 to 30.256513
-each separately from 3s to 30s and from 199586us to 296259us.
   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, ...
      23.096095 in 1 packets: 18
      3.959965 in 1 packets: 36
MIU packet time from 2023-06-01T10:06:55.199.586.000 to 2023-06-01T10:07:22.256.513.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, ...
      23.096095 in 1 packets: 18
      3.959965 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 4.8851812 to 31.8850875
   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, ...
      22.9999202 in 1 packets: 18
      3.9999861 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      02 -> 52.4 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C3 -> 40.4 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 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 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 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 20230601_100649_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.0847686 to 5.0850576
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.0960150  -- OK for SL --
   MIU time from 2023-06-01T10:06:55.199.586.000 to 2023-06-01T10:06:55.199.875.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.096095

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.1810726 to 28.1813616
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.9599510  -- OK for SL --
   MIU time from 2023-06-01T10:07:18.295.970.000 to 2023-06-01T10:07:18.296.259.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.959965

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.1413126 to 32.1416016
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-01T10:07:22.256.224.000 to 2023-06-01T10:07:22.256.513.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 = 3, 32bit 10MHz counter = 5.084768600 corrected by 40bit 10MHz counter of 4.885181200 obtained at 1Hz counter of 3. Result: 3.199588099
--
   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.999996500 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2023-06-01T10:06:55.199.445.725
   Max 1st sample MIU time among all SL packets: 2023-06-01T10:07:22.256.372.725
   Min 1st sample XO time among all SL packets: 3.199447823
   Max 1st sample XO time among all SL packets: 30.256374722
   TM values from -244 to 176 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-01T10:06:55.199.445.725 (XO: 3.199447823 - 3.199753824, t=40.4 degC)  Rank: 00083
   TM values: Max =   116  Min =   -97  Ave =    -4.44  Std =    15.69
   Min TM value:-97 at an offset of 119.113 usec -> 2023-06-01T10:06:55.199.564.837 (XO: 3.199566936)
   Max TM value:116 at an offset of 114.575 usec -> 2023-06-01T10:06:55.199.560.300 (XO: 3.199562398)
   Max dTM/dt [1/us]:4.49e+02 at an offset of 49.925 usec -> 2023-06-01T10:06:55.199.495.650 (XO: 3.199497748)
   Min dTM/dt [1/us]:-4.13e+02 at an offset of 49.813 usec -> 2023-06-01T10:06:55.199.495.537 (XO: 3.199497636)

 - Block number: 2 starting at 2023-06-01T10:07:18.295.829.725 (XO: 26.295831931 - 26.296137932, t=40.4 degC)  Rank: 00079
   TM values: Max =   176  Min =  -244  Ave =    -4.42  Std =    24.07
   Min TM value:-244 at an offset of 125.025 usec -> 2023-06-01T10:07:18.295.954.750 (XO: 26.295956956)
   Max TM value:176 at an offset of 182.126 usec -> 2023-06-01T10:07:18.296.011.850 (XO: 26.296014056)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 127.413 usec -> 2023-06-01T10:07:18.295.957.137 (XO: 26.295959344)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 124.888 usec -> 2023-06-01T10:07:18.295.954.612 (XO: 26.295956819)

 - Block number: 3 starting at 2023-06-01T10:07:22.256.083.725 (XO: 30.256085721 - 30.256391722, t=40.4 degC)  Rank: 00083
   TM values: Max =   175  Min =  -237  Ave =    -4.36  Std =    17.31
   Min TM value:-237 at an offset of 110.525 usec -> 2023-06-01T10:07:22.256.194.250 (XO: 30.256196247)
   Max TM value:175 at an offset of 110.250 usec -> 2023-06-01T10:07:22.256.193.975 (XO: 30.256195972)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 112.913 usec -> 2023-06-01T10:07:22.256.196.637 (XO: 30.256198634)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 110.375 usec -> 2023-06-01T10:07:22.256.194.100 (XO: 30.256196097)
