-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 27 02:24:11 2021 UTC
-- File 20210827_160449_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.272249 to 46.053749
-each separately from 4s to 46s and from 53460us to 813271us.
   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, ...
      23.240187 in 1 packets: 18
      10.299968 in 1 packets: 36
      8.240189 in 1 packets: 54
MIU packet time from 2021-08-27T16:04:56.272.249.000 to 2021-08-27T16:05:38.053.749.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, ...
      23.240187 in 1 packets: 18
      10.299968 in 1 packets: 36
      8.240189 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.9016635 to 47.9015239
   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, ...
      22.9999235 in 1 packets: 18
      9.9999668 in 1 packets: 36
      8.9999701 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210827_160449_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.1739130 to 6.1742020
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.2401110  -- OK for SL --
   MIU time from 2021-08-27T16:04:56.272.249.000 to 2021-08-27T16:04:56.272.538.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.240187

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.4143130 to 29.4146020
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.2999350  -- OK for SL --
   MIU time from 2021-08-27T16:05:19.512.725.000 to 2021-08-27T16:05:19.513.014.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.299968

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.7145370 to 39.7148260
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.2401590  -- OK for SL --
   MIU time from 2021-08-27T16:05:29.812.982.000 to 2021-08-27T16:05:29.813.271.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.240189

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.9549850 to 47.9552740
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-27T16:05:38.053.460.000 to 2021-08-27T16:05:38.053.749.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 = 6.173913000 corrected by 40bit 10MHz counter of 5.901663500 obtained at 1Hz counter of 4. Result: 4.272250398
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-27T16:04:56.272.108.725
   Max 1st sample MIU time among all SL packets: 2021-08-27T16:05:38.053.608.725
   Min 1st sample XO time among all SL packets: 4.272110123
   Max 1st sample XO time among all SL packets: 46.053610002
   TM values from -274 to 257 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-27T16:04:56.272.108.725 (XO: 4.272110123 - 4.272416124, t=37.2 degC)  Rank: 00079
   TM values: Max =   219  Min =  -246  Ave =    -4.43  Std =    20.86
   Min TM value:-246 at an offset of 120.388 usec -> 2021-08-27T16:04:56.272.229.112 (XO: 4.272230511)
   Max TM value:219 at an offset of 123.088 usec -> 2021-08-27T16:04:56.272.231.812 (XO: 4.272233211)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 122.950 usec -> 2021-08-27T16:04:56.272.231.675 (XO: 4.272233073)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 120.250 usec -> 2021-08-27T16:04:56.272.228.975 (XO: 4.272230373)

 - Block number: 2 starting at 2021-08-27T16:05:19.512.584.725 (XO: 27.512587417 - 27.512893418, t=37.2 degC)  Rank: 00075
   TM values: Max =   229  Min =  -247  Ave =    -4.42  Std =    24.60
   Min TM value:-247 at an offset of 120.963 usec -> 2021-08-27T16:05:19.512.705.687 (XO: 27.512708379)
   Max TM value:229 at an offset of 120.675 usec -> 2021-08-27T16:05:19.512.705.400 (XO: 27.512708092)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 123.288 usec -> 2021-08-27T16:05:19.512.708.012 (XO: 27.512710704)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 120.775 usec -> 2021-08-27T16:05:19.512.705.500 (XO: 27.512708192)

 - Block number: 3 starting at 2021-08-27T16:05:29.812.841.725 (XO: 37.812845607 - 37.813151608, t=37.2 degC)  Rank: 00083
   TM values: Max =   257  Min =  -274  Ave =    -4.52  Std =    26.16
   Min TM value:-274 at an offset of 126.313 usec -> 2021-08-27T16:05:29.812.968.037 (XO: 37.812971920)
   Max TM value:257 at an offset of 128.800 usec -> 2021-08-27T16:05:29.812.970.525 (XO: 37.812974408)
   Max dTM/dt [1/us]:2.56e+03 at an offset of 128.688 usec -> 2021-08-27T16:05:29.812.970.412 (XO: 37.812974295)
   Min dTM/dt [1/us]:-2.87e+03 at an offset of 126.188 usec -> 2021-08-27T16:05:29.812.967.912 (XO: 37.812971795)

 - Block number: 4 starting at 2021-08-27T16:05:38.053.319.725 (XO: 46.053321001 - 46.053627002, t=37.2 degC)  Rank: 00076
   TM values: Max =   184  Min =  -210  Ave =    -4.46  Std =    17.18
   Min TM value:-210 at an offset of 108.025 usec -> 2021-08-27T16:05:38.053.427.750 (XO: 46.053429026)
   Max TM value:184 at an offset of 123.438 usec -> 2021-08-27T16:05:38.053.443.162 (XO: 46.053444439)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 123.313 usec -> 2021-08-27T16:05:38.053.443.037 (XO: 46.053444314)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 120.513 usec -> 2021-08-27T16:05:38.053.440.237 (XO: 46.053441514)
