-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Feb  1 02:09:49 2022 UTC
-- File 20211007_071637_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 13.598433 to 32.428034
-each separately from 13s to 32s and from 427745us to 875127us.
   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, ...
      6.276116 in 1 packets: 18
      12.552618 in 1 packets: 36
MIU packet time from 2021-10-07T07:16:53.598.433.000 to 2021-10-07T07:17:12.428.034.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, ...
      6.276116 in 1 packets: 18
      12.552618 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 14.8620789 to 33.8620154
   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, ...
      5.9999799 in 1 packets: 18
      12.9999566 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 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 20211007_071637_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.4605131 to 15.4608021
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.2760950  -- OK for SL --
   MIU time from 2021-10-07T07:16:53.598.433.000 to 2021-10-07T07:16:53.598.722.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.276116

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.7368971 to 21.7371861
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.5525750  -- OK for SL --
   MIU time from 2021-10-07T07:16:59.874.838.000 to 2021-10-07T07:16:59.875.127.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.552618

 - 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 34.2897611 to 34.2900501
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-10-07T07:17:12.427.745.000 to 2021-10-07T07:17:12.428.034.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 = 13, 32bit 10MHz counter = 15.460513100 corrected by 40bit 10MHz counter of 14.862078900 obtained at 1Hz counter of 13. Result: 13.598436175
--
   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-10-07T07:16:53.598.292.725
   Max 1st sample MIU time among all SL packets: 2021-10-07T07:17:12.427.893.725
   Min 1st sample XO time among all SL packets: 13.598295899
   Max 1st sample XO time among all SL packets: 32.427895880
   TM values from -284 to 220 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-10-07T07:16:53.598.292.725 (XO: 13.598295899 - 13.598601900, t=37.2 degC)  Rank: 00086
   TM values: Max =   207  Min =  -229  Ave =    -4.51  Std =    22.06
   Min TM value:-229 at an offset of 105.975 usec -> 2021-10-07T07:16:53.598.398.700 (XO: 13.598401875)
   Max TM value:207 at an offset of 108.663 usec -> 2021-10-07T07:16:53.598.401.387 (XO: 13.598404562)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 108.525 usec -> 2021-10-07T07:16:53.598.401.250 (XO: 13.598404425)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 105.788 usec -> 2021-10-07T07:16:53.598.398.512 (XO: 13.598401687)

 - Block number: 2 starting at 2021-10-07T07:16:59.874.697.725 (XO: 19.874700912 - 19.875006913, t=37.2 degC)  Rank: 00079
   TM values: Max =   212  Min =  -284  Ave =    -4.51  Std =    21.16
   Min TM value:-284 at an offset of 121.100 usec -> 2021-10-07T07:16:59.874.818.825 (XO: 19.874822012)
   Max TM value:212 at an offset of 118.788 usec -> 2021-10-07T07:16:59.874.816.512 (XO: 19.874819699)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 123.463 usec -> 2021-10-07T07:16:59.874.821.187 (XO: 19.874824374)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 120.900 usec -> 2021-10-07T07:16:59.874.818.625 (XO: 19.874821812)

 - Block number: 3 starting at 2021-10-07T07:17:12.427.604.725 (XO: 32.427606879 - 32.427912880, t=37.2 degC)  Rank: 00078
   TM values: Max =   220  Min =  -274  Ave =    -4.38  Std =    32.15
   Min TM value:-274 at an offset of 169.638 usec -> 2021-10-07T07:17:12.427.774.363 (XO: 32.427776517)
   Max TM value:220 at an offset of 84.088 usec -> 2021-10-07T07:17:12.427.688.812 (XO: 32.427690967)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 83.950 usec -> 2021-10-07T07:17:12.427.688.675 (XO: 32.427690829)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 169.551 usec -> 2021-10-07T07:17:12.427.774.275 (XO: 32.427776429)
