-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan  2 22:58:34 2022 UTC
-- File 20210904_111640_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 0.076224 to 35.912326
-each separately from 0s to 35s and from 76224us to 912326us.
   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, ...
      15.078865 in 1 packets: 18
      20.756370 in 1 packets: 36
MIU packet time from 2021-09-04T11:16:43.076.224.000 to 2021-09-04T11:17:18.912.326.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, ...
      15.078865 in 1 packets: 18
      20.756370 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 1.8598501 to 36.8597334
   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, ...
      14.9999500 in 1 packets: 18
      19.9999333 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 20210904_111640_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:
      97 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.9360750 to 1.9363640
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0788150  -- OK for SL --
   MIU time from 2021-09-04T11:16:43.076.224.000 to 2021-09-04T11:16:43.076.513.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.078865

 - 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 17.0151790 to 17.0154680
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.7563030  -- OK for SL --
   MIU time from 2021-09-04T11:16:58.155.378.000 to 2021-09-04T11:16:58.155.667.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.756370

 - 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:
      138 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.7717710 to 37.7720600
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-04T11:17:18.912.037.000 to 2021-09-04T11:17:18.912.326.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 = 0, 32bit 10MHz counter = 1.936075000 corrected by 40bit 10MHz counter of 1.859850100 obtained at 1Hz counter of 0. Result: 0.076225159
--
   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-09-04T11:16:43.076.083.725
   Max 1st sample MIU time among all SL packets: 2021-09-04T11:17:18.912.185.725
   Min 1st sample XO time among all SL packets: 0.076084884
   Max 1st sample XO time among all SL packets: 35.912189335
   TM values from -258 to 408 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-04T11:16:43.076.083.725 (XO: 0.076084884 - 0.076390885, t=37.2 degC)  Rank: 00097
   TM values: Max =   367  Min =  -164  Ave =    -4.66  Std =    30.04
   Min TM value:-164 at an offset of 98.350 usec -> 2021-09-04T11:16:43.076.182.075 (XO: 0.076183234)
   Max TM value:367 at an offset of 94.850 usec -> 2021-09-04T11:16:43.076.178.575 (XO: 0.076179734)
   Max dTM/dt [1/us]:2.38e+03 at an offset of 97.088 usec -> 2021-09-04T11:16:43.076.180.812 (XO: 0.076181972)
   Min dTM/dt [1/us]:-2.56e+03 at an offset of 256.776 usec -> 2021-09-04T11:16:43.076.340.500 (XO: 0.076341660)

 - Block number: 2 starting at 2021-09-04T11:16:58.155.237.725 (XO: 15.155239153 - 15.155545154, t=37.2 degC)  Rank: 00080
   TM values: Max =   195  Min =  -234  Ave =    -4.52  Std =    17.37
   Min TM value:-234 at an offset of 124.225 usec -> 2021-09-04T11:16:58.155.361.950 (XO: 15.155363378)
   Max TM value:195 at an offset of 126.825 usec -> 2021-09-04T11:16:58.155.364.550 (XO: 15.155365978)
   Max dTM/dt [1/us]:1.63e+03 at an offset of 126.663 usec -> 2021-09-04T11:16:58.155.364.387 (XO: 15.155365816)
   Min dTM/dt [1/us]:-1.67e+03 at an offset of 124.013 usec -> 2021-09-04T11:16:58.155.361.737 (XO: 15.155363166)

 - Block number: 3 starting at 2021-09-04T11:17:18.911.896.725 (XO: 35.911900334 - 35.912206335, t=37.2 degC)  Rank: 00138
   TM values: Max =   408  Min =  -258  Ave =    -4.61  Std =    49.65
   Min TM value:-258 at an offset of 92.288 usec -> 2021-09-04T11:17:18.911.989.012 (XO: 35.911992622)
   Max TM value:408 at an offset of 85.063 usec -> 2021-09-04T11:17:18.911.981.787 (XO: 35.911985397)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 212.551 usec -> 2021-09-04T11:17:18.912.109.275 (XO: 35.912112885)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 91.275 usec -> 2021-09-04T11:17:18.911.988.000 (XO: 35.911991610)
