-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 27 02:53:00 2021 UTC
-- File 20210827_162155_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.250734 to 56.199017
-each separately from 5s to 56s and from 198728us to 353172us.
   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.101860 in 1 packets: 18
      22.943259 in 1 packets: 36
      16.902008 in 1 packets: 54
MIU packet time from 2021-08-27T16:22:03.250.734.000 to 2021-08-27T16:22:54.199.017.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.101860 in 1 packets: 18
      22.943259 in 1 packets: 36
      16.902008 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.9375981 to 57.9374283
   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
      22.9999234 in 1 packets: 36
      16.9999435 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20210827_162155_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.1883332 to 7.1886222
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.1018230  -- OK for SL --
   MIU time from 2021-08-27T16:22:03.250.734.000 to 2021-08-27T16:22:03.251.023.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.101860

 - 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 18.2904452 to 18.2907342
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.9431830  -- OK for SL --
   MIU time from 2021-08-27T16:22:14.352.883.000 to 2021-08-27T16:22:14.353.172.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.943259

 - 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 41.2339172 to 41.2342062
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.9019510  -- OK for SL --
   MIU time from 2021-08-27T16:22:37.296.431.000 to 2021-08-27T16:22:37.296.720.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.902008

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.1361572 to 58.1364462
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-27T16:22:54.198.728.000 to 2021-08-27T16:22:54.199.017.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 = 7.188333200 corrected by 40bit 10MHz counter of 6.937598100 obtained at 1Hz counter of 5. Result: 5.250735927
--
   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-08-27T16:22:03.250.593.725
   Max 1st sample MIU time among all SL packets: 2021-08-27T16:22:54.198.876.725
   Min 1st sample XO time among all SL packets: 5.250595652
   Max 1st sample XO time among all SL packets: 56.198878281
   TM values from -276 to 236 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-27T16:22:03.250.593.725 (XO: 5.250595652 - 5.250901653, t=37.2 degC)  Rank: 00078
   TM values: Max =   212  Min =  -246  Ave =    -4.55  Std =    23.23
   Min TM value:-246 at an offset of 123.825 usec -> 2021-08-27T16:22:03.250.717.550 (XO: 5.250719477)
   Max TM value:212 at an offset of 124.063 usec -> 2021-08-27T16:22:03.250.717.787 (XO: 5.250719715)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 123.913 usec -> 2021-08-27T16:22:03.250.717.637 (XO: 5.250719565)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 121.363 usec -> 2021-08-27T16:22:03.250.715.087 (XO: 5.250717015)

 - Block number: 2 starting at 2021-08-27T16:22:14.352.742.725 (XO: 16.352744689 - 16.353050690, t=37.2 degC)  Rank: 00079
   TM values: Max =   231  Min =  -276  Ave =    -4.54  Std =    24.87
   Min TM value:-276 at an offset of 125.825 usec -> 2021-08-27T16:22:14.352.868.550 (XO: 16.352870514)
   Max TM value:231 at an offset of 125.550 usec -> 2021-08-27T16:22:14.352.868.275 (XO: 16.352870239)
   Max dTM/dt [1/us]:2.29e+03 at an offset of 128.238 usec -> 2021-08-27T16:22:14.352.870.962 (XO: 16.352872927)
   Min dTM/dt [1/us]:-2.70e+03 at an offset of 125.700 usec -> 2021-08-27T16:22:14.352.868.425 (XO: 16.352870389)

 - Block number: 3 starting at 2021-08-27T16:22:37.296.290.725 (XO: 39.296293103 - 39.296599104, t=37.2 degC)  Rank: 00080
   TM values: Max =   236  Min =  -262  Ave =    -4.50  Std =    25.19
   Min TM value:-262 at an offset of 126.750 usec -> 2021-08-27T16:22:37.296.417.475 (XO: 39.296419853)
   Max TM value:236 at an offset of 124.250 usec -> 2021-08-27T16:22:37.296.414.975 (XO: 39.296417353)
   Max dTM/dt [1/us]:2.55e+03 at an offset of 126.875 usec -> 2021-08-27T16:22:37.296.417.600 (XO: 39.296419978)
   Min dTM/dt [1/us]:-2.68e+03 at an offset of 124.350 usec -> 2021-08-27T16:22:37.296.415.075 (XO: 39.296417453)

 - Block number: 4 starting at 2021-08-27T16:22:54.198.587.725 (XO: 56.198589280 - 56.198895281, t=37.2 degC)  Rank: 00077
   TM values: Max =   214  Min =  -247  Ave =    -4.52  Std =    22.11
   Min TM value:-247 at an offset of 110.213 usec -> 2021-08-27T16:22:54.198.697.937 (XO: 56.198699493)
   Max TM value:214 at an offset of 123.338 usec -> 2021-08-27T16:22:54.198.711.062 (XO: 56.198712618)
   Max dTM/dt [1/us]:2.37e+03 at an offset of 125.988 usec -> 2021-08-27T16:22:54.198.713.712 (XO: 56.198715268)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 123.450 usec -> 2021-08-27T16:22:54.198.711.175 (XO: 56.198712731)
