-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Jan 13 08:57:59 2022 UTC
-- File 20210917_082150_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.308664 to 32.231234
-each separately from 5s to 32s and from 50385us to 308953us.
   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, ...
      21.741432 in 1 packets: 18
      5.180271 in 1 packets: 36
MIU packet time from 2021-09-17T08:21:58.308.664.000 to 2021-09-17T08:22:25.231.234.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, ...
      21.741432 in 1 packets: 18
      5.180271 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.9305813 to 33.9304920
   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, ...
      21.9999273 in 1 packets: 18
      4.9999834 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20210917_082150_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.2392465 to 7.2395355
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.7413590  -- OK for SL --
   MIU time from 2021-09-17T08:21:58.308.664.000 to 2021-09-17T08:21:58.308.953.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.741432

 - 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 28.9808945 to 28.9811835
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.1802550  -- OK for SL --
   MIU time from 2021-09-17T08:22:20.050.385.000 to 2021-09-17T08:22:20.050.674.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.180271

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.1614385 to 34.1617275
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-17T08:22:25.230.945.000 to 2021-09-17T08:22:25.231.234.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.239246500 corrected by 40bit 10MHz counter of 6.930581300 obtained at 1Hz counter of 5. Result: 5.308666219
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2021-09-17T08:21:58.308.523.725
   Max 1st sample MIU time among all SL packets: 2021-09-17T08:22:25.231.093.725
   Min 1st sample XO time among all SL packets: 5.308525943
   Max 1st sample XO time among all SL packets: 32.231095965
   TM values from -247 to 213 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-17T08:21:58.308.523.725 (XO: 5.308525943 - 5.308831944, t=37.2 degC)  Rank: 00080
   TM values: Max =   172  Min =  -221  Ave =    -4.44  Std =    17.33
   Min TM value:-221 at an offset of 112.713 usec -> 2021-09-17T08:21:58.308.636.437 (XO: 5.308638656)
   Max TM value:172 at an offset of 115.363 usec -> 2021-09-17T08:21:58.308.639.087 (XO: 5.308641306)
   Max dTM/dt [1/us]:1.36e+03 at an offset of 115.200 usec -> 2021-09-17T08:21:58.308.638.925 (XO: 5.308641144)
   Min dTM/dt [1/us]:-1.48e+03 at an offset of 112.475 usec -> 2021-09-17T08:21:58.308.636.200 (XO: 5.308638419)

 - Block number: 2 starting at 2021-09-17T08:22:20.050.244.725 (XO: 27.050245791 - 27.050551792, t=37.2 degC)  Rank: 00080
   TM values: Max =   185  Min =  -221  Ave =    -4.38  Std =    19.28
   Min TM value:-221 at an offset of 124.638 usec -> 2021-09-17T08:22:20.050.369.362 (XO: 27.050370429)
   Max TM value:185 at an offset of 124.338 usec -> 2021-09-17T08:22:20.050.369.062 (XO: 27.050370129)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 127.013 usec -> 2021-09-17T08:22:20.050.371.737 (XO: 27.050372804)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 124.438 usec -> 2021-09-17T08:22:20.050.369.162 (XO: 27.050370229)

 - Block number: 3 starting at 2021-09-17T08:22:25.230.804.725 (XO: 32.230806964 - 32.231112965, t=37.2 degC)  Rank: 00084
   TM values: Max =   213  Min =  -247  Ave =    -4.44  Std =    30.39
   Min TM value:-247 at an offset of 129.863 usec -> 2021-09-17T08:22:25.230.934.587 (XO: 32.230936826)
   Max TM value:213 at an offset of 127.800 usec -> 2021-09-17T08:22:25.230.932.525 (XO: 32.230934764)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 132.225 usec -> 2021-09-17T08:22:25.230.936.950 (XO: 32.230939189)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 129.713 usec -> 2021-09-17T08:22:25.230.934.437 (XO: 32.230936676)
