-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Apr 15 21:39:26 2023 UTC
-- File 20230415_125041_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.064311 to 34.648920
-each separately from 12s to 34s and from 35724us to 648920us.
   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, ...
      9.971124 in 1 packets: 18
      12.612618 in 1 packets: 36
MIU packet time from 2023-04-15T12:50:56.064.311.000 to 2023-04-15T12:51:18.648.920.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, ...
      9.971124 in 1 packets: 18
      12.612618 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.7398243 to 35.7397453
   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, ...
      9.9999640 in 1 packets: 18
      11.9999570 in 1 packets: 36
Temperature FPGA: 
      06 -> 47.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C0 -> 35.6 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 18 packets: 37, 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 20230415_125041_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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.8041363 to 13.8044253
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.9710870  -- OK for SL --
   MIU time from 2023-04-15T12:50:56.064.311.000 to 2023-04-15T12:50:56.064.600.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.971124

 - 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:
      92 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.7755123 to 23.7758013
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.6125750  -- OK for SL --
   MIU time from 2023-04-15T12:51:06.035.724.000 to 2023-04-15T12:51:06.036.013.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.612618

 - 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:
      66 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.3883763 to 36.3886653
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-04-15T12:51:18.648.631.000 to 2023-04-15T12:51:18.648.920.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 = 13.804136300 corrected by 40bit 10MHz counter of 13.739824300 obtained at 1Hz counter of 12. Result: 12.064312232
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2023-04-15T12:50:56.064.170.725
   Max 1st sample MIU time among all SL packets: 2023-04-15T12:51:18.648.779.725
   Min 1st sample XO time among all SL packets: 12.064171956
   Max 1st sample XO time among all SL packets: 34.648782125
   TM values from -220 to 215 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-04-15T12:50:56.064.170.725 (XO: 12.064171956 - 12.064477957, t=35.6 degC)  Rank: 00069
   TM values: Max =   139  Min =  -172  Ave =    -4.51  Std =    15.05
   Min TM value:-172 at an offset of 124.038 usec -> 2023-04-15T12:50:56.064.294.762 (XO: 12.064295994)
   Max TM value:139 at an offset of 129.550 usec -> 2023-04-15T12:50:56.064.300.275 (XO: 12.064301506)
   Max dTM/dt [1/us]:1.28e+03 at an offset of 126.788 usec -> 2023-04-15T12:50:56.064.297.512 (XO: 12.064298744)
   Min dTM/dt [1/us]:-1.40e+03 at an offset of 111.025 usec -> 2023-04-15T12:50:56.064.281.750 (XO: 12.064282981)

 - Block number: 2 starting at 2023-04-15T12:51:06.035.583.725 (XO: 22.035583853 - 22.035889854, t=35.6 degC)  Rank: 00092
   TM values: Max =   215  Min =  -141  Ave =    -4.76  Std =    28.91
   Min TM value:-141 at an offset of 175.851 usec -> 2023-04-15T12:51:06.035.759.575 (XO: 22.035759704)
   Max TM value:215 at an offset of 153.576 usec -> 2023-04-15T12:51:06.035.737.300 (XO: 22.035737429)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 168.888 usec -> 2023-04-15T12:51:06.035.752.613 (XO: 22.035752741)
   Min dTM/dt [1/us]:-2.92e+03 at an offset of 172.876 usec -> 2023-04-15T12:51:06.035.756.600 (XO: 22.035756729)

 - Block number: 3 starting at 2023-04-15T12:51:18.648.490.725 (XO: 34.648493124 - 34.648799126, t=35.6 degC)  Rank: 00066
   TM values: Max =   166  Min =  -220  Ave =    -4.49  Std =    16.43
   Min TM value:-220 at an offset of 114.588 usec -> 2023-04-15T12:51:18.648.605.312 (XO: 34.648607712)
   Max TM value:166 at an offset of 101.788 usec -> 2023-04-15T12:51:18.648.592.512 (XO: 34.648594912)
   Max dTM/dt [1/us]:1.69e+03 at an offset of 117.175 usec -> 2023-04-15T12:51:18.648.607.900 (XO: 34.648610300)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 114.425 usec -> 2023-04-15T12:51:18.648.605.150 (XO: 34.648607550)
