-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 02:49:55 2023 UTC
-- File 20220522_033350_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 3.885462 to 49.743577
-each separately from 3s to 49s and from 4436us to 885751us.
   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, ...
      21.118685 in 1 packets: 18
      18.758798 in 1 packets: 36
      5.979476 in 1 packets: 54
MIU packet time from 2022-05-22T03:33:56.885.462.000 to 2022-05-22T03:34:42.743.577.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, ...
      21.118685 in 1 packets: 18
      18.758798 in 1 packets: 36
      5.979476 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 4.7459156 to 50.7457536
   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, ...
      21.9999225 in 1 packets: 18
      17.9999366 in 1 packets: 36
      5.9999789 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      02 -> 52.4 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C3 -> 40.4 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: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220522_033350_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.6313793 to 5.6316683
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.1186070  -- OK for SL --
   MIU time from 2022-05-22T03:33:56.885.462.000 to 2022-05-22T03:33:56.885.751.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.118685

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.7502753 to 26.7505643
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.7587350  -- OK for SL --
   MIU time from 2022-05-22T03:34:18.004.436.000 to 2022-05-22T03:34:18.004.725.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.758798

 - 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 45.5092993 to 45.5095883
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.9794550  -- OK for SL --
   MIU time from 2022-05-22T03:34:36.763.523.000 to 2022-05-22T03:34:36.763.812.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.979476

 - 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 51.4890433 to 51.4893323
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-22T03:34:42.743.288.000 to 2022-05-22T03:34:42.743.577.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 = 3, 32bit 10MHz counter = 5.631379300 corrected by 40bit 10MHz counter of 4.745915600 obtained at 1Hz counter of 3. Result: 3.885466799
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2022-05-22T03:33:56.885.321.725
   Max 1st sample MIU time among all SL packets: 2022-05-22T03:34:42.743.436.725
   Min 1st sample XO time among all SL packets: 3.885326524
   Max 1st sample XO time among all SL packets: 49.743441027
   TM values from -262 to 255 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-22T03:33:56.885.321.725 (XO: 3.885326524 - 3.885632525, t=40.4 degC)  Rank: 00082
   TM values: Max =   209  Min =  -257  Ave =    -4.42  Std =    23.49
   Min TM value:-257 at an offset of 126.025 usec -> 2022-05-22T03:33:56.885.447.750 (XO: 3.885452549)
   Max TM value:209 at an offset of 168.851 usec -> 2022-05-22T03:33:56.885.490.575 (XO: 3.885495374)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 126.138 usec -> 2022-05-22T03:33:56.885.447.862 (XO: 3.885452662)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 125.938 usec -> 2022-05-22T03:33:56.885.447.662 (XO: 3.885452462)

 - Block number: 2 starting at 2022-05-22T03:34:18.004.295.725 (XO: 25.004296940 - 25.004602941, t=40.4 degC)  Rank: 00081
   TM values: Max =   219  Min =  -256  Ave =    -4.52  Std =    25.32
   Min TM value:-256 at an offset of 126.713 usec -> 2022-05-22T03:34:18.004.422.437 (XO: 25.004423653)
   Max TM value:219 at an offset of 126.963 usec -> 2022-05-22T03:34:18.004.422.687 (XO: 25.004423903)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 126.825 usec -> 2022-05-22T03:34:18.004.422.550 (XO: 25.004423765)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 126.625 usec -> 2022-05-22T03:34:18.004.422.350 (XO: 25.004423565)

 - Block number: 3 starting at 2022-05-22T03:34:36.763.382.725 (XO: 43.763386997 - 43.763692998, t=40.4 degC)  Rank: 00080
   TM values: Max =   212  Min =  -259  Ave =    -4.55  Std =    18.28
   Min TM value:-259 at an offset of 128.800 usec -> 2022-05-22T03:34:36.763.511.525 (XO: 43.763515797)
   Max TM value:212 at an offset of 129.050 usec -> 2022-05-22T03:34:36.763.511.775 (XO: 43.763516047)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 128.950 usec -> 2022-05-22T03:34:36.763.511.675 (XO: 43.763515947)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 128.725 usec -> 2022-05-22T03:34:36.763.511.450 (XO: 43.763515722)

 - Block number: 4 starting at 2022-05-22T03:34:42.743.147.725 (XO: 49.743152026 - 49.743458027, t=40.4 degC)  Rank: 00080
   TM values: Max =   255  Min =  -262  Ave =    -4.44  Std =    19.72
   Min TM value:-262 at an offset of 111.988 usec -> 2022-05-22T03:34:42.743.259.712 (XO: 49.743264014)
   Max TM value:255 at an offset of 111.738 usec -> 2022-05-22T03:34:42.743.259.462 (XO: 49.743263764)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 114.250 usec -> 2022-05-22T03:34:42.743.261.975 (XO: 49.743266276)
   Min dTM/dt [1/us]:-2.58e+03 at an offset of 111.825 usec -> 2022-05-22T03:34:42.743.259.550 (XO: 49.743263851)
