-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Jan  6 09:02:50 2022 UTC
-- File 20210907_232735_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 11.465888 to 46.466309
-each separately from 11s to 46s and from 245873us to 466309us.
   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, ...
      9.779696 in 1 packets: 18
      10.039760 in 1 packets: 36
      15.179809 in 1 packets: 54
MIU packet time from 2021-09-07T23:27:49.465.888.000 to 2021-09-07T23:28:24.466.309.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, ...
      9.779696 in 1 packets: 18
      10.039760 in 1 packets: 36
      15.179809 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 12.8238904 to 47.8237744
   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, ...
      9.9999668 in 2 packets: 18, 36
      14.9999504 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      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: 
      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 20210907_232735_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 13.2897795 to 13.2900685
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.7796630  -- OK for SL --
   MIU time from 2021-09-07T23:27:49.465.888.000 to 2021-09-07T23:27:49.466.177.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.779696

 - 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 23.0697315 to 23.0700205
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.0397270  -- OK for SL --
   MIU time from 2021-09-07T23:27:59.245.873.000 to 2021-09-07T23:27:59.246.162.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.039760

 - 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 33.1097475 to 33.1100365
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.1797590  -- OK for SL --
   MIU time from 2021-09-07T23:28:09.285.922.000 to 2021-09-07T23:28:09.286.211.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.179809

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.2897955 to 48.2900845
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-07T23:28:24.466.020.000 to 2021-09-07T23:28:24.466.309.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 = 11, 32bit 10MHz counter = 13.289779500 corrected by 40bit 10MHz counter of 12.823890400 obtained at 1Hz counter of 11. Result: 11.465890684
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-07T23:27:49.465.747.725
   Max 1st sample MIU time among all SL packets: 2021-09-07T23:28:24.466.168.725
   Min 1st sample XO time among all SL packets: 11.465750409
   Max 1st sample XO time among all SL packets: 46.466171410
   TM values from -281 to 230 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-07T23:27:49.465.747.725 (XO: 11.465750409 - 11.466056410, t=37.2 degC)  Rank: 00082
   TM values: Max =   199  Min =  -247  Ave =    -4.42  Std =    20.20
   Min TM value:-247 at an offset of 109.963 usec -> 2021-09-07T23:27:49.465.857.687 (XO: 11.465860371)
   Max TM value:199 at an offset of 125.350 usec -> 2021-09-07T23:27:49.465.873.075 (XO: 11.465875759)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 125.200 usec -> 2021-09-07T23:27:49.465.872.925 (XO: 11.465875609)
   Min dTM/dt [1/us]:-1.93e+03 at an offset of 122.450 usec -> 2021-09-07T23:27:49.465.870.175 (XO: 11.465872859)

 - Block number: 2 starting at 2021-09-07T23:27:59.245.732.725 (XO: 21.245734836 - 21.246040837, t=37.2 degC)  Rank: 00081
   TM values: Max =   217  Min =  -268  Ave =    -4.41  Std =    26.57
   Min TM value:-268 at an offset of 116.250 usec -> 2021-09-07T23:27:59.245.848.975 (XO: 21.245851086)
   Max TM value:217 at an offset of 115.975 usec -> 2021-09-07T23:27:59.245.848.700 (XO: 21.245850811)
   Max dTM/dt [1/us]:2.38e+03 at an offset of 118.663 usec -> 2021-09-07T23:27:59.245.851.387 (XO: 21.245853499)
   Min dTM/dt [1/us]:-2.81e+03 at an offset of 116.125 usec -> 2021-09-07T23:27:59.245.848.850 (XO: 21.245850961)

 - Block number: 3 starting at 2021-09-07T23:28:09.285.781.725 (XO: 31.285784168 - 31.286090169, t=37.2 degC)  Rank: 00080
   TM values: Max =   230  Min =  -281  Ave =    -4.51  Std =    30.76
   Min TM value:-281 at an offset of 133.513 usec -> 2021-09-07T23:28:09.285.915.237 (XO: 31.285917681)
   Max TM value:230 at an offset of 107.100 usec -> 2021-09-07T23:28:09.285.888.825 (XO: 31.285891268)
   Max dTM/dt [1/us]:2.33e+03 at an offset of 106.963 usec -> 2021-09-07T23:28:09.285.888.687 (XO: 31.285891131)
   Min dTM/dt [1/us]:-2.67e+03 at an offset of 104.413 usec -> 2021-09-07T23:28:09.285.886.137 (XO: 31.285888581)

 - Block number: 4 starting at 2021-09-07T23:28:24.465.879.725 (XO: 46.465882409 - 46.466188410, t=37.2 degC)  Rank: 00078
   TM values: Max =   207  Min =  -241  Ave =    -4.38  Std =    18.19
   Min TM value:-241 at an offset of 123.225 usec -> 2021-09-07T23:28:24.466.002.950 (XO: 46.466005634)
   Max TM value:207 at an offset of 125.800 usec -> 2021-09-07T23:28:24.466.005.525 (XO: 46.466008209)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 125.613 usec -> 2021-09-07T23:28:24.466.005.337 (XO: 46.466008022)
   Min dTM/dt [1/us]:-1.93e+03 at an offset of 123.038 usec -> 2021-09-07T23:28:24.466.002.762 (XO: 46.466005447)
