-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Aug  2 13:43:35 2021 UTC
-- File 20210702_020947_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 9.077974 to 34.698209
-each separately from 9s to 34s and from 77974us to 698209us.
   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, ...
      13.119694 in 1 packets: 18
      12.499674 in 1 packets: 36
MIU packet time from 2021-07-02T02:09:55.077.974.000 to 2021-07-02T02:10:20.698.209.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, ...
      13.119694 in 1 packets: 18
      12.499674 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 10.5382560 to 35.5381670
   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, ...
      12.9999537 in 1 packets: 18
      11.9999573 in 1 packets: 36
Temperature FPGA: 
      06 -> 47.2 degC in 54 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210702_020947_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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.6162311 to 10.6165201
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.1196470  -- OK for SL --
   MIU time from 2021-07-02T02:09:55.077.974.000 to 2021-07-02T02:09:55.078.263.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.119694

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.7361671 to 23.7364561
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.4996310  -- OK for SL --
   MIU time from 2021-07-02T02:10:08.197.957.000 to 2021-07-02T02:10:08.198.246.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.499674

 - 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 36.2360871 to 36.2363761
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-02T02:10:20.697.920.000 to 2021-07-02T02:10:20.698.209.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 = 9, 32bit 10MHz counter = 10.616231100 corrected by 40bit 10MHz counter of 10.538256000 obtained at 1Hz counter of 9. Result: 9.077975381
--
   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-02T02:09:55.077.833.725
   Max 1st sample MIU time among all SL packets: 2021-07-02T02:10:20.698.068.725
   Min 1st sample XO time among all SL packets: 9.077835105
   Max 1st sample XO time among all SL packets: 34.698071338
   TM values from -258 to 234 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-02T02:09:55.077.833.725 (XO: 9.077835105 - 9.078141106, t=35.6 degC)  Rank: 00087
   TM values: Max =   207  Min =  -239  Ave =    -4.43  Std =    27.33
   Min TM value:-239 at an offset of 207.788 usec -> 2021-07-02T02:09:55.078.041.513 (XO: 9.078042893)
   Max TM value:207 at an offset of 207.526 usec -> 2021-07-02T02:09:55.078.041.250 (XO: 9.078042631)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 218.201 usec -> 2021-07-02T02:09:55.078.051.925 (XO: 9.078053306)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 207.651 usec -> 2021-07-02T02:09:55.078.041.375 (XO: 9.078042756)

 - Block number: 2 starting at 2021-07-02T02:10:08.197.816.725 (XO: 22.197817817 - 22.198123818, t=35.6 degC)  Rank: 00077
   TM values: Max =   217  Min =  -258  Ave =    -4.61  Std =    16.69
   Min TM value:-258 at an offset of 120.450 usec -> 2021-07-02T02:10:08.197.937.175 (XO: 22.197938268)
   Max TM value:217 at an offset of 120.163 usec -> 2021-07-02T02:10:08.197.936.887 (XO: 22.197937980)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 118.075 usec -> 2021-07-02T02:10:08.197.934.800 (XO: 22.197935893)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 120.275 usec -> 2021-07-02T02:10:08.197.937.000 (XO: 22.197938093)

 - Block number: 3 starting at 2021-07-02T02:10:20.697.779.725 (XO: 34.697782337 - 34.698088338, t=35.6 degC)  Rank: 00078
   TM values: Max =   234  Min =  -222  Ave =    -4.45  Std =    18.15
   Min TM value:-222 at an offset of 123.463 usec -> 2021-07-02T02:10:20.697.903.187 (XO: 34.697905800)
   Max TM value:234 at an offset of 126.188 usec -> 2021-07-02T02:10:20.697.905.912 (XO: 34.697908525)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 126.063 usec -> 2021-07-02T02:10:20.697.905.787 (XO: 34.697908400)
   Min dTM/dt [1/us]:-1.75e+03 at an offset of 123.275 usec -> 2021-07-02T02:10:20.697.903.000 (XO: 34.697905612)
