-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 11 20:13:35 2021 UTC
-- File 20200921_230401_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 5.293163 to 30.175450
-each separately from 5s to 30s and from 175161us to 293452us.
   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, ...
      22.980470 in 1 packets: 18
      1.900950 in 1 packets: 36
MIU packet time from 2020-09-21T23:04:10.293.163.000 to 2020-09-21T23:04:35.175.450.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, ...
      22.980470 in 1 packets: 18
      1.900950 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 7.3061045 to 32.3060101
   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, ...
      22.9999132 in 1 packets: 18
      1.9999924 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
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 20200921_230401_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:
      17 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.5992682 to 7.5995572
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.9803830  -- OK for SL --
   MIU time from 2020-09-21T23:04:10.293.163.000 to 2020-09-21T23:04:10.293.452.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.980470

 - 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:
      33 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.5799402 to 30.5802292
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.9009430  -- OK for SL --
   MIU time from 2020-09-21T23:04:33.273.922.000 to 2020-09-21T23:04:33.274.211.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.900950

 - 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:
      27 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.4811722 to 32.4814612
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2020-09-21T23:04:35.175.161.000 to 2020-09-21T23:04:35.175.450.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 = 5, 32bit 10MHz counter = 7.599268200 corrected by 40bit 10MHz counter of 7.306104500 obtained at 1Hz counter of 5. Result: 5.293164814
--
   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.999996200 - 0.999996200
   Min 1st sample MIU time among all SL packets: 2020-09-21T23:04:10.293.022.725
   Max 1st sample MIU time among all SL packets: 2020-09-21T23:04:35.175.309.725
   Min 1st sample XO time among all SL packets: 5.293024538
   Max 1st sample XO time among all SL packets: 30.175311491
   TM values from -75 to 67 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2020-09-21T23:04:10.293.022.725 (XO: 5.293024538 - 5.293330540, t=35.6 degC)  Rank: 00017
   TM values: Max =    45  Min =   -56  Ave =    -4.45  Std =    16.22
   Min TM value:-56 at an offset of 156.188 usec -> 2020-09-21T23:04:10.293.178.913 (XO: 5.293180727)
   Max TM value:45 at an offset of 185.226 usec -> 2020-09-21T23:04:10.293.207.950 (XO: 5.293209764)
   Max dTM/dt [1/us]:5.93e+02 at an offset of 218.576 usec -> 2020-09-21T23:04:10.293.241.300 (XO: 5.293243114)
   Min dTM/dt [1/us]:-5.68e+02 at an offset of 185.251 usec -> 2020-09-21T23:04:10.293.207.975 (XO: 5.293209789)

 - Block number: 2 starting at 2020-09-21T23:04:33.273.781.725 (XO: 28.273783265 - 28.274089267, t=35.6 degC)  Rank: 00033
   TM values: Max =    63  Min =   -75  Ave =    -4.46  Std =    27.69
   Min TM value:-75 at an offset of 134.976 usec -> 2020-09-21T23:04:33.273.916.700 (XO: 28.273918241)
   Max TM value:63 at an offset of 153.276 usec -> 2020-09-21T23:04:33.273.935.000 (XO: 28.273936541)
   Max dTM/dt [1/us]:7.90e+02 at an offset of 131.976 usec -> 2020-09-21T23:04:33.273.913.700 (XO: 28.273915241)
   Min dTM/dt [1/us]:-7.89e+02 at an offset of 164.351 usec -> 2020-09-21T23:04:33.273.946.075 (XO: 28.273947616)

 - Block number: 3 starting at 2020-09-21T23:04:35.175.020.725 (XO: 30.175022490 - 30.175328491, t=35.6 degC)  Rank: 00027
   TM values: Max =    67  Min =   -74  Ave =    -4.53  Std =    31.18
   Min TM value:-74 at an offset of 118.900 usec -> 2020-09-21T23:04:35.175.139.625 (XO: 30.175141391)
   Max TM value:67 at an offset of 161.188 usec -> 2020-09-21T23:04:35.175.181.913 (XO: 30.175183678)
   Max dTM/dt [1/us]:9.02e+02 at an offset of 128.625 usec -> 2020-09-21T23:04:35.175.149.350 (XO: 30.175151116)
   Min dTM/dt [1/us]:-8.37e+02 at an offset of 180.401 usec -> 2020-09-21T23:04:35.175.201.125 (XO: 30.175202891)
