-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Feb 15 21:46:47 2022 UTC
-- File 20211205_232753_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 4.446630 to 37.104548
-each separately from 4s to 37s and from 104259us to 661579us.
   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, ...
      11.214371 in 1 packets: 18
      21.442680 in 1 packets: 36
MIU packet time from 2021-12-05T23:28:00.446.630.000 to 2021-12-05T23:28:33.104.548.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, ...
      11.214371 in 1 packets: 18
      21.442680 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 5.7812860 to 38.7811765
   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, ...
      10.9999635 in 1 packets: 18
      21.9999270 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 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: 
      1 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      3 in 1 packets: 1
      4 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      6 in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20211205_232753_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:
      258 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.2279166 to 6.2282056
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.2143350  -- OK for SL --
   MIU time from 2021-12-05T23:28:00.446.630.000 to 2021-12-05T23:28:00.446.919.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.214371

 - 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:
      49 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.4425406 to 17.4428296
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.4426070  -- OK for SL --
   MIU time from 2021-12-05T23:28:11.661.290.000 to 2021-12-05T23:28:11.661.579.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.442680

 - 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:
      57 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.8854366 to 38.8857256
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-12-05T23:28:33.104.259.000 to 2021-12-05T23:28:33.104.548.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 = 4, 32bit 10MHz counter = 6.227916600 corrected by 40bit 10MHz counter of 5.781286000 obtained at 1Hz counter of 4. Result: 4.446632074
--
   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-12-05T23:28:00.446.489.725
   Max 1st sample MIU time among all SL packets: 2021-12-05T23:28:33.104.407.725
   Min 1st sample XO time among all SL packets: 4.446491798
   Max 1st sample XO time among all SL packets: 37.104409180
   TM values from -434 to 374 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-12-05T23:28:00.446.489.725 (XO: 4.446491798 - 4.446797799, t=35.6 degC)  Rank: 00258
   TM values: Max =   374  Min =  -434  Ave =    -4.79  Std =    51.91
   Min TM value:-434 at an offset of 91.788 usec -> 2021-12-05T23:28:00.446.581.512 (XO: 4.446583586)
   Max TM value:374 at an offset of 95.563 usec -> 2021-12-05T23:28:00.446.585.287 (XO: 4.446587361)
   Max dTM/dt [1/us]:4.97e+03 at an offset of 79.925 usec -> 2021-12-05T23:28:00.446.569.650 (XO: 4.446571724)
   Min dTM/dt [1/us]:-2.91e+03 at an offset of 79.800 usec -> 2021-12-05T23:28:00.446.569.525 (XO: 4.446571599)

 - Block number: 2 starting at 2021-12-05T23:28:11.661.149.725 (XO: 15.661153007 - 15.661459008, t=35.6 degC)  Rank: 00049
   TM values: Max =   158  Min =  -148  Ave =    -4.36  Std =    15.52
   Min TM value:-148 at an offset of 140.063 usec -> 2021-12-05T23:28:11.661.289.787 (XO: 15.661293070)
   Max TM value:158 at an offset of 110.863 usec -> 2021-12-05T23:28:11.661.260.587 (XO: 15.661263870)
   Max dTM/dt [1/us]:1.16e+03 at an offset of 108.800 usec -> 2021-12-05T23:28:11.661.258.525 (XO: 15.661261807)
   Min dTM/dt [1/us]:-1.49e+03 at an offset of 110.938 usec -> 2021-12-05T23:28:11.661.260.662 (XO: 15.661263945)

 - Block number: 3 starting at 2021-12-05T23:28:33.104.118.725 (XO: 37.104120179 - 37.104426180, t=35.6 degC)  Rank: 00057
   TM values: Max =   173  Min =  -150  Ave =    -4.56  Std =    15.25
   Min TM value:-150 at an offset of 119.725 usec -> 2021-12-05T23:28:33.104.238.450 (XO: 37.104239904)
   Max TM value:173 at an offset of 119.463 usec -> 2021-12-05T23:28:33.104.238.187 (XO: 37.104239642)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 117.488 usec -> 2021-12-05T23:28:33.104.236.212 (XO: 37.104237667)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 119.575 usec -> 2021-12-05T23:28:33.104.238.300 (XO: 37.104239754)
