-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jun  8 04:20:55 2021 UTC
-- File 20210608_040845_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 1.817610 to 50.669446
-each separately from 1s to 50s and from 110518us to 817899us.
   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, ...
      23.648098 in 1 packets: 18
      6.644232 in 1 packets: 36
      18.558350 in 1 packets: 54
MIU packet time from 2021-06-08T04:08:49.817.610.000 to 2021-06-08T04:09:38.669.446.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, ...
      23.648098 in 1 packets: 18
      6.644232 in 1 packets: 36
      18.558350 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 2.9305724 to 51.9304009
   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, ...
      23.9999160 in 1 packets: 18
      6.9999754 in 1 packets: 36
      17.9999371 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      06 -> 47.2 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C0 -> 35.6 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 20210608_040845_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:
      7 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.7481823 to 3.7484713
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.6480150  -- OK for SL --
   MIU time from 2021-06-08T04:08:49.817.610.000 to 2021-06-08T04:08:49.817.899.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.648098

 - 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:
      9 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.3964863 to 27.3967753
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.6442070  -- OK for SL --
   MIU time from 2021-06-08T04:09:13.465.997.000 to 2021-06-08T04:09:13.466.286.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.644232

 - 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:
      7 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.0409823 to 34.0412713
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.5582870  -- OK for SL --
   MIU time from 2021-06-08T04:09:20.110.518.000 to 2021-06-08T04:09:20.110.807.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.558350

 - 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:
      7 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.5995583 to 52.5998473
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-08T04:09:38.669.157.000 to 2021-06-08T04:09:38.669.446.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 = 1, 32bit 10MHz counter = 3.748182300 corrected by 40bit 10MHz counter of 2.930572400 obtained at 1Hz counter of 1. Result: 1.817612762
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2021-06-08T04:08:49.817.469.725
   Max 1st sample MIU time among all SL packets: 2021-06-08T04:09:38.669.305.725
   Min 1st sample XO time among all SL packets: 1.817472486
   Max 1st sample XO time among all SL packets: 50.669308535
   TM values from -37 to 29 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-08T04:08:49.817.469.725 (XO: 1.817472486 - 1.817778487, t=35.6 degC)  Rank: 00007
   TM values: Max =    26  Min =   -35  Ave =    -4.45  Std =     9.31
   Min TM value:-35 at an offset of 135.538 usec -> 2021-06-08T04:08:49.817.605.262 (XO: 1.817608024)
   Max TM value:26 at an offset of 184.826 usec -> 2021-06-08T04:08:49.817.654.550 (XO: 1.817657312)
   Max dTM/dt [1/us]:3.51e+02 at an offset of 126.638 usec -> 2021-06-08T04:08:49.817.596.362 (XO: 1.817599124)
   Min dTM/dt [1/us]:-3.64e+02 at an offset of 183.913 usec -> 2021-06-08T04:08:49.817.653.638 (XO: 1.817656399)

 - Block number: 2 starting at 2021-06-08T04:09:13.465.856.725 (XO: 25.465859256 - 25.466165257, t=35.6 degC)  Rank: 00009
   TM values: Max =    26  Min =   -37  Ave =    -4.42  Std =    10.98
   Min TM value:-37 at an offset of 122.875 usec -> 2021-06-08T04:09:13.465.979.600 (XO: 25.465982131)
   Max TM value:26 at an offset of 221.388 usec -> 2021-06-08T04:09:13.466.078.113 (XO: 25.466080644)
   Max dTM/dt [1/us]:5.02e+02 at an offset of 118.438 usec -> 2021-06-08T04:09:13.465.975.162 (XO: 25.465977693)
   Min dTM/dt [1/us]:-5.14e+02 at an offset of 118.363 usec -> 2021-06-08T04:09:13.465.975.087 (XO: 25.465977618)

 - Block number: 3 starting at 2021-06-08T04:09:20.110.377.725 (XO: 32.110378611 - 32.110684612, t=35.6 degC)  Rank: 00007
   TM values: Max =    20  Min =   -31  Ave =    -4.45  Std =     7.12
   Min TM value:-31 at an offset of 122.750 usec -> 2021-06-08T04:09:20.110.500.475 (XO: 32.110501362)
   Max TM value:20 at an offset of 103.688 usec -> 2021-06-08T04:09:20.110.481.412 (XO: 32.110482299)
   Max dTM/dt [1/us]:3.03e+02 at an offset of 152.051 usec -> 2021-06-08T04:09:20.110.529.775 (XO: 32.110530662)
   Min dTM/dt [1/us]:-2.94e+02 at an offset of 189.688 usec -> 2021-06-08T04:09:20.110.567.413 (XO: 32.110568299)

 - Block number: 4 starting at 2021-06-08T04:09:38.669.016.725 (XO: 50.669019533 - 50.669325535, t=35.6 degC)  Rank: 00007
   TM values: Max =    29  Min =   -36  Ave =    -4.45  Std =     9.53
   Min TM value:-36 at an offset of 145.413 usec -> 2021-06-08T04:09:38.669.162.138 (XO: 50.669164946)
   Max TM value:29 at an offset of 120.388 usec -> 2021-06-08T04:09:38.669.137.112 (XO: 50.669139921)
   Max dTM/dt [1/us]:3.93e+02 at an offset of 174.713 usec -> 2021-06-08T04:09:38.669.191.438 (XO: 50.669194247)
   Min dTM/dt [1/us]:-3.74e+02 at an offset of 163.401 usec -> 2021-06-08T04:09:38.669.180.125 (XO: 50.669182934)
