-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Jan 19 04:46:42 2022 UTC
-- File 20210922_170450_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.825583 to 40.065876
-each separately from 5s to 40s and from 65587us to 995819us.
   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, ...
      13.169658 in 1 packets: 18
      21.069768 in 1 packets: 36
MIU packet time from 2021-09-22T17:04:58.825.583.000 to 2021-09-22T17:05:33.065.876.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, ...
      13.169658 in 1 packets: 18
      21.069768 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 6.8898587 to 41.8897423
   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, ...
      12.9999568 in 1 packets: 18
      21.9999268 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, ...
      03 -> 51.1 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 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 20210922_170450_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.7154423 to 7.7157313
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.1696150  -- OK for SL --
   MIU time from 2021-09-22T17:04:58.825.583.000 to 2021-09-22T17:04:58.825.872.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.169658

 - 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 20.8853463 to 20.8856353
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.0696950  -- OK for SL --
   MIU time from 2021-09-22T17:05:11.995.530.000 to 2021-09-22T17:05:11.995.819.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.069768

 - 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 41.9553303 to 41.9556193
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-22T17:05:33.065.587.000 to 2021-09-22T17:05:33.065.876.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.715442300 corrected by 40bit 10MHz counter of 6.889858700 obtained at 1Hz counter of 5. Result: 5.825586407
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2021-09-22T17:04:58.825.442.725
   Max 1st sample MIU time among all SL packets: 2021-09-22T17:05:33.065.735.725
   Min 1st sample XO time among all SL packets: 5.825446132
   Max 1st sample XO time among all SL packets: 40.065736949
   TM values from -282 to 230 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-22T17:04:58.825.442.725 (XO: 5.825446132 - 5.825752133, t=37.2 degC)  Rank: 00081
   TM values: Max =   214  Min =  -282  Ave =    -4.53  Std =    23.04
   Min TM value:-282 at an offset of 115.013 usec -> 2021-09-22T17:04:58.825.557.737 (XO: 5.825561144)
   Max TM value:214 at an offset of 114.700 usec -> 2021-09-22T17:04:58.825.557.425 (XO: 5.825560832)
   Max dTM/dt [1/us]:2.51e+03 at an offset of 117.363 usec -> 2021-09-22T17:04:58.825.560.087 (XO: 5.825563494)
   Min dTM/dt [1/us]:-2.36e+03 at an offset of 114.813 usec -> 2021-09-22T17:04:58.825.557.537 (XO: 5.825560944)

 - Block number: 2 starting at 2021-09-22T17:05:11.995.389.725 (XO: 18.995393909 - 18.995699910, t=37.2 degC)  Rank: 00080
   TM values: Max =   216  Min =  -267  Ave =    -4.50  Std =    21.52
   Min TM value:-267 at an offset of 127.525 usec -> 2021-09-22T17:05:11.995.517.250 (XO: 18.995521435)
   Max TM value:216 at an offset of 130.138 usec -> 2021-09-22T17:05:11.995.519.862 (XO: 18.995524047)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 129.975 usec -> 2021-09-22T17:05:11.995.519.700 (XO: 18.995523885)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 127.400 usec -> 2021-09-22T17:05:11.995.517.125 (XO: 18.995521310)

 - Block number: 3 starting at 2021-09-22T17:05:33.065.446.725 (XO: 40.065447948 - 40.065753949, t=37.2 degC)  Rank: 00078
   TM values: Max =   230  Min =  -262  Ave =    -4.61  Std =    23.46
   Min TM value:-262 at an offset of 112.813 usec -> 2021-09-22T17:05:33.065.559.537 (XO: 40.065560760)
   Max TM value:230 at an offset of 115.413 usec -> 2021-09-22T17:05:33.065.562.137 (XO: 40.065563360)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 115.250 usec -> 2021-09-22T17:05:33.065.561.975 (XO: 40.065563198)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 112.575 usec -> 2021-09-22T17:05:33.065.559.300 (XO: 40.065560523)
