-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec 24 01:15:24 2021 UTC
-- File 20210824_110332_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 11.703050 to 51.461680
-each separately from 11s to 51s and from 122686us to 703339us.
   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, ...
      10.419347 in 1 packets: 18
      21.108741 in 1 packets: 36
      8.229386 in 1 packets: 54
MIU packet time from 2021-08-24T11:03:46.703.050.000 to 2021-08-24T11:04:26.461.680.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, ...
      10.419347 in 1 packets: 18
      21.108741 in 1 packets: 36
      8.229386 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 12.8857416 to 52.8856092
   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, ...
      10.9999636 in 1 packets: 18
      20.9999304 in 1 packets: 36
      7.9999736 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210824_110332_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.5887927 to 13.5890817
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.4193110  -- OK for SL --
   MIU time from 2021-08-24T11:03:46.703.050.000 to 2021-08-24T11:03:46.703.339.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.419347

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.0083927 to 24.0086817
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.1086710  -- OK for SL --
   MIU time from 2021-08-24T11:03:57.122.686.000 to 2021-08-24T11:03:57.122.975.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.108741

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.1173527 to 45.1176417
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.2293590  -- OK for SL --
   MIU time from 2021-08-24T11:04:18.231.716.000 to 2021-08-24T11:04:18.232.005.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.229386

 - 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 53.3470007 to 53.3472897
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-24T11:04:26.461.391.000 to 2021-08-24T11:04:26.461.680.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 = 11, 32bit 10MHz counter = 13.588792700 corrected by 40bit 10MHz counter of 12.885741600 obtained at 1Hz counter of 11. Result: 11.703053420
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-24T11:03:46.702.909.725
   Max 1st sample MIU time among all SL packets: 2021-08-24T11:04:26.461.539.725
   Min 1st sample XO time among all SL packets: 11.702913145
   Max 1st sample XO time among all SL packets: 51.461541794
   TM values from -271 to 241 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-24T11:03:46.702.909.725 (XO: 11.702913145 - 11.703219146, t=37.2 degC)  Rank: 00086
   TM values: Max =   212  Min =  -250  Ave =    -4.51  Std =    24.98
   Min TM value:-250 at an offset of 114.175 usec -> 2021-08-24T11:03:46.703.023.900 (XO: 11.703027320)
   Max TM value:212 at an offset of 113.888 usec -> 2021-08-24T11:03:46.703.023.612 (XO: 11.703027032)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 116.575 usec -> 2021-08-24T11:03:46.703.026.300 (XO: 11.703029720)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 158.863 usec -> 2021-08-24T11:03:46.703.068.588 (XO: 11.703072008)

 - Block number: 2 starting at 2021-08-24T11:03:57.122.545.725 (XO: 22.122547629 - 22.122853630, t=37.2 degC)  Rank: 00080
   TM values: Max =   241  Min =  -271  Ave =    -4.46  Std =    25.40
   Min TM value:-271 at an offset of 131.675 usec -> 2021-08-24T11:03:57.122.677.400 (XO: 22.122679305)
   Max TM value:241 at an offset of 131.400 usec -> 2021-08-24T11:03:57.122.677.125 (XO: 22.122679030)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 134.025 usec -> 2021-08-24T11:03:57.122.679.750 (XO: 22.122681655)
   Min dTM/dt [1/us]:-2.70e+03 at an offset of 131.513 usec -> 2021-08-24T11:03:57.122.677.237 (XO: 22.122679142)

 - Block number: 3 starting at 2021-08-24T11:04:18.231.575.725 (XO: 43.231577589 - 43.231883590, t=37.2 degC)  Rank: 00078
   TM values: Max =   212  Min =  -252  Ave =    -4.46  Std =    25.90
   Min TM value:-252 at an offset of 169.676 usec -> 2021-08-24T11:04:18.231.745.400 (XO: 43.231747265)
   Max TM value:212 at an offset of 167.601 usec -> 2021-08-24T11:04:18.231.743.325 (XO: 43.231745190)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 167.451 usec -> 2021-08-24T11:04:18.231.743.175 (XO: 43.231745040)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 169.526 usec -> 2021-08-24T11:04:18.231.745.250 (XO: 43.231747115)

 - Block number: 4 starting at 2021-08-24T11:04:26.461.250.725 (XO: 51.461252793 - 51.461558794, t=37.2 degC)  Rank: 00080
   TM values: Max =   221  Min =  -249  Ave =    -4.48  Std =    18.08
   Min TM value:-249 at an offset of 129.213 usec -> 2021-08-24T11:04:26.461.379.937 (XO: 51.461382006)
   Max TM value:221 at an offset of 128.938 usec -> 2021-08-24T11:04:26.461.379.662 (XO: 51.461381731)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 131.588 usec -> 2021-08-24T11:04:26.461.382.312 (XO: 51.461384381)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 129.050 usec -> 2021-08-24T11:04:26.461.379.775 (XO: 51.461381844)
