-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Feb 15 03:55:22 2022 UTC
-- File 20211114_061241_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.600968 to 52.004722
-each separately from 3s to 52s and from 4433us to 919082us.
   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, ...
      14.317536 in 1 packets: 18
      14.245250 in 1 packets: 36
      19.839812 in 1 packets: 54
MIU packet time from 2021-11-14T06:12:47.600.968.000 to 2021-11-14T06:13:36.004.722.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, ...
      14.317536 in 1 packets: 18
      14.245250 in 1 packets: 36
      19.839812 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.7135785 to 53.7134084
   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, ...
      13.9999514 in 1 packets: 18
      14.9999479 in 1 packets: 36
      19.9999306 in 1 packets: 54
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 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C0 -> 35.6 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: 
      1 in 72 packets (all packets)
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      4 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20211114_061241_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:
      251 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.3145466 to 5.3148356
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.3174870  -- OK for SL --
   MIU time from 2021-11-14T06:12:47.600.968.000 to 2021-11-14T06:12:47.601.257.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.317536

 - 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:
      48 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.6323226 to 19.6326116
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2451990  -- OK for SL --
   MIU time from 2021-11-14T06:13:01.918.793.000 to 2021-11-14T06:13:01.919.082.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.245250

 - 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:
      47 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.8778106 to 33.8780996
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.8397430  -- OK for SL --
   MIU time from 2021-11-14T06:13:16.164.332.000 to 2021-11-14T06:13:16.164.621.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.839812

 - 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:
      43 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.7178426 to 53.7181316
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-11-14T06:13:36.004.433.000 to 2021-11-14T06:13:36.004.722.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.314546600 corrected by 40bit 10MHz counter of 4.713578500 obtained at 1Hz counter of 3. Result: 3.600970203
--
   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: 2021-11-14T06:12:47.600.827.725
   Max 1st sample MIU time among all SL packets: 2021-11-14T06:13:36.004.581.725
   Min 1st sample XO time among all SL packets: 3.600829928
   Max 1st sample XO time among all SL packets: 52.004582941
   TM values from -647 to 1556 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-11-14T06:12:47.600.827.725 (XO: 3.600829928 - 3.601135929, t=35.6 degC)  Rank: 00251
   TM values: Max =  1556  Min =  -647  Ave =    -4.58  Std =    88.05
   Min TM value:-647 at an offset of 106.950 usec -> 2021-11-14T06:12:47.600.934.675 (XO: 3.600936878)
   Max TM value:1556 at an offset of 105.100 usec -> 2021-11-14T06:12:47.600.932.825 (XO: 3.600935028)
   Max dTM/dt [1/us]:7.40e+03 at an offset of 94.488 usec -> 2021-11-14T06:12:47.600.922.212 (XO: 3.600924416)
   Min dTM/dt [1/us]:-7.13e+03 at an offset of 110.163 usec -> 2021-11-14T06:12:47.600.937.887 (XO: 3.600940091)

 - Block number: 2 starting at 2021-11-14T06:13:01.918.652.725 (XO: 17.918655640 - 17.918961641, t=35.6 degC)  Rank: 00048
   TM values: Max =   119  Min =  -123  Ave =    -4.55  Std =    48.20
   Min TM value:-123 at an offset of 137.125 usec -> 2021-11-14T06:13:01.918.789.850 (XO: 17.918792766)
   Max TM value:119 at an offset of 166.888 usec -> 2021-11-14T06:13:01.918.819.613 (XO: 17.918822528)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 137.163 usec -> 2021-11-14T06:13:01.918.789.887 (XO: 17.918792803)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 166.926 usec -> 2021-11-14T06:13:01.918.819.650 (XO: 17.918822566)

 - Block number: 3 starting at 2021-11-14T06:13:16.164.191.725 (XO: 32.164193083 - 32.164499084, t=35.6 degC)  Rank: 00047
   TM values: Max =   167  Min =  -185  Ave =    -4.59  Std =    36.39
   Min TM value:-185 at an offset of 121.113 usec -> 2021-11-14T06:13:16.164.312.837 (XO: 32.164314196)
   Max TM value:167 at an offset of 120.838 usec -> 2021-11-14T06:13:16.164.312.562 (XO: 32.164313921)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 123.588 usec -> 2021-11-14T06:13:16.164.315.312 (XO: 32.164316671)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 120.900 usec -> 2021-11-14T06:13:16.164.312.625 (XO: 32.164313984)

 - Block number: 4 starting at 2021-11-14T06:13:36.004.292.725 (XO: 52.004293940 - 52.004599941, t=35.6 degC)  Rank: 00043
   TM values: Max =   161  Min =  -181  Ave =    -4.56  Std =    31.64
   Min TM value:-181 at an offset of 96.638 usec -> 2021-11-14T06:13:36.004.389.362 (XO: 52.004390578)
   Max TM value:161 at an offset of 70.100 usec -> 2021-11-14T06:13:36.004.362.825 (XO: 52.004364040)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 98.950 usec -> 2021-11-14T06:13:36.004.391.675 (XO: 52.004392890)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 96.275 usec -> 2021-11-14T06:13:36.004.389.000 (XO: 52.004390215)
