-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec 31 17:23:24 2021 UTC
-- File 20210902_040632_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 14.053531 to 45.066290
-each separately from 14s to 45s and from 53531us to 764205us.
   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, ...
      5.710096 in 1 packets: 18
      13.920477 in 1 packets: 36
      11.381030 in 1 packets: 54
MIU packet time from 2021-09-02T04:06:49.053.531.000 to 2021-09-02T04:07:20.066.290.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, ...
      5.710096 in 1 packets: 18
      13.920477 in 1 packets: 36
      11.381030 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 15.9339187 to 46.9338164
   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, ...
      4.9999835 in 1 packets: 18
      13.9999538 in 1 packets: 36
      11.9999604 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
      03 -> 51.1 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      04 -> 49.8 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210902_040632_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.9874507 to 15.9877397
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.7100790  -- OK for SL --
   MIU time from 2021-09-02T04:06:49.053.531.000 to 2021-09-02T04:06:49.053.820.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.710096

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.6978187 to 21.6981077
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.9204310  -- OK for SL --
   MIU time from 2021-09-02T04:06:54.763.916.000 to 2021-09-02T04:06:54.764.205.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.920477

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.6185387 to 35.6188277
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.3809910  -- OK for SL --
   MIU time from 2021-09-02T04:07:08.684.682.000 to 2021-09-02T04:07:08.684.971.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.381030

 - 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 46.9998187 to 47.0001077
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-02T04:07:20.066.001.000 to 2021-09-02T04:07:20.066.290.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 = 14, 32bit 10MHz counter = 15.987450700 corrected by 40bit 10MHz counter of 15.933918700 obtained at 1Hz counter of 14. Result: 14.053532177
--
   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-09-02T04:06:49.053.390.725
   Max 1st sample MIU time among all SL packets: 2021-09-02T04:07:20.066.149.725
   Min 1st sample XO time among all SL packets: 14.053391901
   Max 1st sample XO time among all SL packets: 45.066151243
   TM values from -262 to 242 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-02T04:06:49.053.390.725 (XO: 14.053391901 - 14.053697902, t=37.2 degC)  Rank: 00083
   TM values: Max =   233  Min =  -238  Ave =    -4.52  Std =    24.39
   Min TM value:-238 at an offset of 170.826 usec -> 2021-09-02T04:06:49.053.561.550 (XO: 14.053562727)
   Max TM value:233 at an offset of 126.938 usec -> 2021-09-02T04:06:49.053.517.662 (XO: 14.053518839)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 126.813 usec -> 2021-09-02T04:06:49.053.517.537 (XO: 14.053518714)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 170.676 usec -> 2021-09-02T04:06:49.053.561.400 (XO: 14.053562577)

 - Block number: 2 starting at 2021-09-02T04:06:54.763.775.725 (XO: 19.763778745 - 19.764084746, t=37.2 degC)  Rank: 00079
   TM values: Max =   242  Min =  -262  Ave =    -4.62  Std =    22.96
   Min TM value:-262 at an offset of 99.813 usec -> 2021-09-02T04:06:54.763.875.537 (XO: 19.763878558)
   Max TM value:242 at an offset of 114.538 usec -> 2021-09-02T04:06:54.763.890.262 (XO: 19.763893283)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 114.363 usec -> 2021-09-02T04:06:54.763.890.087 (XO: 19.763893108)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 111.750 usec -> 2021-09-02T04:06:54.763.887.475 (XO: 19.763890496)

 - Block number: 3 starting at 2021-09-02T04:07:08.684.541.725 (XO: 33.684544684 - 33.684850685, t=37.2 degC)  Rank: 00086
   TM values: Max =   225  Min =  -244  Ave =    -4.63  Std =    21.02
   Min TM value:-244 at an offset of 112.413 usec -> 2021-09-02T04:07:08.684.654.137 (XO: 33.684657097)
   Max TM value:225 at an offset of 127.500 usec -> 2021-09-02T04:07:08.684.669.225 (XO: 33.684672184)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 127.350 usec -> 2021-09-02T04:07:08.684.669.075 (XO: 33.684672034)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 124.700 usec -> 2021-09-02T04:07:08.684.666.425 (XO: 33.684669384)

 - Block number: 4 starting at 2021-09-02T04:07:20.065.860.725 (XO: 45.065862242 - 45.066168243, t=37.2 degC)  Rank: 00080
   TM values: Max =   200  Min =  -243  Ave =    -4.46  Std =    21.33
   Min TM value:-243 at an offset of 112.200 usec -> 2021-09-02T04:07:20.065.972.925 (XO: 45.065974443)
   Max TM value:200 at an offset of 127.525 usec -> 2021-09-02T04:07:20.065.988.250 (XO: 45.065989768)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 127.388 usec -> 2021-09-02T04:07:20.065.988.112 (XO: 45.065989630)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 124.638 usec -> 2021-09-02T04:07:20.065.985.362 (XO: 45.065986880)
