-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 13 03:04:14 2021 UTC
-- File 20210812_102346_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 14.912064 to 48.246546
-each separately from 14s to 48s and from 82464us to 912353us.
   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, ...
      4.170111 in 1 packets: 18
      21.612453 in 1 packets: 36
      7.550762 in 1 packets: 54
MIU packet time from 2021-08-12T10:24:03.912.064.000 to 2021-08-12T10:24:37.246.546.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, ...
      4.170111 in 1 packets: 18
      21.612453 in 1 packets: 36
      7.550762 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 15.8475083 to 49.8473954
   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, ...
      4.9999834 in 1 packets: 18
      20.9999302 in 1 packets: 36
      7.9999735 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C1 -> 37.2 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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210812_102346_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.7595729 to 16.7598619
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.1700950  -- OK for SL --
   MIU time from 2021-08-12T10:24:03.912.064.000 to 2021-08-12T10:24:03.912.353.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.170111

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.9299569 to 20.9302459
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.6123830  -- OK for SL --
   MIU time from 2021-08-12T10:24:08.082.464.000 to 2021-08-12T10:24:08.082.753.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.612453

 - 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 42.5426289 to 42.5429179
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.5507350  -- OK for SL --
   MIU time from 2021-08-12T10:24:29.695.206.000 to 2021-08-12T10:24:29.695.495.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.550762

 - 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 50.0936529 to 50.0939419
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-12T10:24:37.246.257.000 to 2021-08-12T10:24:37.246.546.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 = 14, 32bit 10MHz counter = 16.759572900 corrected by 40bit 10MHz counter of 15.847508300 obtained at 1Hz counter of 14. Result: 14.912067610
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-12T10:24:03.911.923.725
   Max 1st sample MIU time among all SL packets: 2021-08-12T10:24:37.246.405.725
   Min 1st sample XO time among all SL packets: 14.911927334
   Max 1st sample XO time among all SL packets: 48.246407038
   TM values from -260 to 240 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-12T10:24:03.911.923.725 (XO: 14.911927334 - 14.912233335, t=37.2 degC)  Rank: 00080
   TM values: Max =   219  Min =  -258  Ave =    -4.60  Std =    16.61
   Min TM value:-258 at an offset of 35.738 usec -> 2021-08-12T10:24:03.911.959.462 (XO: 14.911963072)
   Max TM value:219 at an offset of 33.638 usec -> 2021-08-12T10:24:03.911.957.362 (XO: 14.911960972)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 33.500 usec -> 2021-08-12T10:24:03.911.957.225 (XO: 14.911960834)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 35.575 usec -> 2021-08-12T10:24:03.911.959.300 (XO: 14.911962909)

 - Block number: 2 starting at 2021-08-12T10:24:08.082.323.725 (XO: 19.082325197 - 19.082631198, t=37.2 degC)  Rank: 00078
   TM values: Max =   210  Min =  -258  Ave =    -4.52  Std =    21.40
   Min TM value:-258 at an offset of 97.163 usec -> 2021-08-12T10:24:08.082.420.887 (XO: 19.082422359)
   Max TM value:210 at an offset of 96.850 usec -> 2021-08-12T10:24:08.082.420.575 (XO: 19.082422047)
   Max dTM/dt [1/us]:1.61e+03 at an offset of 99.600 usec -> 2021-08-12T10:24:08.082.423.325 (XO: 19.082424797)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 96.975 usec -> 2021-08-12T10:24:08.082.420.700 (XO: 19.082422172)

 - Block number: 3 starting at 2021-08-12T10:24:29.695.065.725 (XO: 40.695069019 - 40.695375020, t=37.2 degC)  Rank: 00083
   TM values: Max =   240  Min =  -260  Ave =    -4.65  Std =    30.78
   Min TM value:-260 at an offset of 124.050 usec -> 2021-08-12T10:24:29.695.189.775 (XO: 40.695193069)
   Max TM value:240 at an offset of 121.738 usec -> 2021-08-12T10:24:29.695.187.462 (XO: 40.695190757)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 222.238 usec -> 2021-08-12T10:24:29.695.287.963 (XO: 40.695291257)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 123.900 usec -> 2021-08-12T10:24:29.695.189.625 (XO: 40.695192919)

 - Block number: 4 starting at 2021-08-12T10:24:37.246.116.725 (XO: 48.246118037 - 48.246424038, t=37.2 degC)  Rank: 00080
   TM values: Max =   202  Min =  -234  Ave =    -4.57  Std =    17.73
   Min TM value:-234 at an offset of 117.738 usec -> 2021-08-12T10:24:37.246.234.462 (XO: 48.246235775)
   Max TM value:202 at an offset of 120.500 usec -> 2021-08-12T10:24:37.246.237.225 (XO: 48.246238538)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 120.338 usec -> 2021-08-12T10:24:37.246.237.062 (XO: 48.246238375)
   Min dTM/dt [1/us]:-1.47e+03 at an offset of 123.200 usec -> 2021-08-12T10:24:37.246.239.925 (XO: 48.246241238)
