-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  1 11:51:11 2022 UTC
-- File 20210902_181705_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 14.446362 to 47.280825
-each separately from 14s to 47s and from 218924us to 446651us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      6.970582 in 1 packets: 18
      12.801402 in 1 packets: 36
      13.061323 in 1 packets: 54
MIU packet time from 2021-09-02T18:17:22.446.362.000 to 2021-09-02T18:17:55.280.825.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      6.970582 in 1 packets: 18
      12.801402 in 1 packets: 36
      13.061323 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 15.4363280 to 48.4362182
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      6.9999767 in 1 packets: 18
      12.9999567 in 1 packets: 36
      12.9999568 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 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: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C1 -> 37.2 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 71 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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20210902_181705_1227.dat, 4 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.8826909 to 15.8829799
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.9705590  -- OK for SL --
   MIU time from 2021-09-02T18:17:22.446.362.000 to 2021-09-02T18:17:22.446.651.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.970582

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.8535389 to 22.8538279
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.8013590  -- OK for SL --
   MIU time from 2021-09-02T18:17:29.417.233.000 to 2021-09-02T18:17:29.417.522.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.801402

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.6551869 to 35.6554759
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.0612790  -- OK for SL --
   MIU time from 2021-09-02T18:17:42.218.924.000 to 2021-09-02T18:17:42.219.213.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.061323

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 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 48.7167549 to 48.7170439
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-02T18:17:55.280.536.000 to 2021-09-02T18:17:55.280.825.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 14, 32bit 10MHz counter = 15.882690900 corrected by 40bit 10MHz counter of 15.436328000 obtained at 1Hz counter of 14. Result: 14.446364373
--
   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-02T18:17:22.446.221.725
   Max 1st sample MIU time among all SL packets: 2021-09-02T18:17:55.280.684.725
   Min 1st sample XO time among all SL packets: 14.446224098
   Max 1st sample XO time among all SL packets: 47.280686379
   TM values from -289 to 256 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-02T18:17:22.446.221.725 (XO: 14.446224098 - 14.446530099, t=37.2 degC)  Rank: 00085
   TM values: Max =   256  Min =  -288  Ave =    -4.52  Std =    29.40
   Min TM value:-288 at an offset of 124.750 usec -> 2021-09-02T18:17:22.446.346.475 (XO: 14.446348848)
   Max TM value:256 at an offset of 127.388 usec -> 2021-09-02T18:17:22.446.349.112 (XO: 14.446351485)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 122.550 usec -> 2021-09-02T18:17:22.446.344.275 (XO: 14.446346648)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 124.613 usec -> 2021-09-02T18:17:22.446.346.337 (XO: 14.446348710)

 - Block number: 2 starting at 2021-09-02T18:17:29.417.092.725 (XO: 21.417095301 - 21.417401302, t=37.2 degC)  Rank: 00078
   TM values: Max =   211  Min =  -282  Ave =    -4.48  Std =    23.63
   Min TM value:-282 at an offset of 117.838 usec -> 2021-09-02T18:17:29.417.210.562 (XO: 21.417213139)
   Max TM value:211 at an offset of 115.313 usec -> 2021-09-02T18:17:29.417.208.037 (XO: 21.417210614)
   Max dTM/dt [1/us]:2.87e+03 at an offset of 117.950 usec -> 2021-09-02T18:17:29.417.210.675 (XO: 21.417213252)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 115.375 usec -> 2021-09-02T18:17:29.417.208.100 (XO: 21.417210677)

 - Block number: 3 starting at 2021-09-02T18:17:42.218.783.725 (XO: 34.218785947 - 34.219091948, t=37.2 degC)  Rank: 00080
   TM values: Max =   224  Min =  -289  Ave =    -4.43  Std =    23.94
   Min TM value:-289 at an offset of 128.013 usec -> 2021-09-02T18:17:42.218.911.737 (XO: 34.218913960)
   Max TM value:224 at an offset of 125.725 usec -> 2021-09-02T18:17:42.218.909.450 (XO: 34.218911672)
   Max dTM/dt [1/us]:2.76e+03 at an offset of 130.388 usec -> 2021-09-02T18:17:42.218.914.112 (XO: 34.218916335)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 127.813 usec -> 2021-09-02T18:17:42.218.911.537 (XO: 34.218913760)

 - Block number: 4 starting at 2021-09-02T18:17:55.280.395.725 (XO: 47.280397378 - 47.280703379, t=37.2 degC)  Rank: 00077
   TM values: Max =   227  Min =  -283  Ave =    -4.49  Std =    29.30
   Min TM value:-283 at an offset of 109.125 usec -> 2021-09-02T18:17:55.280.504.850 (XO: 47.280506504)
   Max TM value:227 at an offset of 124.575 usec -> 2021-09-02T18:17:55.280.520.300 (XO: 47.280521954)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 124.450 usec -> 2021-09-02T18:17:55.280.520.175 (XO: 47.280521829)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 109.000 usec -> 2021-09-02T18:17:55.280.504.725 (XO: 47.280506379)
