-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 29 14:22:31 2021 UTC
-- File 20210830_093248_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 4.230248 to 57.429499
-each separately from 4s to 57s and from 230248us to 632332us.
   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, ...
      17.046248 in 1 packets: 18
      22.354969 in 1 packets: 36
      13.796878 in 1 packets: 54
MIU packet time from 2021-08-30T09:32:55.230.248.000 to 2021-08-30T09:33:48.429.499.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, ...
      17.046248 in 1 packets: 18
      22.354969 in 1 packets: 36
      13.796878 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 5.4357776 to 58.4356000
   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, ...
      16.9999431 in 1 packets: 18
      21.9999262 in 1 packets: 36
      13.9999531 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: 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 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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210830_093248_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.6660266 to 5.6663156
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.0461910  -- OK for SL --
   MIU time from 2021-08-30T09:32:55.230.248.000 to 2021-08-30T09:32:55.230.537.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.046248

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.7125066 to 22.7127956
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.3548950  -- OK for SL --
   MIU time from 2021-08-30T09:33:12.276.785.000 to 2021-08-30T09:33:12.277.074.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.354969

 - 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 45.0676906 to 45.0679796
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.7968310  -- OK for SL --
   MIU time from 2021-08-30T09:33:34.632.043.000 to 2021-08-30T09:33:34.632.332.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.796878

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.8648106 to 58.8650996
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-30T09:33:48.429.210.000 to 2021-08-30T09:33:48.429.499.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 = 4, 32bit 10MHz counter = 5.666026600 corrected by 40bit 10MHz counter of 5.435777600 obtained at 1Hz counter of 4. Result: 4.230249760
--
   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-08-30T09:32:55.230.107.725
   Max 1st sample MIU time among all SL packets: 2021-08-30T09:33:48.429.358.725
   Min 1st sample XO time among all SL packets: 4.230109484
   Max 1st sample XO time among all SL packets: 57.429360742
   TM values from -285 to 255 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-30T09:32:55.230.107.725 (XO: 4.230109484 - 4.230415485, t=37.2 degC)  Rank: 00082
   TM values: Max =   232  Min =  -251  Ave =    -4.52  Std =    21.36
   Min TM value:-251 at an offset of 108.350 usec -> 2021-08-30T09:32:55.230.216.075 (XO: 4.230217835)
   Max TM value:232 at an offset of 110.988 usec -> 2021-08-30T09:32:55.230.218.712 (XO: 4.230220472)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 106.100 usec -> 2021-08-30T09:32:55.230.213.825 (XO: 4.230215585)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 108.225 usec -> 2021-08-30T09:32:55.230.215.950 (XO: 4.230217710)

 - Block number: 2 starting at 2021-08-30T09:33:12.276.644.725 (XO: 21.276646566 - 21.276952567, t=37.2 degC)  Rank: 00077
   TM values: Max =   215  Min =  -240  Ave =    -4.50  Std =    24.49
   Min TM value:-240 at an offset of 120.413 usec -> 2021-08-30T09:33:12.276.765.137 (XO: 21.276766979)
   Max TM value:215 at an offset of 123.000 usec -> 2021-08-30T09:33:12.276.767.725 (XO: 21.276769566)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 122.813 usec -> 2021-08-30T09:33:12.276.767.537 (XO: 21.276769379)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 120.225 usec -> 2021-08-30T09:33:12.276.764.950 (XO: 21.276766791)

 - Block number: 3 starting at 2021-08-30T09:33:34.631.902.725 (XO: 43.631905510 - 43.632211511, t=37.2 degC)  Rank: 00084
   TM values: Max =   255  Min =  -268  Ave =    -4.51  Std =    26.59
   Min TM value:-268 at an offset of 120.563 usec -> 2021-08-30T09:33:34.632.023.287 (XO: 43.632026073)
   Max TM value:255 at an offset of 123.138 usec -> 2021-08-30T09:33:34.632.025.862 (XO: 43.632028648)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 122.963 usec -> 2021-08-30T09:33:34.632.025.687 (XO: 43.632028473)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 120.375 usec -> 2021-08-30T09:33:34.632.023.100 (XO: 43.632025886)

 - Block number: 4 starting at 2021-08-30T09:33:48.429.069.725 (XO: 57.429071741 - 57.429377742, t=37.2 degC)  Rank: 00080
   TM values: Max =   246  Min =  -285  Ave =    -4.50  Std =    24.75
   Min TM value:-285 at an offset of 123.438 usec -> 2021-08-30T09:33:48.429.193.162 (XO: 57.429195179)
   Max TM value:246 at an offset of 125.950 usec -> 2021-08-30T09:33:48.429.195.675 (XO: 57.429197691)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 125.788 usec -> 2021-08-30T09:33:48.429.195.512 (XO: 57.429197529)
   Min dTM/dt [1/us]:-2.65e+03 at an offset of 123.313 usec -> 2021-08-30T09:33:48.429.193.037 (XO: 57.429195054)
