-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Oct 30 13:19:36 2021 UTC
-- File 20210705_102055_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.558478 to 56.557013
-each separately from 4s to 56s and from 457276us to 558767us.
   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, ...
      10.899397 in 1 packets: 18
      24.998823 in 1 packets: 36
      16.099159 in 1 packets: 54
MIU packet time from 2021-07-05T10:20:58.558.478.000 to 2021-07-05T10:21:50.557.013.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, ...
      10.899397 in 1 packets: 18
      24.998823 in 1 packets: 36
      16.099159 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.9016498 to 57.9014676
   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, ...
      10.9999614 in 1 packets: 18
      24.9999124 in 1 packets: 36
      15.9999440 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: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 37 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      3 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 20210705_102055_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.4601277 to 6.4604167
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8993590  -- OK for SL --
   MIU time from 2021-07-05T10:20:58.558.478.000 to 2021-07-05T10:20:58.558.767.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.899397

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.3597757 to 17.3600647
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.9987350  -- OK for SL --
   MIU time from 2021-07-05T10:21:09.458.164.000 to 2021-07-05T10:21:09.458.453.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.998823

 - 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.3587997 to 42.3590887
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0991030  -- OK for SL --
   MIU time from 2021-07-05T10:21:34.457.276.000 to 2021-07-05T10:21:34.457.565.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.099159

 - 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 58.4581917 to 58.4584807
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-05T10:21:50.556.724.000 to 2021-07-05T10:21:50.557.013.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.460127700 corrected by 40bit 10MHz counter of 5.901649800 obtained at 1Hz counter of 4. Result: 4.558479855
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2021-07-05T10:20:58.558.337.725
   Max 1st sample MIU time among all SL packets: 2021-07-05T10:21:50.556.872.725
   Min 1st sample XO time among all SL packets: 4.558339579
   Max 1st sample XO time among all SL packets: 56.556874774
   TM values from -255 to 200 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-05T10:20:58.558.337.725 (XO: 4.558339579 - 4.558645580, t=35.6 degC)  Rank: 00082
   TM values: Max =   188  Min =  -238  Ave =    -4.53  Std =    21.76
   Min TM value:-238 at an offset of 119.663 usec -> 2021-07-05T10:20:58.558.457.387 (XO: 4.558459242)
   Max TM value:188 at an offset of 78.188 usec -> 2021-07-05T10:20:58.558.415.912 (XO: 4.558417767)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 122.288 usec -> 2021-07-05T10:20:58.558.460.012 (XO: 4.558461867)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 106.675 usec -> 2021-07-05T10:20:58.558.444.400 (XO: 4.558446255)

 - Block number: 2 starting at 2021-07-05T10:21:09.458.023.725 (XO: 15.458025828 - 15.458331829, t=35.6 degC)  Rank: 00077
   TM values: Max =   195  Min =  -250  Ave =    -4.41  Std =    25.53
   Min TM value:-250 at an offset of 119.625 usec -> 2021-07-05T10:21:09.458.143.350 (XO: 15.458145454)
   Max TM value:195 at an offset of 122.263 usec -> 2021-07-05T10:21:09.458.145.987 (XO: 15.458148091)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 122.113 usec -> 2021-07-05T10:21:09.458.145.837 (XO: 15.458147941)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 178.476 usec -> 2021-07-05T10:21:09.458.202.200 (XO: 15.458204304)

 - Block number: 3 starting at 2021-07-05T10:21:34.457.135.725 (XO: 40.457137425 - 40.457443426, t=35.6 degC)  Rank: 00079
   TM values: Max =   200  Min =  -255  Ave =    -4.50  Std =    23.13
   Min TM value:-255 at an offset of 106.938 usec -> 2021-07-05T10:21:34.457.242.662 (XO: 40.457244363)
   Max TM value:200 at an offset of 106.625 usec -> 2021-07-05T10:21:34.457.242.350 (XO: 40.457244050)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 109.375 usec -> 2021-07-05T10:21:34.457.245.100 (XO: 40.457246800)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 106.725 usec -> 2021-07-05T10:21:34.457.242.450 (XO: 40.457244150)

 - Block number: 4 starting at 2021-07-05T10:21:50.556.583.725 (XO: 56.556585773 - 56.556891774, t=35.6 degC)  Rank: 00081
   TM values: Max =   199  Min =  -253  Ave =    -4.45  Std =    18.83
   Min TM value:-253 at an offset of 107.475 usec -> 2021-07-05T10:21:50.556.691.200 (XO: 56.556693248)
   Max TM value:199 at an offset of 107.163 usec -> 2021-07-05T10:21:50.556.690.887 (XO: 56.556692936)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 109.875 usec -> 2021-07-05T10:21:50.556.693.600 (XO: 56.556695648)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 107.275 usec -> 2021-07-05T10:21:50.556.691.000 (XO: 56.556693048)
