-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec  5 17:25:48 2021 UTC
-- File 20210803_052945_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 2.586863 to 54.009197
-each separately from 2s to 54s and from 8908us to 623955us.
   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, ...
      20.036514 in 1 packets: 18
      7.708633 in 1 packets: 36
      23.676031 in 1 packets: 54
MIU packet time from 2021-08-03T05:29:50.586.863.000 to 2021-08-03T05:30:42.009.197.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, ...
      20.036514 in 1 packets: 18
      7.708633 in 1 packets: 36
      23.676031 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 3.4547962 to 55.4546235
   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, ...
      19.9999337 in 1 packets: 18
      7.9999734 in 1 packets: 36
      23.9999202 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, ...
      05 -> 48.5 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 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 20210803_052945_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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.0416602 to 4.0419492
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.0364470  -- OK for SL --
   MIU time from 2021-08-03T05:29:50.586.863.000 to 2021-08-03T05:29:50.587.152.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.036514

 - 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 24.0783962 to 24.0786852
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.7086070  -- OK for SL --
   MIU time from 2021-08-03T05:30:10.623.666.000 to 2021-08-03T05:30:10.623.955.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.708633

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.7872922 to 31.7875812
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.6759510  -- OK for SL --
   MIU time from 2021-08-03T05:30:18.332.588.000 to 2021-08-03T05:30:18.332.877.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.676031

 - 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 55.4635322 to 55.4638212
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T05:30:42.008.908.000 to 2021-08-03T05:30:42.009.197.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 = 2, 32bit 10MHz counter = 4.041660200 corrected by 40bit 10MHz counter of 3.454796200 obtained at 1Hz counter of 2. Result: 2.586865937
--
   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-03T05:29:50.586.722.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T05:30:42.009.056.725
   Min 1st sample XO time among all SL packets: 2.586725661
   Max 1st sample XO time among all SL packets: 54.009057455
   TM values from -263 to 234 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T05:29:50.586.722.725 (XO: 2.586725661 - 2.587031662, t=37.2 degC)  Rank: 00075
   TM values: Max =   200  Min =  -255  Ave =    -4.48  Std =    17.83
   Min TM value:-255 at an offset of 121.725 usec -> 2021-08-03T05:29:50.586.844.450 (XO: 2.586847387)
   Max TM value:200 at an offset of 121.438 usec -> 2021-08-03T05:29:50.586.844.162 (XO: 2.586847099)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 119.263 usec -> 2021-08-03T05:29:50.586.841.987 (XO: 2.586844924)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 121.550 usec -> 2021-08-03T05:29:50.586.844.275 (XO: 2.586847212)

 - Block number: 2 starting at 2021-08-03T05:30:10.623.525.725 (XO: 22.623528083 - 22.623834084, t=37.2 degC)  Rank: 00081
   TM values: Max =   234  Min =  -235  Ave =    -4.55  Std =    20.64
   Min TM value:-235 at an offset of 119.700 usec -> 2021-08-03T05:30:10.623.645.425 (XO: 22.623647783)
   Max TM value:234 at an offset of 122.388 usec -> 2021-08-03T05:30:10.623.648.112 (XO: 22.623650471)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 117.425 usec -> 2021-08-03T05:30:10.623.643.150 (XO: 22.623645508)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 119.550 usec -> 2021-08-03T05:30:10.623.645.275 (XO: 22.623647633)

 - Block number: 3 starting at 2021-08-03T05:30:18.332.447.725 (XO: 30.332449722 - 30.332755723, t=37.2 degC)  Rank: 00073
   TM values: Max =   209  Min =  -240  Ave =    -4.45  Std =    19.06
   Min TM value:-240 at an offset of 106.438 usec -> 2021-08-03T05:30:18.332.554.162 (XO: 30.332556160)
   Max TM value:209 at an offset of 109.150 usec -> 2021-08-03T05:30:18.332.556.875 (XO: 30.332558872)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 108.988 usec -> 2021-08-03T05:30:18.332.556.712 (XO: 30.332558710)
   Min dTM/dt [1/us]:-1.55e+03 at an offset of 106.275 usec -> 2021-08-03T05:30:18.332.554.000 (XO: 30.332555997)

 - Block number: 4 starting at 2021-08-03T05:30:42.008.767.725 (XO: 54.008768454 - 54.009074455, t=37.2 degC)  Rank: 00081
   TM values: Max =   211  Min =  -263  Ave =    -4.46  Std =    18.30
   Min TM value:-263 at an offset of 119.113 usec -> 2021-08-03T05:30:42.008.886.837 (XO: 54.008887567)
   Max TM value:211 at an offset of 118.775 usec -> 2021-08-03T05:30:42.008.886.500 (XO: 54.008887229)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 121.475 usec -> 2021-08-03T05:30:42.008.889.200 (XO: 54.008889929)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 118.900 usec -> 2021-08-03T05:30:42.008.886.625 (XO: 54.008887354)
