-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec 16 11:26:59 2021 UTC
-- File 20210814_230856_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 5.080764 to 55.099428
-each separately from 5s to 55s and from 80764us to 933154us.
   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, ...
      11.851812 in 1 packets: 18
      16.898696 in 1 packets: 36
      21.267000 in 1 packets: 54
MIU packet time from 2021-08-14T23:09:04.080.764.000 to 2021-08-14T23:09:54.099.428.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, ...
      11.851812 in 1 packets: 18
      16.898696 in 1 packets: 36
      21.267000 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 6.8302674 to 56.8301008
   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.9999633 in 1 packets: 18
      16.9999434 in 1 packets: 36
      21.9999267 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 20210814_230856_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.9110325 to 6.9113215
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.8517750  -- OK for SL --
   MIU time from 2021-08-14T23:09:04.080.764.000 to 2021-08-14T23:09:04.081.053.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.851812

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.7630965 to 18.7633855
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8986390  -- OK for SL --
   MIU time from 2021-08-14T23:09:15.932.865.000 to 2021-08-14T23:09:15.933.154.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.898696

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.6620245 to 35.6623135
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.2669270  -- OK for SL --
   MIU time from 2021-08-14T23:09:32.831.850.000 to 2021-08-14T23:09:32.832.139.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.267000

 - 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 56.9292405 to 56.9295295
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-14T23:09:54.099.139.000 to 2021-08-14T23:09:54.099.428.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 = 5, 32bit 10MHz counter = 6.911032500 corrected by 40bit 10MHz counter of 6.830267400 obtained at 1Hz counter of 5. Result: 5.080765375
--
   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-14T23:09:04.080.623.725
   Max 1st sample MIU time among all SL packets: 2021-08-14T23:09:54.099.287.725
   Min 1st sample XO time among all SL packets: 5.080625099
   Max 1st sample XO time among all SL packets: 55.099288753
   TM values from -260 to 224 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-14T23:09:04.080.623.725 (XO: 5.080625099 - 5.080931100, t=37.2 degC)  Rank: 00080
   TM values: Max =   206  Min =  -239  Ave =    -4.49  Std =    20.43
   Min TM value:-239 at an offset of 125.263 usec -> 2021-08-14T23:09:04.080.748.987 (XO: 5.080750362)
   Max TM value:206 at an offset of 124.975 usec -> 2021-08-14T23:09:04.080.748.700 (XO: 5.080750075)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 127.688 usec -> 2021-08-14T23:09:04.080.751.412 (XO: 5.080752787)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 125.075 usec -> 2021-08-14T23:09:04.080.748.800 (XO: 5.080750175)

 - Block number: 2 starting at 2021-08-14T23:09:15.932.724.725 (XO: 16.932728603 - 16.933034604, t=37.2 degC)  Rank: 00082
   TM values: Max =   216  Min =  -260  Ave =    -4.47  Std =    27.44
   Min TM value:-260 at an offset of 117.913 usec -> 2021-08-14T23:09:15.932.842.637 (XO: 16.932846516)
   Max TM value:216 at an offset of 117.600 usec -> 2021-08-14T23:09:15.932.842.325 (XO: 16.932846203)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 120.263 usec -> 2021-08-14T23:09:15.932.844.987 (XO: 16.932848866)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 192.826 usec -> 2021-08-14T23:09:15.932.917.550 (XO: 16.932921429)

 - Block number: 3 starting at 2021-08-14T23:09:32.831.709.725 (XO: 33.831712870 - 33.832018871, t=37.2 degC)  Rank: 00078
   TM values: Max =   215  Min =  -249  Ave =    -4.45  Std =    20.24
   Min TM value:-249 at an offset of 127.913 usec -> 2021-08-14T23:09:32.831.837.637 (XO: 33.831840783)
   Max TM value:215 at an offset of 130.475 usec -> 2021-08-14T23:09:32.831.840.200 (XO: 33.831843345)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 130.338 usec -> 2021-08-14T23:09:32.831.840.062 (XO: 33.831843208)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 127.788 usec -> 2021-08-14T23:09:32.831.837.512 (XO: 33.831840658)

 - Block number: 4 starting at 2021-08-14T23:09:54.098.998.725 (XO: 55.098999752 - 55.099305753, t=37.2 degC)  Rank: 00080
   TM values: Max =   224  Min =  -255  Ave =    -4.50  Std =    25.52
   Min TM value:-255 at an offset of 113.988 usec -> 2021-08-14T23:09:54.099.112.712 (XO: 55.099113740)
   Max TM value:224 at an offset of 116.588 usec -> 2021-08-14T23:09:54.099.115.312 (XO: 55.099116340)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 111.763 usec -> 2021-08-14T23:09:54.099.110.487 (XO: 55.099111515)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 113.863 usec -> 2021-08-14T23:09:54.099.112.587 (XO: 55.099113615)
