-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec  3 14:06:56 2021 UTC
-- File 20210802_040537_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 12.940553 to 46.361338
-each separately from 12s to 46s and from 230791us to 940842us.
   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, ...
      13.289949 in 1 packets: 18
      9.249821 in 1 packets: 36
      10.879859 in 1 packets: 54
MIU packet time from 2021-08-02T04:05:52.940.553.000 to 2021-08-02T04:06:26.361.338.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, ...
      13.289949 in 1 packets: 18
      9.249821 in 1 packets: 36
      10.879859 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 13.4242790 to 47.4241659
   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, ...
      13.9999534 in 1 packets: 18
      8.9999701 in 1 packets: 36
      10.9999634 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210802_040537_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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.3648321 to 14.3651211
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.2899030  -- OK for SL --
   MIU time from 2021-08-02T04:05:52.940.553.000 to 2021-08-02T04:05:52.940.842.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.289949

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.6550241 to 27.6553131
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.2497910  -- OK for SL --
   MIU time from 2021-08-02T04:06:06.230.791.000 to 2021-08-02T04:06:06.231.080.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.249821

 - 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 36.9051041 to 36.9053931
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8798230  -- OK for SL --
   MIU time from 2021-08-02T04:06:15.480.901.000 to 2021-08-02T04:06:15.481.190.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.879859

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.7852161 to 47.7855051
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-02T04:06:26.361.049.000 to 2021-08-02T04:06:26.361.338.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 = 12, 32bit 10MHz counter = 14.364832100 corrected by 40bit 10MHz counter of 13.424279000 obtained at 1Hz counter of 12. Result: 12.940556204
--
   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-02T04:05:52.940.412.725
   Max 1st sample MIU time among all SL packets: 2021-08-02T04:06:26.361.197.725
   Min 1st sample XO time among all SL packets: 12.940415928
   Max 1st sample XO time among all SL packets: 46.361200153
   TM values from -275 to 247 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-02T04:05:52.940.412.725 (XO: 12.940415928 - 12.940721929, t=37.2 degC)  Rank: 00087
   TM values: Max =   212  Min =  -233  Ave =    -4.45  Std =    21.45
   Min TM value:-233 at an offset of 126.300 usec -> 2021-08-02T04:05:52.940.539.025 (XO: 12.940542229)
   Max TM value:212 at an offset of 128.875 usec -> 2021-08-02T04:05:52.940.541.600 (XO: 12.940544804)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 128.688 usec -> 2021-08-02T04:05:52.940.541.412 (XO: 12.940544616)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 126.113 usec -> 2021-08-02T04:05:52.940.538.837 (XO: 12.940542041)

 - Block number: 2 starting at 2021-08-02T04:06:06.230.650.725 (XO: 26.230652186 - 26.230958187, t=37.2 degC)  Rank: 00085
   TM values: Max =   247  Min =  -275  Ave =    -4.38  Std =    22.47
   Min TM value:-275 at an offset of 116.150 usec -> 2021-08-02T04:06:06.230.766.875 (XO: 26.230768337)
   Max TM value:247 at an offset of 114.138 usec -> 2021-08-02T04:06:06.230.764.862 (XO: 26.230766324)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 113.988 usec -> 2021-08-02T04:06:06.230.764.712 (XO: 26.230766174)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 116.025 usec -> 2021-08-02T04:06:06.230.766.750 (XO: 26.230768212)

 - Block number: 3 starting at 2021-08-02T04:06:15.480.760.725 (XO: 35.480762912 - 35.481068913, t=37.2 degC)  Rank: 00078
   TM values: Max =   231  Min =  -274  Ave =    -4.37  Std =    29.25
   Min TM value:-274 at an offset of 115.938 usec -> 2021-08-02T04:06:15.480.876.662 (XO: 35.480878849)
   Max TM value:231 at an offset of 115.675 usec -> 2021-08-02T04:06:15.480.876.400 (XO: 35.480878587)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 118.363 usec -> 2021-08-02T04:06:15.480.879.087 (XO: 35.480881274)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 115.763 usec -> 2021-08-02T04:06:15.480.876.487 (XO: 35.480878674)

 - Block number: 4 starting at 2021-08-02T04:06:26.360.908.725 (XO: 46.360911152 - 46.361217153, t=37.2 degC)  Rank: 00079
   TM values: Max =   226  Min =  -265  Ave =    -4.47  Std =    22.42
   Min TM value:-265 at an offset of 127.788 usec -> 2021-08-02T04:06:26.361.036.512 (XO: 46.361038940)
   Max TM value:226 at an offset of 127.525 usec -> 2021-08-02T04:06:26.361.036.250 (XO: 46.361038678)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 130.175 usec -> 2021-08-02T04:06:26.361.038.900 (XO: 46.361041328)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 127.613 usec -> 2021-08-02T04:06:26.361.036.337 (XO: 46.361038765)
