-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Aug  1 23:41:51 2021 UTC
-- File 20210701_065205_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 10.729516 to 49.989721
-each separately from 10s to 49s and from 99370us to 999680us.
   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.269586 in 1 packets: 18
      16.099690 in 1 packets: 36
      8.889773 in 1 packets: 54
MIU packet time from 2021-07-01T06:52:14.729.516.000 to 2021-07-01T06:52:53.989.721.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.269586 in 1 packets: 18
      16.099690 in 1 packets: 36
      8.889773 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 11.9271007 to 50.9269617
   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.9999501 in 1 packets: 18
      16.9999393 in 1 packets: 36
      7.9999716 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210701_065205_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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.6566174 to 12.6569064
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2695350  -- OK for SL --
   MIU time from 2021-07-01T06:52:14.729.516.000 to 2021-07-01T06:52:14.729.805.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.269586

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.9264414 to 26.9267304
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0996310  -- OK for SL --
   MIU time from 2021-07-01T06:52:28.999.391.000 to 2021-07-01T06:52:28.999.680.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.099690

 - 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 43.0263614 to 43.0266504
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.8897430  -- OK for SL --
   MIU time from 2021-07-01T06:52:45.099.370.000 to 2021-07-01T06:52:45.099.659.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.889773

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.9163934 to 51.9166824
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-01T06:52:53.989.432.000 to 2021-07-01T06:52:53.989.721.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 = 10, 32bit 10MHz counter = 12.656617400 corrected by 40bit 10MHz counter of 11.927100700 obtained at 1Hz counter of 10. Result: 10.729519326
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2021-07-01T06:52:14.729.375.725
   Max 1st sample MIU time among all SL packets: 2021-07-01T06:52:53.989.580.725
   Min 1st sample XO time among all SL packets: 10.729379051
   Max 1st sample XO time among all SL packets: 49.989583889
   TM values from -281 to 259 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-01T06:52:14.729.375.725 (XO: 10.729379051 - 10.729685052, t=35.6 degC)  Rank: 00074
   TM values: Max =   237  Min =  -257  Ave =    -4.52  Std =    28.60
   Min TM value:-257 at an offset of 117.588 usec -> 2021-07-01T06:52:14.729.493.312 (XO: 10.729496639)
   Max TM value:237 at an offset of 120.300 usec -> 2021-07-01T06:52:14.729.496.025 (XO: 10.729499351)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 120.125 usec -> 2021-07-01T06:52:14.729.495.850 (XO: 10.729499176)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 117.400 usec -> 2021-07-01T06:52:14.729.493.125 (XO: 10.729496451)

 - Block number: 2 starting at 2021-07-01T06:52:28.999.250.725 (XO: 24.999253822 - 24.999559823, t=35.6 degC)  Rank: 00073
   TM values: Max =   259  Min =  -256  Ave =    -4.51  Std =    28.07
   Min TM value:-256 at an offset of 119.725 usec -> 2021-07-01T06:52:28.999.370.450 (XO: 24.999373548)
   Max TM value:259 at an offset of 122.450 usec -> 2021-07-01T06:52:28.999.373.175 (XO: 24.999376273)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 122.275 usec -> 2021-07-01T06:52:28.999.373.000 (XO: 24.999376098)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 119.550 usec -> 2021-07-01T06:52:28.999.370.275 (XO: 24.999373373)

 - Block number: 3 starting at 2021-07-01T06:52:45.099.229.725 (XO: 41.099231372 - 41.099537373, t=35.6 degC)  Rank: 00080
   TM values: Max =   252  Min =  -276  Ave =    -4.38  Std =    24.04
   Min TM value:-276 at an offset of 121.000 usec -> 2021-07-01T06:52:45.099.350.725 (XO: 41.099352373)
   Max TM value:252 at an offset of 118.700 usec -> 2021-07-01T06:52:45.099.348.425 (XO: 41.099350073)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 118.575 usec -> 2021-07-01T06:52:45.099.348.300 (XO: 41.099349948)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 120.800 usec -> 2021-07-01T06:52:45.099.350.525 (XO: 41.099352173)

 - Block number: 4 starting at 2021-07-01T06:52:53.989.291.725 (XO: 49.989294888 - 49.989600889, t=35.6 degC)  Rank: 00082
   TM values: Max =   237  Min =  -281  Ave =    -4.39  Std =    29.50
   Min TM value:-281 at an offset of 118.075 usec -> 2021-07-01T06:52:53.989.409.800 (XO: 49.989412963)
   Max TM value:237 at an offset of 120.763 usec -> 2021-07-01T06:52:53.989.412.487 (XO: 49.989415650)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 120.600 usec -> 2021-07-01T06:52:53.989.412.325 (XO: 49.989415488)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 117.913 usec -> 2021-07-01T06:52:53.989.409.637 (XO: 49.989412800)
