-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec  3 05:03:29 2021 UTC
-- File 20210801_172910_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.260167 to 53.441207
-each separately from 10s to 53s and from 50613us to 620759us.
   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, ...
      14.360014 in 1 packets: 18
      18.429854 in 1 packets: 36
      10.390016 in 1 packets: 54
MIU packet time from 2021-08-01T17:29:23.260.167.000 to 2021-08-01T17:30:06.441.207.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, ...
      14.360014 in 1 packets: 18
      18.429854 in 1 packets: 36
      10.390016 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.8993462 to 54.8992033
   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.9999535 in 1 packets: 18
      18.9999368 in 1 packets: 36
      9.9999668 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 20210801_172910_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.1595143 to 12.1598033
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.3599670  -- OK for SL --
   MIU time from 2021-08-01T17:29:23.260.167.000 to 2021-08-01T17:29:23.260.456.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.360014

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.5197703 to 26.5200593
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4297910  -- OK for SL --
   MIU time from 2021-08-01T17:29:37.620.470.000 to 2021-08-01T17:29:37.620.759.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.429854

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.9498503 to 44.9501393
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.3899830  -- OK for SL --
   MIU time from 2021-08-01T17:29:56.050.613.000 to 2021-08-01T17:29:56.050.902.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.390016

 - 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 55.3401223 to 55.3404113
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-01T17:30:06.440.918.000 to 2021-08-01T17:30:06.441.207.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.159514300 corrected by 40bit 10MHz counter of 11.899346200 obtained at 1Hz counter of 10. Result: 10.260168959
--
   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-01T17:29:23.260.026.725
   Max 1st sample MIU time among all SL packets: 2021-08-01T17:30:06.441.066.725
   Min 1st sample XO time among all SL packets: 10.260028683
   Max 1st sample XO time among all SL packets: 53.441069181
   TM values from -286 to 230 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-01T17:29:23.260.026.725 (XO: 10.260028683 - 10.260334684, t=37.2 degC)  Rank: 00081
   TM values: Max =   210  Min =  -241  Ave =    -4.57  Std =    20.48
   Min TM value:-241 at an offset of 95.475 usec -> 2021-08-01T17:29:23.260.122.200 (XO: 10.260124158)
   Max TM value:210 at an offset of 110.875 usec -> 2021-08-01T17:29:23.260.137.600 (XO: 10.260139558)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 110.750 usec -> 2021-08-01T17:29:23.260.137.475 (XO: 10.260139433)
   Min dTM/dt [1/us]:-1.73e+03 at an offset of 108.000 usec -> 2021-08-01T17:29:23.260.134.725 (XO: 10.260136683)

 - Block number: 2 starting at 2021-08-01T17:29:37.620.329.725 (XO: 24.620332372 - 24.620638373, t=37.2 degC)  Rank: 00081
   TM values: Max =   222  Min =  -239  Ave =    -4.36  Std =    22.37
   Min TM value:-239 at an offset of 120.325 usec -> 2021-08-01T17:29:37.620.450.050 (XO: 24.620452697)
   Max TM value:222 at an offset of 122.963 usec -> 2021-08-01T17:29:37.620.452.687 (XO: 24.620455335)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 122.825 usec -> 2021-08-01T17:29:37.620.452.550 (XO: 24.620455198)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 108.100 usec -> 2021-08-01T17:29:37.620.437.825 (XO: 24.620440472)

 - Block number: 3 starting at 2021-08-01T17:29:56.050.472.725 (XO: 43.050473692 - 43.050779693, t=37.2 degC)  Rank: 00076
   TM values: Max =   230  Min =  -237  Ave =    -4.54  Std =    19.81
   Min TM value:-237 at an offset of 121.125 usec -> 2021-08-01T17:29:56.050.593.850 (XO: 43.050594817)
   Max TM value:230 at an offset of 123.825 usec -> 2021-08-01T17:29:56.050.596.550 (XO: 43.050597517)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 123.700 usec -> 2021-08-01T17:29:56.050.596.425 (XO: 43.050597392)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 121.013 usec -> 2021-08-01T17:29:56.050.593.737 (XO: 43.050594704)

 - Block number: 4 starting at 2021-08-01T17:30:06.440.777.725 (XO: 53.440780180 - 53.441086181, t=37.2 degC)  Rank: 00079
   TM values: Max =   223  Min =  -286  Ave =    -4.45  Std =    32.02
   Min TM value:-286 at an offset of 180.801 usec -> 2021-08-01T17:30:06.440.958.525 (XO: 53.440960980)
   Max TM value:223 at an offset of 178.451 usec -> 2021-08-01T17:30:06.440.956.175 (XO: 53.440958630)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 111.363 usec -> 2021-08-01T17:30:06.440.889.087 (XO: 53.440891542)
   Min dTM/dt [1/us]:-2.57e+03 at an offset of 180.713 usec -> 2021-08-01T17:30:06.440.958.438 (XO: 53.440960893)
