-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec 21 06:51:19 2021 UTC
-- File 20210820_103833_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 6.481842 to 47.646491
-each separately from 6s to 47s and from 237922us to 829506us.
   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, ...
      19.347086 in 1 packets: 18
      9.408416 in 1 packets: 36
      12.407991 in 1 packets: 54
MIU packet time from 2021-08-20T10:38:42.481.842.000 to 2021-08-20T10:39:23.646.491.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, ...
      19.347086 in 1 packets: 18
      9.408416 in 1 packets: 36
      12.407991 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 7.9503320 to 48.9501966
   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, ...
      18.9999373 in 1 packets: 18
      9.9999669 in 1 packets: 36
      11.9999604 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 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 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 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
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 20210820_103833_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.4321752 to 8.4324642
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.3470230  -- OK for SL --
   MIU time from 2021-08-20T10:38:42.481.842.000 to 2021-08-20T10:38:42.482.131.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.347086

 - 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 27.7794872 to 27.7797762
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.4083830  -- OK for SL --
   MIU time from 2021-08-20T10:39:01.829.217.000 to 2021-08-20T10:39:01.829.506.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.408416

 - 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 37.1881592 to 37.1884482
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.4079510  -- OK for SL --
   MIU time from 2021-08-20T10:39:11.237.922.000 to 2021-08-20T10:39:11.238.211.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.407991

 - 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:
      91 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.5963992 to 49.5966882
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-20T10:39:23.646.202.000 to 2021-08-20T10:39:23.646.491.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 = 6, 32bit 10MHz counter = 8.432175200 corrected by 40bit 10MHz counter of 7.950332000 obtained at 1Hz counter of 6. Result: 6.481844790
--
   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-08-20T10:38:42.481.701.725
   Max 1st sample MIU time among all SL packets: 2021-08-20T10:39:23.646.350.725
   Min 1st sample XO time among all SL packets: 6.481704515
   Max 1st sample XO time among all SL packets: 47.646353458
   TM values from -238 to 200 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-20T10:38:42.481.701.725 (XO: 6.481704515 - 6.482010516, t=37.2 degC)  Rank: 00085
   TM values: Max =   200  Min =  -238  Ave =    -4.57  Std =    17.96
   Min TM value:-238 at an offset of 130.688 usec -> 2021-08-20T10:38:42.481.832.412 (XO: 6.481835203)
   Max TM value:200 at an offset of 130.350 usec -> 2021-08-20T10:38:42.481.832.075 (XO: 6.481834865)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 128.238 usec -> 2021-08-20T10:38:42.481.829.962 (XO: 6.481832753)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 130.450 usec -> 2021-08-20T10:38:42.481.832.175 (XO: 6.481834965)

 - Block number: 2 starting at 2021-08-20T10:39:01.829.076.725 (XO: 25.829080444 - 25.829386445, t=37.2 degC)  Rank: 00077
   TM values: Max =   169  Min =  -219  Ave =    -4.44  Std =    19.64
   Min TM value:-219 at an offset of 129.888 usec -> 2021-08-20T10:39:01.829.206.612 (XO: 25.829210332)
   Max TM value:169 at an offset of 132.500 usec -> 2021-08-20T10:39:01.829.209.225 (XO: 25.829212944)
   Max dTM/dt [1/us]:1.38e+03 at an offset of 132.338 usec -> 2021-08-20T10:39:01.829.209.062 (XO: 25.829212782)
   Min dTM/dt [1/us]:-1.53e+03 at an offset of 129.725 usec -> 2021-08-20T10:39:01.829.206.450 (XO: 25.829210169)

 - Block number: 3 starting at 2021-08-20T10:39:11.237.781.725 (XO: 35.237783510 - 35.238089511, t=37.2 degC)  Rank: 00080
   TM values: Max =   178  Min =  -218  Ave =    -4.44  Std =    20.21
   Min TM value:-218 at an offset of 127.400 usec -> 2021-08-20T10:39:11.237.909.125 (XO: 35.237910910)
   Max TM value:178 at an offset of 130.088 usec -> 2021-08-20T10:39:11.237.911.812 (XO: 35.237913598)
   Max dTM/dt [1/us]:1.40e+03 at an offset of 129.900 usec -> 2021-08-20T10:39:11.237.911.625 (XO: 35.237913410)
   Min dTM/dt [1/us]:-1.36e+03 at an offset of 127.163 usec -> 2021-08-20T10:39:11.237.908.887 (XO: 35.237910673)

 - Block number: 4 starting at 2021-08-20T10:39:23.646.061.725 (XO: 47.646064457 - 47.646370458, t=37.2 degC)  Rank: 00091
   TM values: Max =   188  Min =  -224  Ave =    -4.45  Std =    25.44
   Min TM value:-224 at an offset of 174.701 usec -> 2021-08-20T10:39:23.646.236.425 (XO: 47.646239158)
   Max TM value:188 at an offset of 174.401 usec -> 2021-08-20T10:39:23.646.236.125 (XO: 47.646238858)
   Max dTM/dt [1/us]:1.58e+03 at an offset of 159.176 usec -> 2021-08-20T10:39:23.646.220.900 (XO: 47.646223633)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 174.513 usec -> 2021-08-20T10:39:23.646.236.238 (XO: 47.646238970)
