-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec 16 06:28:52 2021 UTC
-- File 20210814_162947_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 12.860961 to 55.543330
-each separately from 12s to 55s and from 543041us to 941597us.
   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, ...
      8.080058 in 1 packets: 18
      14.860321 in 1 packets: 36
      19.740834 in 1 packets: 54
MIU packet time from 2021-08-14T16:30:02.860.961.000 to 2021-08-14T16:30:45.543.330.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, ...
      8.080058 in 1 packets: 18
      14.860321 in 1 packets: 36
      19.740834 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 13.9008286 to 56.9006845
   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, ...
      7.9999731 in 1 packets: 18
      14.9999498 in 1 packets: 36
      19.9999330 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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_162947_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 14.7617899 to 14.7620789
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.0800310  -- OK for SL --
   MIU time from 2021-08-14T16:30:02.860.961.000 to 2021-08-14T16:30:02.861.250.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.080058

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.8421099 to 22.8423989
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8602710  -- OK for SL --
   MIU time from 2021-08-14T16:30:10.941.308.000 to 2021-08-14T16:30:10.941.597.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.860321

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.7026699 to 37.7029589
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7407670  -- OK for SL --
   MIU time from 2021-08-14T16:30:25.801.918.000 to 2021-08-14T16:30:25.802.207.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.740834

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.4437259 to 57.4440149
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-14T16:30:45.543.041.000 to 2021-08-14T16:30:45.543.330.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 = 12, 32bit 10MHz counter = 14.761789900 corrected by 40bit 10MHz counter of 13.900828600 obtained at 1Hz counter of 12. Result: 12.860964227
--
   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-14T16:30:02.860.820.725
   Max 1st sample MIU time among all SL packets: 2021-08-14T16:30:45.543.189.725
   Min 1st sample XO time among all SL packets: 12.860823952
   Max 1st sample XO time among all SL packets: 55.543191972
   TM values from -283 to 234 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-14T16:30:02.860.820.725 (XO: 12.860823952 - 12.861129953, t=37.2 degC)  Rank: 00082
   TM values: Max =   225  Min =  -252  Ave =    -4.37  Std =    22.47
   Min TM value:-252 at an offset of 92.463 usec -> 2021-08-14T16:30:02.860.913.187 (XO: 12.860916415)
   Max TM value:225 at an offset of 95.100 usec -> 2021-08-14T16:30:02.860.915.825 (XO: 12.860919052)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 94.988 usec -> 2021-08-14T16:30:02.860.915.712 (XO: 12.860918940)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 92.313 usec -> 2021-08-14T16:30:02.860.913.037 (XO: 12.860916265)

 - Block number: 2 starting at 2021-08-14T16:30:10.941.167.725 (XO: 20.941171031 - 20.941477032, t=37.2 degC)  Rank: 00075
   TM values: Max =   218  Min =  -283  Ave =    -4.33  Std =    21.04
   Min TM value:-283 at an offset of 110.913 usec -> 2021-08-14T16:30:10.941.278.637 (XO: 20.941281944)
   Max TM value:218 at an offset of 110.613 usec -> 2021-08-14T16:30:10.941.278.337 (XO: 20.941281644)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 113.288 usec -> 2021-08-14T16:30:10.941.281.012 (XO: 20.941284319)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 110.700 usec -> 2021-08-14T16:30:10.941.278.425 (XO: 20.941281731)

 - Block number: 3 starting at 2021-08-14T16:30:25.801.777.725 (XO: 35.801780851 - 35.802086852, t=37.2 degC)  Rank: 00077
   TM values: Max =   214  Min =  -262  Ave =    -4.48  Std =    30.00
   Min TM value:-262 at an offset of 105.113 usec -> 2021-08-14T16:30:25.801.882.837 (XO: 35.801885964)
   Max TM value:214 at an offset of 107.763 usec -> 2021-08-14T16:30:25.801.885.487 (XO: 35.801888614)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 107.575 usec -> 2021-08-14T16:30:25.801.885.300 (XO: 35.801888426)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 164.126 usec -> 2021-08-14T16:30:25.801.941.850 (XO: 35.801944977)

 - Block number: 4 starting at 2021-08-14T16:30:45.542.900.725 (XO: 55.542902971 - 55.543208972, t=37.2 degC)  Rank: 00072
   TM values: Max =   234  Min =  -276  Ave =    -4.50  Std =    26.58
   Min TM value:-276 at an offset of 68.225 usec -> 2021-08-14T16:30:45.542.968.950 (XO: 55.542971196)
   Max TM value:234 at an offset of 80.763 usec -> 2021-08-14T16:30:45.542.981.487 (XO: 55.542983734)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 83.463 usec -> 2021-08-14T16:30:45.542.984.187 (XO: 55.542986434)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 80.863 usec -> 2021-08-14T16:30:45.542.981.587 (XO: 55.542983834)
