-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec  5 06:44:43 2021 UTC
-- File 20210802_194042_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 10.717278 to 49.498145
-each separately from 10s to 49s and from 7378us to 738067us.
   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, ...
      5.289811 in 1 packets: 18
      24.730111 in 1 packets: 36
      8.759789 in 1 packets: 54
MIU packet time from 2021-08-02T19:40:55.717.278.000 to 2021-08-02T19:41:34.498.145.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, ...
      5.289811 in 1 packets: 18
      24.730111 in 1 packets: 36
      8.759789 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 11.7457920 to 50.7456624
   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, ...
      5.9999801 in 1 packets: 18
      23.9999202 in 1 packets: 36
      8.9999701 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, ...
      03 -> 51.1 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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_194042_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.4630712 to 12.4633602
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.2897910  -- OK for SL --
   MIU time from 2021-08-02T19:40:55.717.278.000 to 2021-08-02T19:40:55.717.567.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.289811

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.7531512 to 17.7534402
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.7300310  -- OK for SL --
   MIU time from 2021-08-02T19:41:01.007.378.000 to 2021-08-02T19:41:01.007.667.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.730111

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.4834712 to 42.4837602
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.7597590  -- OK for SL --
   MIU time from 2021-08-02T19:41:25.737.778.000 to 2021-08-02T19:41:25.738.067.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.759789

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.2435192 to 51.2438082
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-02T19:41:34.497.856.000 to 2021-08-02T19:41:34.498.145.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 = 10, 32bit 10MHz counter = 12.463071200 corrected by 40bit 10MHz counter of 11.745792000 obtained at 1Hz counter of 10. Result: 10.717281567
--
   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-08-02T19:40:55.717.137.725
   Max 1st sample MIU time among all SL packets: 2021-08-02T19:41:34.498.004.725
   Min 1st sample XO time among all SL packets: 10.717141292
   Max 1st sample XO time among all SL packets: 49.498007119
   TM values from -266 to 237 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-02T19:40:55.717.137.725 (XO: 10.717141292 - 10.717447293, t=37.2 degC)  Rank: 00077
   TM values: Max =   237  Min =  -266  Ave =    -4.40  Std =    27.04
   Min TM value:-266 at an offset of 116.075 usec -> 2021-08-02T19:40:55.717.253.800 (XO: 10.717257367)
   Max TM value:237 at an offset of 115.800 usec -> 2021-08-02T19:40:55.717.253.525 (XO: 10.717257092)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 118.413 usec -> 2021-08-02T19:40:55.717.256.137 (XO: 10.717259704)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 115.900 usec -> 2021-08-02T19:40:55.717.253.625 (XO: 10.717257192)

 - Block number: 2 starting at 2021-08-02T19:41:01.007.237.725 (XO: 16.007238849 - 16.007544850, t=37.2 degC)  Rank: 00076
   TM values: Max =   229  Min =  -262  Ave =    -4.48  Std =    23.54
   Min TM value:-262 at an offset of 118.588 usec -> 2021-08-02T19:41:01.007.356.312 (XO: 16.007357437)
   Max TM value:229 at an offset of 118.338 usec -> 2021-08-02T19:41:01.007.356.062 (XO: 16.007357187)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 116.263 usec -> 2021-08-02T19:41:01.007.353.987 (XO: 16.007355112)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 118.425 usec -> 2021-08-02T19:41:01.007.356.150 (XO: 16.007357274)

 - Block number: 3 starting at 2021-08-02T19:41:25.737.637.725 (XO: 40.737641059 - 40.737947060, t=37.2 degC)  Rank: 00079
   TM values: Max =   213  Min =  -229  Ave =    -4.51  Std =    22.50
   Min TM value:-229 at an offset of 127.675 usec -> 2021-08-02T19:41:25.737.765.400 (XO: 40.737768735)
   Max TM value:213 at an offset of 130.263 usec -> 2021-08-02T19:41:25.737.767.987 (XO: 40.737771322)
   Max dTM/dt [1/us]:1.56e+03 at an offset of 130.138 usec -> 2021-08-02T19:41:25.737.767.862 (XO: 40.737771197)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 127.488 usec -> 2021-08-02T19:41:25.737.765.212 (XO: 40.737768547)

 - Block number: 4 starting at 2021-08-02T19:41:34.497.715.725 (XO: 49.497718118 - 49.498024119, t=37.2 degC)  Rank: 00081
   TM values: Max =   195  Min =  -238  Ave =    -4.42  Std =    23.57
   Min TM value:-238 at an offset of 104.363 usec -> 2021-08-02T19:41:34.497.820.087 (XO: 49.497822481)
   Max TM value:195 at an offset of 119.500 usec -> 2021-08-02T19:41:34.497.835.225 (XO: 49.497837618)
   Max dTM/dt [1/us]:1.65e+03 at an offset of 119.263 usec -> 2021-08-02T19:41:34.497.834.987 (XO: 49.497837381)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 116.675 usec -> 2021-08-02T19:41:34.497.832.400 (XO: 49.497834793)
