-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Oct 29 21:43:05 2021 UTC
-- File 20210703_111231_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 5.228413 to 48.661130
-each separately from 5s to 48s and from 228413us to 683166us.
   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, ...
      24.315350 in 1 packets: 18
      7.138536 in 1 packets: 36
      11.977675 in 1 packets: 54
MIU packet time from 2021-07-03T11:12:35.228.413.000 to 2021-07-03T11:13:18.661.130.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, ...
      24.315350 in 1 packets: 18
      7.138536 in 1 packets: 36
      11.977675 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 6.4385464 to 49.4383917
   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, ...
      23.9999137 in 1 packets: 18
      6.9999748 in 1 packets: 36
      11.9999568 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, ...
      06 -> 47.2 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C0 -> 35.6 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210703_111231_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.6669605 to 6.6672495
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.3152630  -- OK for SL --
   MIU time from 2021-07-03T11:12:35.228.413.000 to 2021-07-03T11:12:35.228.702.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.315350

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.9825125 to 30.9828015
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.1385110  -- OK for SL --
   MIU time from 2021-07-03T11:12:59.544.052.000 to 2021-07-03T11:12:59.544.341.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.138536

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.1213125 to 38.1216015
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.9776310  -- OK for SL --
   MIU time from 2021-07-03T11:13:06.682.877.000 to 2021-07-03T11:13:06.683.166.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.977675

 - 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 50.0992325 to 50.0995215
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-03T11:13:18.660.841.000 to 2021-07-03T11:13:18.661.130.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 = 5, 32bit 10MHz counter = 6.666960500 corrected by 40bit 10MHz counter of 6.438546400 obtained at 1Hz counter of 5. Result: 5.228414922
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2021-07-03T11:12:35.228.272.725
   Max 1st sample MIU time among all SL packets: 2021-07-03T11:13:18.660.989.725
   Min 1st sample XO time among all SL packets: 5.228274647
   Max 1st sample XO time among all SL packets: 48.660991905
   TM values from -256 to 222 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-03T11:12:35.228.272.725 (XO: 5.228274647 - 5.228580648, t=35.6 degC)  Rank: 00080
   TM values: Max =   206  Min =  -249  Ave =    -4.45  Std =    21.12
   Min TM value:-249 at an offset of 94.325 usec -> 2021-07-03T11:12:35.228.367.050 (XO: 5.228368972)
   Max TM value:206 at an offset of 109.838 usec -> 2021-07-03T11:12:35.228.382.562 (XO: 5.228384485)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 109.663 usec -> 2021-07-03T11:12:35.228.382.387 (XO: 5.228384310)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 106.975 usec -> 2021-07-03T11:12:35.228.379.700 (XO: 5.228381622)

 - Block number: 2 starting at 2021-07-03T11:12:59.543.911.725 (XO: 29.543914083 - 29.544220084, t=35.6 degC)  Rank: 00083
   TM values: Max =   222  Min =  -251  Ave =    -4.41  Std =    28.25
   Min TM value:-251 at an offset of 138.500 usec -> 2021-07-03T11:12:59.544.050.225 (XO: 29.544052584)
   Max TM value:222 at an offset of 110.400 usec -> 2021-07-03T11:12:59.544.022.125 (XO: 29.544024483)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 113.088 usec -> 2021-07-03T11:12:59.544.024.812 (XO: 29.544027171)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 110.513 usec -> 2021-07-03T11:12:59.544.022.237 (XO: 29.544024596)

 - Block number: 3 starting at 2021-07-03T11:13:06.682.736.725 (XO: 36.682739783 - 36.683045784, t=35.6 degC)  Rank: 00080
   TM values: Max =   217  Min =  -255  Ave =    -4.37  Std =    24.36
   Min TM value:-255 at an offset of 138.400 usec -> 2021-07-03T11:13:06.682.875.125 (XO: 36.682878183)
   Max TM value:217 at an offset of 109.825 usec -> 2021-07-03T11:13:06.682.846.550 (XO: 36.682849608)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 112.513 usec -> 2021-07-03T11:13:06.682.849.237 (XO: 36.682852296)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 109.938 usec -> 2021-07-03T11:13:06.682.846.662 (XO: 36.682849721)

 - Block number: 4 starting at 2021-07-03T11:13:18.660.700.725 (XO: 48.660702904 - 48.661008905, t=35.6 degC)  Rank: 00080
   TM values: Max =   186  Min =  -256  Ave =    -4.38  Std =    17.90
   Min TM value:-256 at an offset of 109.850 usec -> 2021-07-03T11:13:18.660.810.575 (XO: 48.660812754)
   Max TM value:186 at an offset of 112.450 usec -> 2021-07-03T11:13:18.660.813.175 (XO: 48.660815354)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 112.313 usec -> 2021-07-03T11:13:18.660.813.037 (XO: 48.660815216)
   Min dTM/dt [1/us]:-1.62e+03 at an offset of 97.600 usec -> 2021-07-03T11:13:18.660.798.325 (XO: 48.660800504)
