-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Nov 19 00:28:55 2021 UTC
-- File 20210720_040615_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 8.262215 to 32.139176
-each separately from 8s to 32s and from 138887us to 641363us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      8.378570 in 1 packets: 18
      15.497524 in 1 packets: 36
MIU packet time from 2021-07-20T04:06:26.262.215.000 to 2021-07-20T04:06:50.139.176.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      8.378570 in 1 packets: 18
      15.497524 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 9.4324670 to 33.4323869
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      7.9999734 in 1 packets: 18
      15.9999465 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210720_040615_1227.dat, 3 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.6946830 to 9.6949720
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.3785430  -- OK for SL --
   MIU time from 2021-07-20T04:06:26.262.215.000 to 2021-07-20T04:06:26.262.504.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.378570

 - 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 18.0735150 to 18.0738040
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.4974710  -- OK for SL --
   MIU time from 2021-07-20T04:06:34.641.074.000 to 2021-07-20T04:06:34.641.363.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.497524

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.5712750 to 33.5715640
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-20T04:06:50.138.887.000 to 2021-07-20T04:06:50.139.176.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 8, 32bit 10MHz counter = 9.694683000 corrected by 40bit 10MHz counter of 9.432467000 obtained at 1Hz counter of 8. Result: 8.262216865
--
   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-07-20T04:06:26.262.074.725
   Max 1st sample MIU time among all SL packets: 2021-07-20T04:06:50.139.035.725
   Min 1st sample XO time among all SL packets: 8.262076590
   Max 1st sample XO time among all SL packets: 32.139037284
   TM values from -268 to 235 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-20T04:06:26.262.074.725 (XO: 8.262076590 - 8.262382591, t=37.2 degC)  Rank: 00076
   TM values: Max =   211  Min =  -258  Ave =    -4.47  Std =    22.79
   Min TM value:-258 at an offset of 162.088 usec -> 2021-07-20T04:06:26.262.236.813 (XO: 8.262238678)
   Max TM value:211 at an offset of 164.676 usec -> 2021-07-20T04:06:26.262.239.400 (XO: 8.262241265)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 164.476 usec -> 2021-07-20T04:06:26.262.239.200 (XO: 8.262241065)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 134.200 usec -> 2021-07-20T04:06:26.262.208.925 (XO: 8.262210790)

 - Block number: 2 starting at 2021-07-20T04:06:34.640.933.725 (XO: 16.640936504 - 16.641242505, t=37.2 degC)  Rank: 00078
   TM values: Max =   235  Min =  -237  Ave =    -4.44  Std =    20.73
   Min TM value:-237 at an offset of 130.313 usec -> 2021-07-20T04:06:34.641.064.037 (XO: 16.641066817)
   Max TM value:235 at an offset of 133.013 usec -> 2021-07-20T04:06:34.641.066.737 (XO: 16.641069517)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 132.863 usec -> 2021-07-20T04:06:34.641.066.587 (XO: 16.641069367)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 130.163 usec -> 2021-07-20T04:06:34.641.063.887 (XO: 16.641066667)

 - Block number: 3 starting at 2021-07-20T04:06:50.138.746.725 (XO: 32.138748283 - 32.139054284, t=37.2 degC)  Rank: 00082
   TM values: Max =   219  Min =  -268  Ave =    -4.56  Std =    21.40
   Min TM value:-268 at an offset of 131.088 usec -> 2021-07-20T04:06:50.138.877.812 (XO: 32.138879371)
   Max TM value:219 at an offset of 130.775 usec -> 2021-07-20T04:06:50.138.877.500 (XO: 32.138879058)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 133.450 usec -> 2021-07-20T04:06:50.138.880.175 (XO: 32.138881733)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 130.888 usec -> 2021-07-20T04:06:50.138.877.612 (XO: 32.138879171)
