-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec 10 01:22:35 2021 UTC
-- File 20210808_171330_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 14.929623 to 37.291413
-each separately from 14s to 37s and from 291124us to 929912us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.650051 in 1 packets: 18
      16.710872 in 1 packets: 36
MIU packet time from 2021-08-08T17:13:47.929.623.000 to 2021-08-08T17:14:10.291.413.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.650051 in 1 packets: 18
      16.710872 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 15.8929213 to 38.8928440
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.9999799 in 1 packets: 18
      16.9999428 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 36 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 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210808_171330_1227.dat, 3 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:
      64 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.8225448 to 16.8228338
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.6500310  -- OK for SL --
   MIU time from 2021-08-08T17:13:47.929.623.000 to 2021-08-08T17:13:47.929.912.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.650051

 - 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 22.4728648 to 22.4731538
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.7108150  -- OK for SL --
   MIU time from 2021-08-08T17:13:53.579.963.000 to 2021-08-08T17:13:53.580.252.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.710872

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.1839688 to 39.1842578
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-08T17:14:10.291.124.000 to 2021-08-08T17:14:10.291.413.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 14, 32bit 10MHz counter = 16.822544800 corrected by 40bit 10MHz counter of 15.892921300 obtained at 1Hz counter of 14. Result: 14.929626568
--
   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-08T17:13:47.929.482.725
   Max 1st sample MIU time among all SL packets: 2021-08-08T17:14:10.291.272.725
   Min 1st sample XO time among all SL packets: 14.929486292
   Max 1st sample XO time among all SL packets: 37.291274515
   TM values from -296 to 259 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-08T17:13:47.929.482.725 (XO: 14.929486292 - 14.929792293, t=37.2 degC)  Rank: 00064
   TM values: Max =   259  Min =  -296  Ave =    -4.39  Std =    31.18
   Min TM value:-296 at an offset of 115.900 usec -> 2021-08-08T17:13:47.929.598.625 (XO: 14.929602193)
   Max TM value:259 at an offset of 115.663 usec -> 2021-08-08T17:13:47.929.598.387 (XO: 14.929601955)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 118.238 usec -> 2021-08-08T17:13:47.929.600.962 (XO: 14.929604530)
   Min dTM/dt [1/us]:-2.63e+03 at an offset of 115.713 usec -> 2021-08-08T17:13:47.929.598.437 (XO: 14.929602005)

 - Block number: 2 starting at 2021-08-08T17:13:53.579.822.725 (XO: 20.579825296 - 20.580131297, t=37.2 degC)  Rank: 00077
   TM values: Max =   253  Min =  -288  Ave =    -4.40  Std =    25.34
   Min TM value:-288 at an offset of 110.225 usec -> 2021-08-08T17:13:53.579.932.950 (XO: 20.579935522)
   Max TM value:253 at an offset of 112.788 usec -> 2021-08-08T17:13:53.579.935.512 (XO: 20.579938084)
   Max dTM/dt [1/us]:2.32e+03 at an offset of 112.663 usec -> 2021-08-08T17:13:53.579.935.387 (XO: 20.579937959)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 110.063 usec -> 2021-08-08T17:13:53.579.932.787 (XO: 20.579935359)

 - Block number: 3 starting at 2021-08-08T17:14:10.290.983.725 (XO: 37.290985514 - 37.291291515, t=37.2 degC)  Rank: 00073
   TM values: Max =   248  Min =  -288  Ave =    -4.32  Std =    30.34
   Min TM value:-288 at an offset of 113.113 usec -> 2021-08-08T17:14:10.291.096.837 (XO: 37.291098627)
   Max TM value:248 at an offset of 110.913 usec -> 2021-08-08T17:14:10.291.094.637 (XO: 37.291096427)
   Max dTM/dt [1/us]:2.44e+03 at an offset of 115.475 usec -> 2021-08-08T17:14:10.291.099.200 (XO: 37.291100990)
   Min dTM/dt [1/us]:-2.44e+03 at an offset of 112.938 usec -> 2021-08-08T17:14:10.291.096.662 (XO: 37.291098452)
